npx skills add ...
npx skills add github/awesome-copilot --skill msstore-cli
npx skills add github/awesome-copilot --skill msstore-cli
Microsoft Store Developer CLI (msstore) for publishing Windows applications to the Microsoft Store. Use when asked to configure Store credentials, list Store apps, check submission status, publish submissions, manage package flights, set up CI/CD for Store publishing, or integrate with Partner Center. Supports Windows App SDK/WinUI, UWP, .NET MAUI, Flutter, Electron, React Native, and PWA applications.
The Microsoft Store Developer CLI (msstore) is a cross-platform command-line interface for publishing and managing applications in the Microsoft Store. It integrates with Partner Center APIs and supports automated publishing workflows for various application types.
Use this skill when you need to:
winget install "Microsoft Store Developer CLI"Before using msstore, you need to create an Azure AD application with Partner Center access:
Display the current credential configuration.
Options:
| Option | Description |
|---|---|
-v, --verbose | Print verbose output |
Configure or update Microsoft Store API credentials.
Options:
| Option | Description |
|---|---|
-t, --tenantId | Azure AD Tenant ID |
-s, --sellerId | Partner Center Seller ID |
-c, --clientId | Azure AD Application Client ID |
-cs, --clientSecret | Client Secret for authentication |
-ct, --certificateThumbprint | Certificate thumbprint (alternative to client secret) |
-cfp, --certificateFilePath | Certificate file path (alternative to client secret) |
-cp, --certificatePassword | Certificate password |
--reset | Reset credentials without full reconfiguration |
Examples:
Change settings of the Microsoft Store Developer CLI.
Options:
| Option | Description |
|---|---|
-t, --enableTelemetry | Enable (true) or disable (false) telemetry |
Sets the default Publisher Display Name for the init command.
List and retrieve application information.
Lists all applications in your Partner Center account.
Arguments:
| Argument | Description |
|---|---|
productId | The Store product ID (e.g., 9NBLGGH4R315) |
Example:
Manage Store submissions.
| Sub-Command | Description |
|---|---|
status | Get submission status |
get | Get submission metadata and package info |
getListingAssets | Get listing assets of a submission |
updateMetadata | Update submission metadata |
poll | Poll submission status until complete |
publish | Publish a submission |
delete | Delete a submission |
Where <metadata> is a JSON string with the updated metadata. Because JSON contains characters that shells interpret (quotes, braces, etc.), you must quote and/or escape the value appropriately:
Tip: For complex or multi-line metadata, save the JSON to a file and pass its contents instead to avoid quoting issues:
Options:
| Option | Description |
|---|---|
-s, --skipInitialPolling | Skip initial status polling |
Polls until the submission status is PUBLISHED or FAILED.
Options:
| Option | Description |
|---|---|
--no-confirm | Skip confirmation prompt |
Initialize a project for Microsoft Store publishing. Automatically detects project type and configures Store identity.
Arguments:
| Argument | Description |
|---|---|
pathOrUrl | Project directory path or PWA URL |
Options:
| Option | Description |
|---|---|
-n, --publisherDisplayName | Publisher Display Name |
--package | Also package the project |
--publish | Package and publish (implies --package) |
-f, --flightId | Publish to a specific flight |
-prp, --packageRolloutPercentage | Gradual rollout percentage (0-100) |
-a, --arch | Architecture(s): x86, x64, arm64 |
-o, --output | Output directory for packages |
-ver, --version | Version to use when building |
Supported Project Types:
Examples:
Package an application for Microsoft Store submission.
Arguments:
| Argument | Description |
|---|---|
pathOrUrl | Project directory path or PWA URL |
Options:
| Option | Description |
|---|---|
-o, --output | Output directory for the package |
-a, --arch | Architecture(s): x86, x64, arm64 |
-ver, --version | Version for the package |
Examples:
Publish an application to the Microsoft Store.
Arguments:
| Argument | Description |
|---|---|
pathOrUrl | Project directory path or PWA URL |
Options:
| Option | Description |
|---|---|
-i, --inputFile | Path to existing .msix or .msixupload file |
-id, --appId | Application ID (if not initialized) |
-nc, --noCommit | Keep submission in draft state |
-f, --flightId | Publish to a specific flight |
-prp, --packageRolloutPercentage | Gradual rollout percentage (0-100) |
Examples:
Manage package flights (beta testing groups).
| Sub-Command | Description |
|---|---|
list | List all flights for an app |
get | Get flight details |
delete | Delete a flight |
create | Create a new flight |
submission | Manage flight submissions |
Options:
| Option | Description |
|---|---|
-g, --group-ids | Flight group IDs (comma-separated) |
-r, --rank-higher-than | Flight ID to rank higher than |
The winapp CLI (v0.2.0+) integrates with msstore via the winapp store subcommand:
Use winapp store when you want a unified CLI experience for both packaging and publishing.
| Issue | Solution |
|---|---|
| Authentication failed | Verify credentials with msstore info; re-run msstore reconfigure |
| App not found | Ensure the product ID is correct; run msstore apps list to verify |
| Insufficient permissions | Check Azure AD app role in Partner Center (needs Manager or Developer) |
| Package validation failed | Ensure package meets Store requirements; check Partner Center for details |
| Submission stuck | Run msstore submission poll <productId> to check status |
| Flight not found | Verify flight ID with msstore flights list <productId> |
| Rollout percentage invalid | Value must be between 0 and 100 |
| Init fails for PWA | Ensure URL is publicly accessible and has valid web app manifest |
The CLI supports environment variables for credentials:
| Variable | Description |
|---|---|
MSSTORE_TENANT_ID | Azure AD Tenant ID |
MSSTORE_SELLER_ID | Partner Center Seller ID |
MSSTORE_CLIENT_ID | Azure AD Application Client ID |
MSSTORE_CLIENT_SECRET | Client Secret |
msstore settings [options]msstore settings setpdn <publisherDisplayName>msstore apps listmsstore apps get <productId># Get details of a specific app
msstore apps get 9NBLGGH4R315msstore submission status <productId>msstore submission get <productId>msstore submission updateMetadata <productId> <metadata>