MicrosoftDocs / msix-docs

repository for msix content
Creative Commons Attribution 4.0 International
59 stars 115 forks source link

Doesn't Work? #269

Open tcrevier opened 2 years ago

tcrevier commented 2 years ago

Hello,

I am trying to distribute an app inside the enterprise using MSIX and an Azure Web App with Azure AD authentication. I have created a package with and without ?msixauth=aad added to the update URI in the appinstall file.

If I run the version without locally, it runs fine. If I run the version with the auth tag locally, I get the error message :

"App Installer authentication is not supported on this OS version. Please update to the latest version of Windows 10."

On my web app, if I specify the URI without the tag (href="ms-appinstaller:?source=https://xxx.azurewebsites.net/xxx.msixbundle"), I get the error message :

"An error occurred while accessing the file from the web. Please try downloading and opening the file locally."

If I turn off authentication on the web app, it works just fine. If I update the URI on the web app to include the auth tag (href="ms-appinstaller:?source=https://xxx.azurewebsites.net/xxx.msixbundle?msixauth=aad"), there is no impact. I get the same error message.

Windows build info :

Edition Windows 10 Pro Version 20H2 Installed on ‎9/‎23/‎2021 OS build 19042.1320 Serial number xxxxx Experience Windows Feature Experience Pack 120.2212.3920.0

Help would be appreciated...

TomC

Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

RDMacLachlan commented 2 years ago

Hi @tcrevier When creating the link to point to the app, and also including an auth requirement the character changes from "?" to "&".

The path you would need to use as referenced in your example would be "ms-appinstaller:?source=https://xxx.azurewebsites.net/xxx.msibundle&msixauth=aad". Please give this a try and let me know if this resolves your issue.

tcrevier commented 2 years ago

I would love to try it, but in the interim, Microsoft removed ms-appinstaller support. If/when support is restored, I will give it a try.

Tom

On Tue, Jan 18, 2022 at 2:40 PM RDMacLachlan @.***> wrote:

Hi @tcrevier https://github.com/tcrevier When creating the link to point to the app, and also including an auth requirement the character changes from "?" to "&".

The path you would need to use as referenced in your example would be "ms-appinstaller:?source= https://xxx.azurewebsites.net/xxx.msibundle&msixauth=aad". Please give this a try and let me know if this resolves your issue.

— Reply to this email directly, view it on GitHub https://github.com/MicrosoftDocs/msix-docs/issues/269#issuecomment-1015898454, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHHRI7QFX6ZQEKM5BHVM4CLUWXT7BANCNFSM5HEORDCQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>