Create a SharePoint site for each Business Unit

Copper Contributor

Dear Community,

 

I'm currently looking for a way to automate the creation of SharePoint websites/sites for each time a Business Unit is created in Dynamics.

 

I tried it via Flow, but it doesn't give the possibility to access the Busness Unit entity.

 

 

Thanks a lot for any tips to achieve this.

 

Best,

Niklas

2 Replies
I use an azure Function written in PowerShell which uses the PNP PowerShell library to create the site. Then you can call this with flow

Thanks a lot for your help here!

 

Can you recommend me a good starting point?

Is this here: SharePoint Patterns and Practices (PnP) Cmdlets the right way to start with?

 

Cheers! 🙂