Forum Discussion

Niklas Babel's avatar
Niklas Babel
Copper Contributor
Nov 29, 2017

Create a SharePoint site for each Business Unit

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
    • Niklas Babel's avatar
      Niklas Babel
      Copper Contributor

      Thanks a lot for your help here!

       

      Can you recommend me a good starting point?

      Is this here: https://docs.microsoft.com/en-us/powershell/sharepoint/sharepoint-pnp/sharepoint-pnp-cmdlets?view=sharepoint-ps the right way to start with?

       

      Cheers! :)

Resources