Forum Discussion
JoostvdLinden
Oct 11, 2023Copper 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...
LilyNMS
Mar 24, 2024Copper Contributor
Am having a similar issue, the error I get is
{"error_description":"ID3035: The request was not valid or is malformed."}
for the API
https://tenant-admin.sharepoint.com/_api/StorageQuotas()?api-version=1.3.2
JoostvdLinden
Mar 25, 2024Copper Contributor
Hi Lily,
In the meantime I managed to fix this myself. Do you have the SharePoint Administrator role assigned to the account you use to authenticate?
More info: https://sharepointnomad.wordpress.com/2020/06/29/office-365-storage-utilization-alerts-with-a-power-automate-workflow/
In the meantime I managed to fix this myself. Do you have the SharePoint Administrator role assigned to the account you use to authenticate?
More info: https://sharepointnomad.wordpress.com/2020/06/29/office-365-storage-utilization-alerts-with-a-power-automate-workflow/