Skip to content

[release/v7.6.2] Add appLicensing capability to Appx manifest#27437

Merged
daxian-dbw merged 1 commit into
PowerShell:release/v7.6.2from
daxian-dbw:backport/release/v7.6.2/27412-90d3b7f2e
May 13, 2026
Merged

[release/v7.6.2] Add appLicensing capability to Appx manifest#27437
daxian-dbw merged 1 commit into
PowerShell:release/v7.6.2from
daxian-dbw:backport/release/v7.6.2/27412-90d3b7f2e

Conversation

@daxian-dbw
Copy link
Copy Markdown
Member

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

  • Required tooling change
  • Optional tooling change (include reasoning)

Customer Impact

  • Customer reported
  • Found internally

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.

  • Yes
  • No

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.

  • High
  • Medium
  • Low

Single manifest declaration change. The appLicensing capability is a restricted capability that PowerShell 7 is authorized to use, and it only affects Store license behavior.

Copilot AI review requested due to automatic review settings May 13, 2026 20:35
@daxian-dbw daxian-dbw added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label May 13, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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" to assets/AppxManifest.xml.

@daxian-dbw daxian-dbw merged commit eafd092 into PowerShell:release/v7.6.2 May 13, 2026
39 checks passed
@daxian-dbw daxian-dbw deleted the backport/release/v7.6.2/27412-90d3b7f2e branch May 13, 2026 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants