1- download SharePoint Online Management Shell on your local machine.
Download SharePoint Online Management Shell
2- once this is installed, you will find an icon for Powershell Online.
3- click on that icon.
4- before you execute any command for SharePoint online. run the below command
Connect-SPOService –url $siteCollectionUrl –Credential $O365Credential
6-Note: I was facing an error while executing the above command. i took the help from microsoft office 356 community. see the link below.
Help from office 365 community
7- Finally i got it run. after executing the step 4. i ran the below command.
$cred = [System.Net.CredentialCache]::DefaultCredentials
[System.Net.WebRequest]::DefaultWebProxy.Credentials = $cred
8- then i ran the command in step 5 and i was able to connect to SharePoint Online powershell.
Download SharePoint Online Management Shell
2- once this is installed, you will find an icon for Powershell Online.
3- click on that icon.
4- before you execute any command for SharePoint online. run the below command
Import-Module
Microsoft.Online.SharePoint.PowerShell
-DisableNameChecking
5- With SharePoint 2013 online you need to connect to your tenant administration
site to be able to do anything.Connect-SPOService –url $siteCollectionUrl –Credential $O365Credential
6-Note: I was facing an error while executing the above command. i took the help from microsoft office 356 community. see the link below.
Help from office 365 community
7- Finally i got it run. after executing the step 4. i ran the below command.
$cred = [System.Net.CredentialCache]::DefaultCredentials
[System.Net.WebRequest]::DefaultWebProxy.Credentials = $cred
8- then i ran the command in step 5 and i was able to connect to SharePoint Online powershell.
No comments:
Post a Comment