Creating a SharePoint site using PowerShell script

Copper Contributor

Hello!  I have an E5 developer subscription, and I wanted to create a SharePoint site using a PowerShell script, but I received an error message stating the "current site is not a tenant administration site".  I thought this license would afford creating sites as an admin.  Is that not true?

4 Replies

Assuming your using the command Connect-SPOService, just add admin as part of the address e.g. "Connect-SPOService" - but even with an E5 license, you will still need SharePoint admin role.
As Paul mentioned, that should 100% solve your issue.

Here is a link to a video about provisioning SharePoint sites:
Thank you! This worked perfectly.
Thank you for sending the YouTube link. Appreciate it!