Patrick Lamber
Patrick Lamber Microsoft Office Development MVP

How do I create an Office 365 modern site without Group in PowerShell?

I created a script using the SharePoint Online Management Shell to create a modern site without an Office 365 Group associated with it.

The script below is collecting some basic information about the site.

It creates a modern site without Office 365 Group by using the template value STS#3. The last command is going to set the external sharing with external identities without an anonymous link option.

comments powered by Disqus