#powershell

Powershell - Connect to Sharepont Online (Office 365)

download/install Sharepoint Online Management Shell . set Powershell Execution Policy ( Set-ExecutionPolicy unresctricted )  run the followind Script $adminUPN=" YOUR_ADMIN_USER_EMAIL " $orgName=" YOUR_COMPANY_SHAREPOINT_NAME " $userCredential = Get-Credential -UserName $adminUPN -Message "Type the password." Connect-SPOService -Url "https://$orgName-admin.sharepoint.com" -Credential $userCredential

  • Posted on 15 August, 2017
  • by Administrator