Tuesday, July 5, 2016

Setting up your Windows PC to support SharePoint Online management shell:


8


  1. Install Windows Management Framework 3.0 in your computer by downloading it from the below mentioned link.

http://ift.tt/1MMFGJw

  1. Click on the download button on the link above and you will get a list of files to download as shown in the image below. Choose the one that best suits your operating system. In my case I installed KB2506143

                               For 32-bit operating system choose: x86

                              For 64-bit operating system choose: x64

1

3. Once you’re done downloading the appropriate file go ahead and install it in your computer. You will be prompted for a system restart to complete the installation.

4. The next step would be to install the “SharePoint Online Management Shell “module, please download that from the below mentioned link.

http://ift.tt/1U6C1uf

5. Click on the download button on the link above and you will get two files to download as shown in the image below. Choose the one that best suits your operating system.

                For 32-bit operating system choose: x86

                For 64-bit operating system choose: x64

26. Once you’re done downloading the appropriate file go ahead and install it in your computer. You won’t be prompted for a system restart this time.

7. After that’s done, Click Start–>All Programs–>Check for SharePoint Online Management Shell.

3

8. Open “SharePoint Online Management Shell”, and type the below mentioned command to connect to your SharePoint Online subscription and hit enter.

Connect-SPOService -Url http://ift.tt/29gjiLo -credential    vigganesan89@vigx.onmicrosoft.com

Note: Please note that the account which you’re using here should have SharePoint Online administration access. Else you won’t get the desired result

9. Where URL is the URL of your “SharePoint Online admin center “and the credential is your Office 365 account name and password.

Note: Please check the SharePoint Online admin center screenshot below, you can find the admin center url in the address field

4

10. Once you hit enter you will get a dialog box as shown below prompting for your Office 365 user name and password. Please go ahead and enter that and click on ok and be patient.

5.png

11. If the command succeeded it won’t return anything, else it will yell at you with bunch of errors (that’s the funny part about PowerShell!!!) .Here in my case, the command succeeded and hence it didn’t return anything.

6

12. Now in order to confirm whether you have successfully logged into SharePoint Online management shell, please go ahead and run the “Get-SPOSite” command and see if it returns the list of all SharePoint Online sites as shown in the image below.

7

Finally we are done with the task of setting up a SharePoint Online Management Shell environment.

Thanks for reading. Happy SharePointing!!!


by Vignesh Ganesan via Everyone's Blog Posts - SharePoint Community

No comments:

Post a Comment