Wednesday, April 1, 2015

Use Powershell with SharePoint Online

Install Powershell on your machine

http://www.microsoft.com/en-us/download/details.aspx?id=40855

Install SharePoint Online Management Shell

http://www.microsoft.com/en-us/download/details.aspx?id=35588

Connect to SharePoint


Connect-SPOService -Url https://???????-admin.sharepoint.com -C
redential ?????@?????.onmicrosoft.com

I can't connect, I get the following error: "Current site is not a tenant administration site."
Fix: You must connect to the administration site. You're administration site will be something like this https://achme-admin.sharepoint.com