Connect-SPOService: DTD is prohibited in this XML document

The error message of “DTD is prohibited in this XML document” is an error that can be caused by DNS configuration, as described here. Another simpler cause is trying to connect to the incorrect url, as the Connect-SPOService needs to be provided with the url to the Admin site. So, the following will generate the above error:

Connect-SPOService -url https://somesite.sharepoint.com

The following should work just fine:

Connect-SPOService -url https://somesite-admin.sharepoint.com

Advertisements

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s