-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make Store package download stable #4570
Conversation
@yao-msft Looks like this is removing the experimental feature. Is there an ETA on when this may be returning? |
Removing the experimental feature means this feature is now official. This feature will be in our next winget 1.8 release (and also 1.9 preview). |
rbalsleyMSFT
commented
Jun 24, 2024
via email
•
edited by microsoft-github-policy-service
bot
Loading
edited by microsoft-github-policy-service
bot
That's great to hear. Thanks!
Thanks,
Richard
…________________________________
|
@yao-msft I'm using a PowerShell script to download multiple store apps with winget. I'm getting a consistent prompt for credentials when downloading store apps (I seem to get 2 prompts per app, one for the app itself and another for the dependencies I think, could also be due to multiple appx versions of the app being downloaded). I'm using an EntraID to download as expected, but I'm not signed into that account. Is there a way to invoke this to only be prompted once for credentials? Thanks. |
@yao-msft We are encountering the same issue mentioned by @rbalsleyMSFT. We noticed that it's possible to download VSCode without authentication, so there might be a workaround to bypass this authentication, or is it reserved for Microsoft products? |
The 2 prompts are: one for retrieving download links and the other for acquiring license. They are 2 different backend services. Winget uses Web Account Manager for Microsoft Entra Id authentications. Web Account Manager manages the token caches, it should behave the same with the Connect to Work or School experience of Windows Settings. Did you try signing in System wide? |
Authentication is only required for installer type msstore (the appx/msix packages). VSCode is exe installer, it has download links in the manifest so it does not need authentication. A quick way to find out if authentication is needed is to look at package ids. If the Id starts with XP, it is non-msstore installer, no authentication needed. Otherwise, it's msstore installer type, it needs authentication. |
Microsoft Reviewers: Open in CodeFlow