Microsoft Secure Tech Accelerator
Apr 03 2024, 07:00 AM - 11:00 AM (PDT)
Microsoft Tech Community
Opening Visio files from SharePoint 2013/2016/SPO
Published May 15 2019 03:22 PM 2,124 Views

First published on TECHNET on Mar 15, 2018
Hello All,

Not sure if your aware but Visio files are considered restricted and you are forced to download before it can be opened in the client application (Including Visio viewer).  This of course is very annoying, you could deal with this in these manners

SharePoint 2013/2016:

1.Install Office Online Server and connect SharePoint ( New-SPWopiBinding ) then set your Document Library to 'Open in Browser', please see this article for more information on these steps.
2.Set the visio application to being permissive by running the following PowerShell commands

$webApp = Get-SPWebApplication <WebAppUrl>
$webApp.AllowedInlineDownloadedMimeTypes.Add("application/vnd.visio")
$webApp.Update()

SPO:

1.Change from Classic Experience to New Experience and set Document Library to use 'Open in Browser'

Pax

P.S. For extra bonus points, any file type that your being forced to download but want to just open from SharePoint can be set to 'Permissive' in this same manner see here for mime types.  But make the change at your own risk as some file types really should not be opened directly from SharePoint due to security concerns.

Version history
Last update:
‎Apr 29 2020 09:30 AM
Updated by: