Apr 03 2019 11:38 AM - edited Apr 03 2019 11:41 AM
I am running this command with SharePoint Online PowerShell:
Connect-SPOService -Url "https://$orgName-admin.sharepoint.com" -Credential $userCredential
Most of the time I get this error:
Connect-SPOService : '=' is an unexpected token. The expected token is ';'.
If I try again and again, it eventually goes through. This also happens with other commands.
What could be the issue here?