Just recently I cannot connect to my tenant admin with PowerShell. When I call
Connect-SPOService -Url https://<tenant>-admin.sharepoint.com
I get the following error:
Connect-SPOService : For security reasons DTD is prohibited in this XML document. To enable DTD processing set the DtdProcessing property on XmlReaderSettings to Parse and pass the settings into XmlReader.Create method. At line:1 char:1 + Connect-SPOService -Url https://-admin.sharepoint.com -Creden ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ + CategoryInfo : NotSpecified: (:) [Connect-SPOService], XmlExcep tion + FullyQualifiedErrorId : System.Xml.XmlException,Microsoft.Online.SharePo int.PowerShell.ConnectSPOService
I noticed a new version of the SharePoint Online Management Shell was released on 27th March, and I have installed that but I still get the same error.
This was working a week ago but now doesn't and I have tried on a couple of machines, in case my main machine is somehow corrupt, and with a couple of tenants.
Does anyone have any ideas?
Thanks
David