Forum Discussion
JoostvdLinden
Oct 11, 2023Brass Contributor
SharePoint REST API - Get StorageQuotas from tenant admin site using managed identity
Hi everybody, I would like to automate the process of sending alerts when the SharePoint tenant storage quota reaches certain level of thresholds. I have found that I can perform a GET call o...
Oct 11, 2023
So the issue is you have not done the correct permission registration, you need to use the Add-in method for rest api:
https://learn.microsoft.com/en-us/sharepoint/dev/solution-guidance/security-apponly-azureacs
https://learn.microsoft.com/en-us/sharepoint/dev/solution-guidance/security-apponly-azureacs