nbelyh / svgpublish-releases

Releases repository for the Svg Publish Visio add-in
http://unmanagedvisio.com/products/svg-publish/
7 stars 2 forks source link

Access denied when authorizing with SharePoint #71

Open nbelyh opened 10 months ago

nbelyh commented 10 months ago

I have gotten it to work a handful of times, but now it fails consistently. When I attempt to connect to the SharePoint site, I get the authentication dialog – this is typical of my company’s SAML authentication system.

I choose my standard ID (my email address) and continue, go through the multi-factor authentication on my phone, and then am shown an error page saying:

Unsecured or Non Compliant Device
...
This application requires you to access it from an secured (i.e. managed and compliant) device.
...
nbelyh commented 10 months ago

Most probably related to the Conditional Access Policy "compliant devices" enabled to access Office 365 and usage of the WebView2 (embedded browser) for the authentication. It can be that embedded browser authentication is disabled when that policy is enabled..

Conditional Access Policy

nbelyh commented 10 months ago

As an immediate workaround for this case, in 1.7 you cna use "local disk" export to produce .aspx for SharePoint, and then use SharePoint Sync to upload the files: https://www.youtube.com/watch?v=NrrlsXb-1u0&t=3s