[release/v7.6.2] Add appLicensing capability to Appx manifest#27437
Merged
daxian-dbw merged 1 commit intoMay 13, 2026
Merged
Conversation
…t acquiring a Store license (PowerShell#27412)
Contributor
There was a problem hiding this comment.
Pull request overview
This PR backports the addition of the restricted appLicensing capability to the Store Appx manifest on release/v7.6.2, preventing unnecessary Store license acquisition attempts (avoiding potential “Error acquiring license from Store” scenarios and improving startup performance for Store-distributed PowerShell).
Changes:
- Add
rescap:Capability Name="appLicensing"toassets/AppxManifest.xml.
SeeminglyScience
approved these changes
May 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #27412 to release/v7.6.2
Triggered by @daxian-dbw on behalf of @SteveL-MSFT
Original CL Label: CL-BuildPackaging
/cc @PowerShell/powershell-maintainers
Impact
REQUIRED: Choose either Tooling Impact or Customer Impact (or both). At least one checkbox must be selected.
Tooling Impact
Customer Impact
Fixes a potential "Error acquiring license from Store" error for users running PowerShell from the Windows Store. Also improves startup performance by avoiding an unnecessary Store license acquisition attempt.
Regression
REQUIRED: Check exactly one box.
This is not a regression.
Testing
Verified via the original PR. The change adds a restricted capability declaration to the Appx manifest. Only testable interactively through a Store-distributed build.
Risk
REQUIRED: Check exactly one box.
Single manifest declaration change. The
appLicensingcapability is a restricted capability that PowerShell 7 is authorized to use, and it only affects Store license behavior.