Install any skill in seconds. Free to start, no credit card required.
Get Started Free →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.
.claude/skills/msstore-cli/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-13 | ✗→✓ | ▲ Improved | — | — |
| case-09 | ✗→✓ | ▲ Improved | — | — |
| case-03 | ✗→✓ | ▲ Improved | — | — |
| case-19 | ✗→✓ | ▲ Improved | — | — |
| case-08 | ✗→✓ | ▲ Improved | — | — |
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.
bashmsstore info
Options:
| Option | Description | | ------ | ----------- | | -v, --verbose | Print verbose output |
Configure or update Microsoft Store API credentials.
bashmsstore reconfigure [options]
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:
bash# Configure with client secret msstore reconfigure --tenantId $TENANT_ID --sellerId $SELLER_ID --clientId $CLIENT_ID --clientSecret $CLIENT_SECRET # Configure with certificate msstore reconfigure --tenantId $TENANT_ID --sellerId $SELLER_ID --clientId $CLIENT_ID --certificateFilePath ./cert.pfx --certificatePassword MyPassword
Change settings of the Microsoft Store Developer CLI.
bashmsstore settings [options]
Options:
| Option | Description | | ------ | ----------- | | -t, --enableTelemetry | Enable (true) or disable (false) telemetry |
bashmsstore settings setpdn <publisherDisplayName>
Sets the default Publisher Display Name for the init command.
List and retrieve application information.
bashmsstore apps list
Lists all applications in your Partner Center account.
bashmsstore apps get <productId>
Arguments:
| Argument | Description | | -------- | ----------- | | productId | The Store product ID (e.g., 9NBLGGH4R315) |
Example:
bash# Get details of a specific app msstore apps get 9NBLGGH4R315
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 |
bashmsstore submission status <productId>
bashmsstore submission get <productId>
bashmsstore submission updateMetadata <productId> <metadata>
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:
bash msstore submission updateMetadata 9NBLGGH4R315 '{"description":"My updated app"}'
powershell msstore submission updateMetadata 9NBLGGH4R315 '{"description":"My updated app"}'
cmd msstore submission updateMetadata 9NBLGGH4R315 "{\"description\":\"My updated app\"}"
> Tip: For complex or multi-line metadata, save the JSON to a file and pass its contents instead to avoid quoting issues: > bash > msstore submission updateMetadata 9NBLGGH4R315 "$(cat metadata.json)" >
Options:
| Option | Description | | ------ | ----------- | | -s, --skipInitialPolling | Skip initial status polling |
bashmsstore submission publish <productId>
bashmsstore submission poll <productId>
Polls until the submission status is PUBLISHED or FAILED.
bashmsstore submission delete <productId>
Options:
| Option | Description | | ------ | ----------- | | --no-confirm | Skip confirmation prompt |
Initialize a project for Microsoft Store publishing. Automatically detects project type and configures Store identity.
bashmsstore init <pathOrUrl> [options]
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:
bash# Initialize WinUI project msstore init ./my-winui-app # Initialize PWA msstore init https://contoso.com --output ./pwa-package # Initialize and publish msstore init ./my-app --publish
Package an application for Microsoft Store submission.
bashmsstore package <pathOrUrl> [options]
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:
bash# Package for default architecture msstore package ./my-app # Package for multiple architectures msstore package ./my-app --arch x64,arm64 --output ./packages # Package with specific version msstore package ./my-app --version 1.2.3.0
Publish an application to the Microsoft Store.
bashmsstore publish <pathOrUrl> [options]
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:
bash# Publish project msstore publish ./my-app # Publish existing package msstore publish ./my-app --inputFile ./packages/MyApp.msixupload # Publish as draft msstore publish ./my-app --noCommit # Publish with gradual rollout msstore publish ./my-app --packageRolloutPercentage 10
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 |
bashmsstore flights list <productId>
bashmsstore flights get <productId> <flightId>
bashmsstore flights create <productId> <friendlyName> --group-ids <group-ids>
Options:
| Option | Description | | ------ | ----------- | | -g, --group-ids | Flight group IDs (comma-separated) | | -r, --rank-higher-than | Flight ID to rank higher than |
bashmsstore flights delete <productId> <flightId>
bash# Get flight submission msstore flights submission get <productId> <flightId> # Publish flight submission msstore flights submission publish <productId> <flightId> # Check flight submission status msstore flights submission status <productId> <flightId> # Poll flight submission msstore flights submission poll <productId> <flightId> # Delete flight submission msstore flights submission delete <productId> <flightId>
bash# Get rollout status msstore flights submission rollout get <productId> <flightId> # Update rollout percentage msstore flights submission rollout update <productId> <flightId> <percentage> # Halt rollout msstore flights submission rollout halt <productId> <flightId> # Finalize rollout (100%) msstore flights submission rollout finalize <productId> <flightId>
bash# 1. Install the CLI winget install "Microsoft Store Developer CLI" # 2. Configure credentials (get these from Partner Center) msstore reconfigure --tenantId $TENANT_ID --sellerId $SELLER_ID --clientId $CLIENT_ID --clientSecret $CLIENT_SECRET # 3. Verify configuration msstore info # 4. List your apps to confirm access msstore apps list
bash# 1. Navigate to project cd my-winui-app # 2. Initialize for Store (creates/updates app identity) msstore init . # 3. Package the application msstore package . --arch x64,arm64 # 4. Publish to Store msstore publish . # 5. Check submission status msstore submission status <productId>
bash# 1. Build your updated application dotnet publish -c Release # 2. Package and publish msstore publish ./my-app # Or publish from existing package msstore publish ./my-app --inputFile ./artifacts/MyApp.msixupload
bash# 1. Publish with initial rollout percentage msstore publish ./my-app --packageRolloutPercentage 10 # 2. Monitor and increase rollout msstore submission poll <productId> # 3. (After validation) Finalize to 100% # This completes via Partner Center or submission update
bash# 1. Create a flight group in Partner Center first # Then create a flight msstore flights create <productId> "Beta Testers" --group-ids "group-id-1,group-id-2" # 2. Publish to the flight msstore publish ./my-app --flightId <flightId> # 3. Check flight submission status msstore flights submission status <productId> <flightId> # 4. After testing, publish to production msstore publish ./my-app
yaml# GitHub Actions example name: Publish to Store on: release: types: [published] jobs: publish: runs-on: windows-latest steps: - uses: actions/checkout@v4 - name: Setup .NET uses: actions/setup-dotnet@v4 with: dotnet-version: '9.0.x' - name: Install msstore CLI run: winget install "Microsoft Store Developer CLI" --accept-package-agreements --accept-source-agreements - name: Configure Store credentials run: | msstore reconfigure --tenantId ${{ secrets.TENANT_ID }} --sellerId ${{ secrets.SELLER_ID }} --clientId ${{ secrets.CLIENT_ID }} --clientSecret ${{ secrets.CLIENT_SECRET }} - name: Build application run: dotnet publish -c Release - name: Publish to Store run: msstore publish ./src/MyApp
The winapp CLI (v0.2.0+) integrates with msstore via the winapp store subcommand:
bash# These commands are equivalent: msstore reconfigure --tenantId xxx --clientId xxx --clientSecret xxx winapp store reconfigure --tenantId xxx --clientId xxx --clientSecret xxx # List apps msstore apps list winapp store apps list # Publish msstore publish ./my-app winapp store publish ./my-app
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 |
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-04 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-11 | pass→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-12 | pass→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-13 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-23 | pass→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-09 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-03 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-19 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-08 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-16 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-17 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-18 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-15 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-20 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-14 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-22 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-05 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-07 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-06 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-10 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-24 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-01 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-21 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-02 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 24 cases were attempted. The headline lift of +75 percentage points is the difference between those two pass rates over the 24 comparable cases.
The per-case answers from this run were removed by the retention sweep, so the case table below shows the verdicts without the text either arm produced. The counts above were recorded at the time and are unaffected. Answers are now kept for 180 days.
Other measured skills in the registry, with their headline benchmark lift.