Update storage limit site
How to update the storage limit (and warning) level of a SharePoint Online site collection using a Power Automate flow.
URI
Headers
Body
Screenshot with example
Sample data
Site Address (Admin Centre Url) – https://contoso-admin.sharepoint.com
SiteId – 6ea2c231-eb96-46bf-b815-3bc10a40dd9b
MBs – 2048
WarningMBS – 2007
Copy/paste example
Resources
SiteProperties.StorageMaximumLevel property
SiteProperties.StorageWarningLevel property
That’s it, Happy testing!
interesting. i might need to play about with this and see if I can use this to perform some automation on increasing storage quota of sharepoint sites and teams sites.
If you have any follow-up questions Chris let me know 🙂
Thanks Dennis
I played around using the above API in my flow but keep getting below error the account that makes API call is a global admin
status”: 403,
“message”: “{\”odata.error\”:{\”code\”:\”-2147024891, System.UnauthorizedAccessException\”,\”message\”:{\”lang\”:\”en-US\”,\”value\”:\”Attempted to perform an unauthorized operation.\”}}}\r\nclientRequestId: d54fd13c-a3fb-47e6-bb9b-8d8918e4e7b1\r\nserviceRequestId: 933a29a1-40f1-5000-7242-ea1571e75114″,
Hi Ketan,
A couple of questions:
– Are you able to access the SharePoint Admin centre site and did you use that URL in the Site Address field?
– Did you double check you used the correct Site Id?
– Which value did you use for the MBs and WarningMBs? (the WarningMbs value needs to be lower than the MBs)
– Did you use the same Method and Headers as in the example?
Hi, i also tried this. for me Storage quota doesn’t change but warning level updated.. Could you please let me know the solution?