Error Occured: Current site is not a tenant administration site.

In this blog you will see how to resolve "Current site is not a tenant administration site" error when trying to connect to SharePoint Online site using PowerShell.

I was trying to connect to SharePoint Online using Powershell I was getting the following error 

 
 
Resolution:
 
Make sure the URL is the URL of the SharePoint Online Administration Center

Connect-SPOService -Url https://c986-admin.sharepoint.com/ -credential [email protected]