Connect-SPOService not working?

Copper Contributor

Hi All, 

 We are having issues connecting to SharePoint Online via PowerShell using Connect-SPOService ?

 

We have tried reinstalling the Microsoft.Online.SharePoint.PowerShell module (v. 16.0.23508.12000) but continue to have the issue.

 

We are receiving the following error: Connect-SPOService : Site is not a tenant admin site.

 

when using:
Connect-SPOService -url https://<TenantDomain>-admin.sharepoint.com

 

We have even tried copying the URL from the Admin portal?

 

Has anyone else had this issue?

 

Thanks for any assistance!

 

 

 

1 Reply

@HLUALHT Strange issue!

 

Are you able to connect to SharePoint admin center using same URL with PnP PowerShell? Check if once just to make sure it works with it.


Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

For SharePoint/Power Platform blogs, visit: Ganesh Sanap Blogs