I'm developing a new Outlook Add-In that uses displayDialogAsync to do authentication. We have several different client verions. It works fine on Outlook for Mac 2016 and Office 365 ProPlus Click-To-Run Version 1808 on Windows. But on Office 2016 ProPlus MSI Version (MSO 16.0.4549.1000) for windows, it gives the error "Permission Denied".
Dialog API requirements sets page at https://docs.microsoft.com/en-us/office/dev/add-ins/reference/requirement-sets/dialog-api-requirement-sets says for Office 2016 or later on Windows (one-time purchase) with Build 16.0.4390.1000 or later, it should work. Our build version is clearly later but we still get that error.
I have also verified that this is not due to the AppDomains in manifest. I have added the domain that I'm trying to open in the dialog to the AppDomains.