Question

With SP2010, we had our site provisioning process on the server. Now, with SharePoint Online, we have no servers anymore, we got PnP provisioning, that is great, but now I wonder, can I put the PnP scripts, so they run also in the cloud? I found this guide, but I am a little worried about the costs. The article doesn't mention this, but as far as I know, Azure is not free, and I am not allowed to do changes in the tenant that involve any extra cost. Or, at least, I need to inform my team in advance, before doing such things.
Can somebody please tell me, is it safe to do this (and similar) tutorials, because there's always a warning when I try to use a paid feature? Or will I get a surprise bill eventually?

Was it helpful?

Solution

I do my provisioning for SharePoint online with Azure Functions and for me the cost has been nothing or cents in small environments. It all depends on your usage. You only pay for what you use and you get free usage every month: https://azure.microsoft.com/en-us/pricing/details/functions/

The only downside of an Azure Function is the maximal runtime of 5 minutes by default which you can extend to 10 minutes in the properties. You need to architect your solution to remain well within this limit.

Another option is to use Azure Automation. I haven't used that, but it could work.

OTHER TIPS

You can still use your on-premises servers to do remote provisioning to SharePoint Online. They just need connectivity to the Internet. Azure's just a place to host your code. If it doesn't make sense for your needs then you don't have to use it.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top