cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cgru3eejc2
Advocate IV
Advocate IV

SharePoint site provisioning - set storage quota?

Hi,

I'm building a Flow to create Modern SharePoint sites via SharePoint API:

"/_api/SPSiteManager/Create"

"type\": \"Microsoft.SharePoint.Portal.SPSiteCreationRequest\"...

 

As we use manual site storage quota assignment - is there any possibility to set the site storage quota via SharePoint or Graph API in Flow?

I know the Storage Used and Storage Allocated can be read (GET).

https://docs.microsoft.com/en-us/graph/api/reportroot-getsharepointsiteusagedetail

 

With PowerShell and PnP I'm able to do it but I hope there's also an API to SET it?

 

Thanks,

Stefan

4 REPLIES 4
AKRogers
Helper V
Helper V

Hi Stefan,

 

Have you considered running the PowerShell to create a site and set the storage quota using Azure Automation and a runbook?  If you set up that piece you can then create a Flow with the action Azure--> Create Job to run PowerShell.  You can then allow your users or admins to run that Flow from within SharePoint, say from a site request list.

 

Take care!

 

Ashley

 

If this response provided an answer to your question please mark it as a solution.

If you liked my reply, please give it a thumbs up! Thank you!

Hi Ashley,

 

Thanks for your response. Setting the storage quota via PowerShell in an Azure Function or Runbook is my alternative as Plan B. Unfortunately it doesn't make things easier. So if there is the possibilitiy to do all in the Flow via API I of course would like to do it there.

 

Regards,

Stefan

jefmeyer
Regular Visitor

@cgru3eejc2 - I know this is an old post, but wondering if you ever found a solution?

Hi @jefmeyer - no unfortunately I didn't find an API. Did it in PowerShell (runbook) and call it from the Logic App

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022- Season 2 has kicked off!

Users online (2,426)