Comments (4)
There is no way to specify a client ID or scope. App Installer uses its own client ID and sets the scope depending on whether the resource is on SharePoint or Azure Storage.
It may also be worth updating App Installer or testing installing the .msix directly (without using a .appinstaller file). There used to be a bug that caused cryptic errors when using auth for .appinstaller files.
from msix-packaging.
Hey, just bumping this thread. I tried adding ?msixauth=aad
at the end of my Uri for AppInstaller and MainPackage to test the authentication flow. I do get prompted to log in, but the app installer fails to open app package due to
"An error occurred while attempting to authenticate. The user account does not have access to the target resource. Contact your administrator for assistance."
I believe the reason is because no tenant ID, scope and client ID is passed to AAD when retrieving a bearer token.
from msix-packaging.
Bumping this thread again.
I assume app installer is expecting users to perform server side authentication if client side authentication is not supported. It would be great if anyone can point to a sample or documentation of that auth flow.
from msix-packaging.
Thanks for the reply. Unfortunately giving access to users to Azure Storage is not encouraged by Microsoft security policies. A web API that can authenticate via a managed service identity is encouraged. Hence why I require the app installer to authenticate with a custom web API.
I have not considered using SharePoint and not familiar with the experience there. Having said that, it would be nice if a user is able to customize the client ID and scope for app installer auth.
from msix-packaging.
Related Issues (20)
- [BUG] Schemas need a refresh HOT 2
- [BUG] MSIX doesnt built in Azure DevOps Task HOT 6
- UnauthorizedAccessException on PackageManager.AddPackageAsync
- [Question] Microsoft - why do you hate developers? HOT 6
- [BUG] Inconsistent Zip Structure in .appx Files Created by makemsix.exe Compared to MakeAppx.exe
- [BUG] Build Error on Windows 10 with Visual Studio 2017 Enterprise
- [Question] Distribute appinstaller and MSIX via Azure blob storage? HOT 6
- MSIX Windows 10 does not allow to install nor auto-update when publisher changes
- [BUG/FEATURE REQUEST] MSIX packaging extension for Azure DevOps release - Configuration combo should not be restricted to 2 values
- ForceUpdateFromAnyVersion Option not included with MSIX App Installer HOT 1
- [BUG] cmake_minimum_required should be set to a more reasonable value
- [BUG] Application shortcut created is not honoring the parameters defined in the AppxManifest.xml
- How to take dependency on a library that loads non-packaged DLLs in a packaged application? HOT 5
- [Feature Request] Allow disabling the sandbox for an application. HOT 2
- [BUG] Error when trying to package project with multiple TargetFrameworks HOT 2
- Feature request: Implement more powerful compression options
- [BUG] Captured memory dump of MSIX packaged app, doesn't contain threads and call stack information HOT 1
- [BUG] Unable to sign appxpackage due to "ST" being present in the signing certificate subject
- Msix packaging tool
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from msix-packaging.