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 -Credential $credentials
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Connect-SPOService], ServerException
+ FullyQualifiedErrorId : Microsoft.SharePoint.Client.ServerException,Microsoft.Online.SharePoint.PowerShell.Con

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: (assuming that your sharepoint online site is Therefore, then whole Powershell script would be:

Connect-SPOService -Url -credential

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 to the end and you’ll be prompted to log in.

Install Project Template in Visual Studio 2012 for Sharepoint 2013 Apps / Add-Ons

Posted on

Download following components to get start with Sharepoint apps development.

Microsoft Exchange Web Services:

Click on the following link to download VS2012 project template to get start with the development of Sharepoint 2013 / O365 version.

Microsoft Identity Extensions

Workflow Manager Client 1.0

Microsoft Workflow Manger Tools

Working around with the error: An error occurred whilst trying to load some required components, Please ensure the following prerequisite components are installed.

Microsoft Web Developer Tools

Microsoft Exchange Web Services”

To get this error solved, Uninstall Microsoft Exchange Web Services from Control Panel, if its already installed. And navigate to the location of EwsManagedApi32.msi. In my case, its at: c:\Users\Zia\Download> In the command prompt, run

c:\Download> EwsManagedApi32.msi addlocal=”ExchangeWebServicesApi_Feature,ExchangeWebServicesApi_Gac”

It will initiate the installation wizard and I hope this will solve your problem.