How to allow XML files in Outlook Web App

Share this:

In this Tutorial we will allow the XML files in an Outlook Web App session in Exchange Server 2013. By default XML files are blocked on the OWA.

Solution


By default XML file are blocked in Outlook Web App, and when an user receives such files the result will be similar to the figure below.

image

If the user tries to click on it, the following error message will be displayed.

image

There are a couple of ways to manage files to be allowed or blocked in Outlook Web App. Directly to the OWA Virtual Directory or through OWA Policies. In this article we will cover the first method which the entire server by using Set-OWAVirtualDirectory cmdlet.

Note: If you have different restrictions based in OWA Policies then the recommendation is to use the second method which is in the OWA policy level.

These are the cmdlets that must be run on the Exchange Server 2013 to allow XML.

Get-OwaVirtualDirectory | Set-OwaVirtualDirectory -BlockedFileTypes @{Remove = “.xml”}

Get-OwaVirtualDirectory | Set-OwaVirtualDirectory -AllowedFileTypes @{Add = “.xml”}

Get-OwaVirtualDirectory | Set-OwaVirtualDirectory -BlockedMimeTypes @{Remove = “text/xml”, “application/xml”}

Get-OwaVirtualDirectory | Set-OwaVirtualDirectory –AllowedMimeTypes @{Add = “text/xml”, “application/xml”}

image5

Just in case, an IISreset /noforce to refresh the configuration will not hurt. Then, send another XML file to an user and at this time the file should be available in the Outlook Web App.

image8

Conclusion


In this Tutorial we went through the process to allow XML files in Outlook Web App using Exchange Server 2013.

Written by Anderson Patricio

Anderson Patricio

Anderson Patricio is a Canadian MVP in Cloud and Datacenter Management, and Office Server and Services, besides the Microsoft Award he also holds a Solutions Master (MCSM) in Exchange and several other certifications. Anderson has been contributing to the Microsoft Community with articles, tutorials, blog posts, twitter, forums and book reviews. He is a regular contributor here at ITPROCentral.com, MSExchange.org, Techgenix.com and Anderson Patricio.org (Portuguese).

Related Post

How to upgrade your existent Exchange Server 2013 ... In this Tutorial we are going to upgrade our current Exchange Server 2013 CU2 to CU3. Our environment for this Tutorial has 2 DAG members (BsAEX01 and...
How does it work the Exchange Server 2013 setup re... In this Tutorial we are going to test how the resume setup of Exchange Server 2013 works. In order to test it properly during the Exchange Server 2013...
Error Property InvalidDatabaseCopiesAllowed In some scenarios when creating a Mailbox Database the error below may appear. This Tutorial was based on Exchange Server 2013 Service Pack 1 (CU4). P...
Backing up Exchange Mailbox databases with eseutil... In this Tutorial we are going to use eseutil utility to create a backup of a mounted mailbox database. The steps described here are useful when you ne...