Working around with: Connect-SPOService : Current site is not a tenant administration site.

Posted on

For the “Current site is not a tenant administration site” error message, which may look like following:

Connect-SPOService : Current site is not a tenant administration site.
At line:1 char:1
+ Connect-SPOService -Url https://mysite.sharepoint.com -Credential $credentials
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Connect-SPOService], ServerException
+ FullyQualifiedErrorId : Microsoft.SharePoint.Client.ServerException,Microsoft.Online.SharePoint.PowerShell.Con
nectSPOService

You get this error because you’re not entering the URL for your “Sharepoint Online Administration Center” site… Which is typically your normal sharepoint online URL, but then with a -admin after it, such as:
https://mysite-admin.sharepoint.com (assuming that your sharepoint online site is https://mysite.sharepoint.com). Therefore, then whole Powershell script would be:

Connect-SPOService -Url https://mysite-admin.sharepoint.com -credential username@mysharepointsite.com

Encourage Author, Please share on – Just one Click Tribute!

 

NOTE: The -admin site is setup automatically. You don’t have to do anything. Just type in your sitename and then add the -admin.sharepoint.com to the end and you’ll be prompted to log in.

6 thoughts on “Working around with: Connect-SPOService : Current site is not a tenant administration site.

    Obs said:
    June 1, 2016 at 9:35 AM

    It worked. The ‘-admin’ was what I was missing. Thank you 🙂

    Rush said:
    October 25, 2016 at 10:58 AM

    Thanks. Worked for me.

    kingsley Ekoh said:
    October 6, 2017 at 9:41 AM

    Thanks, it worked for me

Leave a Reply

Your email address will not be published. Required fields are marked *