Connect-PnPOnline : For security reasons DTD is prohibited in this XML document

Just changed my internet provider, and got this error again.

Connect-PnPOnline : 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.

Just want to document the solution:

127.0.0.1 msoid.tenantdomain.onmicrosoft.com
127.0.0.1 msoid.onmicrosoft.com

 

Cheers

One thought on “Connect-PnPOnline : For security reasons DTD is prohibited in this XML document

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