---
title: "Discussion on \"Exchange PowerShell - For security reasons DTD is prohibited\" | Hashnode"
description: "Discussion on \"Exchange PowerShell - For security reasons DTD is prohibited\". I was working from home today and was trying to connect to Exchange Online via PowerShell. However, every time I tried to connect I would get the following error:\nSystem.Xml.XmlException: For security reasons DTD is prohibited in this XML document. T..."
url: "https://hashnode.com/posts/exchange-powershell-for-security-reasons-dtd-is-prohibited/65b009579595a944f79a7b73"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Exchange PowerShell - For security reasons DTD is prohibited](https://itsallinthecode.com/exchange-powershell-for-security-reasons-dtd-is-prohibited?utm_source=hashnode&utm_medium=feed)

I was working from home today and was trying to connect to Exchange Online via PowerShell. However, every time I tried to connect I would get the following error: System.Xml.XmlException: For security reasons DTD is prohibited in this XML document. T...

Mar 4, 2019 · 1 min read · itsallinthecode.com  
Read the article

## Written by

[Rob](https://hashnode.com/@itsallinthecode)

@itsallinthecode

  
[View profile](https://hashnode.com/@itsallinthecode)

Automating

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
