Forum Discussion
escupham
Oct 05, 2016Iron Contributor
What O365 roles can run PowerShell scripts?
I see the documentation, "To use SharePoint Online PowerShell commands, you must be a SharePoint Online global administrator."
Does this imply that a person who needs to run powershell scripts for SPO have both the Global Admin and SharePoint Admin roles? Or is the SharePoint Admin role sufficient to be able to run SPO Powershell commands?
7 Replies
- IMHO, it should be enough if you are a SharePoint Admin
- Brent EllisSilver ContributorYou can even do it at just the Site Collection Admin level if need be (for a particular site collection).
Global Admin is only needed for a few things, if you start crossing into OneDrive scripting, or things that require you to touch the -admin site collection for example.- escuphamIron Contributor
Do you have to be a global admin to enable licenses (like SPO) via PowerShell?