Unable to discover PowerShell endpoing URI error

While I was trying to connect to the S4B Online admin center by PowerShell I received the following error: “Unable to discover PowerShell endpoing URI”

I used the following PowerShell commands to connect to the admincenter:

error.png

So, as you can see the only method allowed to connect to the S4B admin center is by explicity using the domain:

$cssession = New-CsOnlineSession –Credential $credential –OverrideAdminDomain “domainname.onmicrosoft.com”

It is very straightforward to solve the error, but I hope that it will help someone

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s