Add `appLicensing` capability to Appx manifest by SteveL-MSFT · Pull Request #27412 · PowerShell/PowerShell · GitHub
Skip to content

Add appLicensing capability to Appx manifest - #27412

Merged
Dongbo Wang (daxian-dbw) merged 1 commit into
PowerShell:masterfrom
SteveL-MSFT:applicense
May 13, 2026
Merged

Add appLicensing capability to Appx manifest#27412
Dongbo Wang (daxian-dbw) merged 1 commit into
PowerShell:masterfrom
SteveL-MSFT:applicense

Conversation

@SteveL-MSFT

@SteveL-MSFT Steve Lee (SteveL-MSFT) commented May 11, 2026

Copy link
Copy Markdown
Member

PR Summary

Add the appLicensing cap to Appx manifest which declares a license (from point of view of the Store) is not required. This is a restricted cap, but PowerShell 7 can use it.

PR Context

This fixes a potential "Error acquiring license from Store" error and also speeds up startup as it doesn't try to acquire a Store license.

PR Checklist

Copilot AI review requested due to automatic review settings May 11, 2026 16:21
@SteveL-MSFT
Steve Lee (SteveL-MSFT) requested a review from a team as a code owner May 11, 2026 16:21
@SteveL-MSFT Steve Lee (SteveL-MSFT) added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label May 11, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds the restricted appLicensing capability to the MSIX/AppX manifest so PowerShell’s packaged app can skip Microsoft Store license acquisition (avoiding “Error acquiring license from Store” and improving startup latency).

Changes:

  • Added <rescap:Capability Name="appLicensing" /> to assets/AppxManifest.xml capabilities list.

@daxian-dbw

Copy link
Copy Markdown
Member

@SteveL-MSFT

Steve Lee (SteveL-MSFT) commented May 13, 2026

Copy link
Copy Markdown
Member Author

Justin Grote (JustinGrote) pushed a commit to JustinGrote/PowerShell that referenced this pull request Jun 2, 2026
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj-contribs/PowerShell that referenced this pull request Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Backport-7.4.x-Migrated Backport-7.5.x-Done Backport-7.6.x-Done 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.

5 participants