Forum Discussion
ceyoung1223
Mar 18, 2021Copper Contributor
Creating a SharePoint site using PowerShell script
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?
- Hi
Assuming your using the command Connect-SPOService, just add admin as part of the address e.g. "Connect-SPOService https://contoso-admin.sharepoint.com" - but even with an E5 license, you will still need SharePoint admin role.- CarolynEYoungCopper ContributorThank you! This worked perfectly.
- ArefHalmstrandSteel ContributorAs Paul mentioned, that should 100% solve your issue.
Here is a link to a video about provisioning SharePoint sites:
https://www.youtube.com/watch?v=yQzIIRuPb8Q&t=1s&ab_channel=ArefHalmstrand- CarolynEYoungCopper ContributorThank you for sending the YouTube link. Appreciate it!