Random error with SharePoint Online PowerShell

Iron Contributor

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?

 

 

0 Replies