Get-SPOTenant : Access denied. You do not have permission to perform this action or access this reso

Copper Contributor

Hello Community,

I'm a SharePoint admin in my organization and whenever I run commands, for instance, Get-SPOTenant, I get this error message. I'm able to connect to the admin site without an issue, but after that whenever I run another command, the error shows in Powershell. Any suggestions/comments will be greatly appreciated.

2 Replies

Hui @bgrede ,

 

Just to make sure you are sharepoint online admin?

@gabormicskei Yes, I'm a SharePoint online admin. Do I need to perform any additional steps prior to running PowerShell commands?