msstore-cli

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Microsoft Store Developer CLI (msstore)

Microsoft Store Developer CLI (msstore)

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.
Microsoft Store Developer CLI(
msstore
)是一款跨平台命令行工具,用于在Microsoft Store中发布和管理应用。它对接了Partner Center API,支持多种应用类型的自动化发布工作流。

When to Use This Skill

何时使用该工具

Use this skill when you need to:
  • Configure Store credentials for API access
  • List applications in your Store account
  • Check the status of a submission
  • Publish submissions to the Store
  • Package applications for Store submission
  • Initialize projects for Store publishing
  • Manage package flights (beta testing)
  • Set up CI/CD pipelines for automated Store publishing
  • Manage gradual rollouts of submissions
  • Update submission metadata programmatically
当你需要完成以下操作时可以使用本工具:
  • 配置用于API访问的商店凭证
  • 列出你的商店账户中的应用
  • 检查提交状态
  • 向商店发布提交内容
  • 打包应用用于商店提交
  • 初始化项目以便发布到商店
  • 管理包航班(beta测试)
  • 配置CI/CD流水线实现自动发布到商店
  • 管理提交内容的灰度发布
  • 通过编程方式更新提交元数据

Prerequisites

前置要求

  • Windows 10+, macOS, or Linux
  • .NET 9 Desktop Runtime (Windows) or .NET 9 Runtime (macOS/Linux)
  • Partner Center account with appropriate permissions
  • Azure AD app registration with Partner Center API access
  • msstore CLI installed via one of these methods:
    • Microsoft Store: Download
    • WinGet:
      winget install "Microsoft Store Developer CLI"
    • Manual: Download from GitHub Releases
  • Windows 10+、macOS或Linux系统
  • .NET 9 桌面运行时(Windows)或 .NET 9 运行时(macOS/Linux)
  • 拥有对应权限的Partner Center账户
  • 具备Partner Center API访问权限的Azure AD应用注册
  • 通过以下任意一种方式安装msstore CLI:
    • Microsoft Store: 下载
    • WinGet:
      winget install "Microsoft Store Developer CLI"
    • 手动安装: 从GitHub Releases下载

Partner Center Setup

Partner Center配置

Before using msstore, you need to create an Azure AD application with Partner Center access:
  1. Go to Partner Center
  2. Navigate to Account settings > User management > Azure AD applications
  3. Create a new application and note the Tenant ID, Client ID, and Client Secret
  4. Grant the application appropriate permissions (Manager or Developer role)
使用msstore之前,你需要创建一个有权限访问Partner Center的Azure AD应用:
  1. 访问Partner Center
  2. 进入 账户设置 > 用户管理 > Azure AD应用
  3. 创建新应用,记录好 租户ID(Tenant ID)客户端ID(Client ID)客户端密钥(Client Secret)
  4. 为应用授予对应权限(管理员或开发者角色)

Core Commands Reference

核心命令参考

info - Print Configuration

info - 打印配置信息

Display the current credential configuration.
bash
msstore info
Options:
OptionDescription
-v, --verbose
Print verbose output
展示当前的凭证配置。
bash
msstore info
选项:
选项描述
-v, --verbose
打印详细输出

reconfigure - Configure Credentials

reconfigure - 配置凭证

Configure or update Microsoft Store API credentials.
bash
msstore reconfigure [options]
Options:
OptionDescription
-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
undefined
配置或更新Microsoft Store API凭证。
bash
msstore reconfigure [options]
选项:
选项描述
-t, --tenantId
Azure AD租户ID
-s, --sellerId
Partner Center卖家ID
-c, --clientId
Azure AD应用客户端ID
-cs, --clientSecret
用于身份验证的客户端密钥
-ct, --certificateThumbprint
证书指纹(可替代客户端密钥)
-cfp, --certificateFilePath
证书文件路径(可替代客户端密钥)
-cp, --certificatePassword
证书密码
--reset
无需完整重新配置即可重置凭证
示例:
bash
undefined

Configure with client secret

使用客户端密钥配置

msstore reconfigure --tenantId $TENANT_ID --sellerId $SELLER_ID --clientId $CLIENT_ID --clientSecret $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
undefined
msstore reconfigure --tenantId $TENANT_ID --sellerId $SELLER_ID --clientId $CLIENT_ID --certificateFilePath ./cert.pfx --certificatePassword MyPassword
undefined

settings - CLI Settings

settings - CLI设置

Change settings of the Microsoft Store Developer CLI.
bash
msstore settings [options]
Options:
OptionDescription
-t, --enableTelemetry
Enable (true) or disable (false) telemetry
修改Microsoft Store Developer CLI的设置。
bash
msstore settings [options]
选项:
选项描述
-t, --enableTelemetry
开启(true)或关闭(false)遥测

Set Publisher Display Name

设置发布者显示名称

bash
msstore settings setpdn <publisherDisplayName>
Sets the default Publisher Display Name for the
init
command.
bash
msstore settings setpdn <publisherDisplayName>
init
命令设置默认发布者显示名称。

apps - Application Management

apps - 应用管理

List and retrieve application information.
列出和查询应用信息。

List Applications

列出应用

bash
msstore apps list
Lists all applications in your Partner Center account.
bash
msstore apps list
列出你Partner Center账户中的所有应用。

Get Application Details

获取应用详情

bash
msstore apps get <productId>
Arguments:
ArgumentDescription
productId
The Store product ID (e.g., 9NBLGGH4R315)
Example:
bash
undefined
bash
msstore apps get <productId>
参数:
参数描述
productId
商店产品ID(例如9NBLGGH4R315)
示例:
bash
undefined

Get details of a specific app

获取指定应用的详情

msstore apps get 9NBLGGH4R315
undefined
msstore apps get 9NBLGGH4R315
undefined

submission - Submission Management

submission - 提交管理

Manage Store submissions.
Sub-CommandDescription
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
管理商店提交内容。
子命令描述
status
获取提交状态
get
获取提交元数据和包信息
getListingAssets
获取提交的上架资源
updateMetadata
更新提交元数据
poll
轮询提交状态直到完成
publish
发布提交内容
delete
删除提交内容

Get Submission Status

获取提交状态

bash
msstore submission status <productId>
bash
msstore submission status <productId>

Get Submission Details

获取提交详情

bash
msstore submission get <productId>
bash
msstore submission get <productId>

Update Metadata

更新元数据

bash
msstore 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/Zsh: Wrap the JSON in single quotes so the shell passes it through literally.
    bash
    msstore submission updateMetadata 9NBLGGH4R315 '{"description":"My updated app"}'
  • PowerShell: Use single quotes (or escape double quotes inside a double-quoted string).
    powershell
    msstore submission updateMetadata 9NBLGGH4R315 '{"description":"My updated app"}'
  • cmd.exe: Escape each inner double quote with a backslash.
    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:
OptionDescription
-s, --skipInitialPolling
Skip initial status polling
bash
msstore submission updateMetadata <productId> <metadata>
其中
<metadata>
是包含更新后元数据的JSON字符串。由于JSON包含会被shell解析的字符(引号、大括号等),你需要对值进行适当的引号包裹和/或转义:
  • Bash/Zsh: 用单引号包裹JSON,这样shell会直接传递原内容。
    bash
    msstore submission updateMetadata 9NBLGGH4R315 '{"description":"My updated app"}'
  • PowerShell: 使用单引号(或者在双引号字符串中转义双引号)。
    powershell
    msstore submission updateMetadata 9NBLGGH4R315 '{"description":"My updated app"}'
  • cmd.exe: 为每个内部双引号添加反斜杠转义。
    cmd
    msstore submission updateMetadata 9NBLGGH4R315 "{\"description\":\"My updated app\"}"
提示: 对于复杂或多行的元数据,可以将JSON保存到文件中,直接传递文件内容来避免引号问题:
bash
msstore submission updateMetadata 9NBLGGH4R315 "$(cat metadata.json)"
选项:
选项描述
-s, --skipInitialPolling
跳过初始状态轮询

Publish Submission

发布提交内容

bash
msstore submission publish <productId>
bash
msstore submission publish <productId>

Poll Submission

轮询提交状态

bash
msstore submission poll <productId>
Polls until the submission status is PUBLISHED or FAILED.
bash
msstore submission poll <productId>
一直轮询直到提交状态变为已发布(PUBLISHED)或失败(FAILED)。

Delete Submission

删除提交内容

bash
msstore submission delete <productId>
Options:
OptionDescription
--no-confirm
Skip confirmation prompt
bash
msstore submission delete <productId>
选项:
选项描述
--no-confirm
跳过确认提示

init - Initialize Project for Store

init - 初始化项目用于商店发布

Initialize a project for Microsoft Store publishing. Automatically detects project type and configures Store identity.
bash
msstore init <pathOrUrl> [options]
Arguments:
ArgumentDescription
pathOrUrl
Project directory path or PWA URL
Options:
OptionDescription
-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:
  • Windows App SDK / WinUI 3
  • UWP
  • .NET MAUI
  • Flutter
  • Electron
  • React Native for Desktop
  • PWA (Progressive Web Apps)
Examples:
bash
undefined
初始化项目以便发布到Microsoft Store,会自动检测项目类型并配置商店标识。
bash
msstore init <pathOrUrl> [options]
参数:
参数描述
pathOrUrl
项目目录路径或PWA URL
选项:
选项描述
-n, --publisherDisplayName
发布者显示名称
--package
同时打包项目
--publish
打包并发布(自动包含--package逻辑)
-f, --flightId
发布到指定航班
-prp, --packageRolloutPercentage
灰度发布百分比(0-100)
-a, --arch
架构:x86、x64、arm64
-o, --output
包的输出目录
-ver, --version
构建时使用的版本号
支持的项目类型:
  • Windows App SDK / WinUI 3
  • UWP
  • .NET MAUI
  • Flutter
  • Electron
  • React Native for Desktop
  • PWA(渐进式Web应用)
示例:
bash
undefined

Initialize WinUI project

初始化WinUI项目

msstore init ./my-winui-app
msstore init ./my-winui-app

Initialize PWA

初始化PWA

msstore init https://contoso.com --output ./pwa-package
msstore init https://contoso.com --output ./pwa-package

Initialize and publish

初始化并发布

msstore init ./my-app --publish
undefined
msstore init ./my-app --publish
undefined

package - Package for Store

package - 打包用于商店提交

Package an application for Microsoft Store submission.
bash
msstore package <pathOrUrl> [options]
Arguments:
ArgumentDescription
pathOrUrl
Project directory path or PWA URL
Options:
OptionDescription
-o, --output
Output directory for the package
-a, --arch
Architecture(s): x86, x64, arm64
-ver, --version
Version for the package
Examples:
bash
undefined
打包应用用于Microsoft Store提交。
bash
msstore package <pathOrUrl> [options]
参数:
参数描述
pathOrUrl
项目目录路径或PWA URL
选项:
选项描述
-o, --output
包的输出目录
-a, --arch
架构:x86、x64、arm64
-ver, --version
包的版本号
示例:
bash
undefined

Package for default architecture

用默认架构打包

msstore package ./my-app
msstore package ./my-app

Package for multiple architectures

针对多个架构打包

msstore package ./my-app --arch x64,arm64 --output ./packages
msstore package ./my-app --arch x64,arm64 --output ./packages

Package with specific version

使用指定版本号打包

msstore package ./my-app --version 1.2.3.0
undefined
msstore package ./my-app --version 1.2.3.0
undefined

publish - Publish to Store

publish - 发布到商店

Publish an application to the Microsoft Store.
bash
msstore publish <pathOrUrl> [options]
Arguments:
ArgumentDescription
pathOrUrl
Project directory path or PWA URL
Options:
OptionDescription
-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
undefined
将应用发布到Microsoft Store。
bash
msstore publish <pathOrUrl> [options]
参数:
参数描述
pathOrUrl
项目目录路径或PWA URL
选项:
选项描述
-i, --inputFile
现有.msix或.msixupload文件的路径
-id, --appId
应用ID(如果未初始化)
-nc, --noCommit
保持提交为草稿状态
-f, --flightId
发布到指定航班
-prp, --packageRolloutPercentage
灰度发布百分比(0-100)
示例:
bash
undefined

Publish project

发布项目

msstore publish ./my-app
msstore publish ./my-app

Publish existing package

发布现有包

msstore publish ./my-app --inputFile ./packages/MyApp.msixupload
msstore publish ./my-app --inputFile ./packages/MyApp.msixupload

Publish as draft

发布为草稿

msstore publish ./my-app --noCommit
msstore publish ./my-app --noCommit

Publish with gradual rollout

灰度发布

msstore publish ./my-app --packageRolloutPercentage 10
undefined
msstore publish ./my-app --packageRolloutPercentage 10
undefined

flights - Package Flight Management

flights - 包航班管理

Manage package flights (beta testing groups).
Sub-CommandDescription
list
List all flights for an app
get
Get flight details
delete
Delete a flight
create
Create a new flight
submission
Manage flight submissions
管理包航班(beta测试组)。
子命令描述
list
列出应用的所有航班
get
获取航班详情
delete
删除航班
create
创建新航班
submission
管理航班提交

List Flights

列出航班

bash
msstore flights list <productId>
bash
msstore flights list <productId>

Get Flight Details

获取航班详情

bash
msstore flights get <productId> <flightId>
bash
msstore flights get <productId> <flightId>

Create Flight

创建航班

bash
msstore flights create <productId> <friendlyName> --group-ids <group-ids>
Options:
OptionDescription
-g, --group-ids
Flight group IDs (comma-separated)
-r, --rank-higher-than
Flight ID to rank higher than
bash
msstore flights create <productId> <friendlyName> --group-ids <group-ids>
选项:
选项描述
-g, --group-ids
航班组ID(英文逗号分隔)
-r, --rank-higher-than
排序优先级高于指定航班ID

Delete Flight

删除航班

bash
msstore flights delete <productId> <flightId>
bash
msstore flights delete <productId> <flightId>

Flight Submissions

航班提交管理

bash
undefined
bash
undefined

Get flight submission

获取航班提交

msstore flights submission get <productId> <flightId>
msstore flights submission get <productId> <flightId>

Publish flight submission

发布航班提交

msstore flights submission publish <productId> <flightId>
msstore flights submission publish <productId> <flightId>

Check flight submission status

检查航班提交状态

msstore flights submission status <productId> <flightId>
msstore flights submission status <productId> <flightId>

Poll flight submission

轮询航班提交状态

msstore flights submission poll <productId> <flightId>
msstore flights submission poll <productId> <flightId>

Delete flight submission

删除航班提交

msstore flights submission delete <productId> <flightId>
undefined
msstore flights submission delete <productId> <flightId>
undefined

Flight Rollout Management

航班发布管理

bash
undefined
bash
undefined

Get rollout status

获取发布状态

msstore flights submission rollout get <productId> <flightId>
msstore flights submission rollout get <productId> <flightId>

Update rollout percentage

更新发布百分比

msstore flights submission rollout update <productId> <flightId> <percentage>
msstore flights submission rollout update <productId> <flightId> <percentage>

Halt rollout

暂停发布

msstore flights submission rollout halt <productId> <flightId>
msstore flights submission rollout halt <productId> <flightId>

Finalize rollout (100%)

完成发布(全量100%)

msstore flights submission rollout finalize <productId> <flightId>
undefined
msstore flights submission rollout finalize <productId> <flightId>
undefined

Common Workflows

常用工作流

Workflow 1: First-Time Store Setup

工作流1:首次商店配置

bash
undefined
bash
undefined

1. Install the CLI

1. 安装CLI

winget install "Microsoft Store Developer CLI"
winget install "Microsoft Store Developer CLI"

2. Configure credentials (get these from Partner Center)

2. 配置凭证(从Partner Center获取这些值)

msstore reconfigure --tenantId $TENANT_ID --sellerId $SELLER_ID --clientId $CLIENT_ID --clientSecret $CLIENT_SECRET
msstore reconfigure --tenantId $TENANT_ID --sellerId $SELLER_ID --clientId $CLIENT_ID --clientSecret $CLIENT_SECRET

3. Verify configuration

3. 验证配置

msstore info
msstore info

4. List your apps to confirm access

4. 列出你的应用确认访问权限

msstore apps list
undefined
msstore apps list
undefined

Workflow 2: Initialize and Publish New App

工作流2:初始化并发布新应用

bash
undefined
bash
undefined

1. Navigate to project

1. 进入项目目录

cd my-winui-app
cd my-winui-app

2. Initialize for Store (creates/updates app identity)

2. 初始化用于商店发布(创建/更新应用标识)

msstore init .
msstore init .

3. Package the application

3. 打包应用

msstore package . --arch x64,arm64
msstore package . --arch x64,arm64

4. Publish to Store

4. 发布到商店

msstore publish .
msstore publish .

5. Check submission status

5. 检查提交状态

msstore submission status <productId>
undefined
msstore submission status <productId>
undefined

Workflow 3: Update Existing App

工作流3:更新现有应用

bash
undefined
bash
undefined

1. Build your updated application

1. 构建更新后的应用

dotnet publish -c Release
dotnet publish -c Release

2. Package and publish

2. 打包并发布

msstore publish ./my-app
msstore publish ./my-app

Or publish from existing package

或者从现有包发布

msstore publish ./my-app --inputFile ./artifacts/MyApp.msixupload
undefined
msstore publish ./my-app --inputFile ./artifacts/MyApp.msixupload
undefined

Workflow 4: Gradual Rollout

工作流4:灰度发布

bash
undefined
bash
undefined

1. Publish with initial rollout percentage

1. 按初始百分比发布

msstore publish ./my-app --packageRolloutPercentage 10
msstore publish ./my-app --packageRolloutPercentage 10

2. Monitor and increase rollout

2. 监控并提高发布比例

msstore submission poll <productId>
msstore submission poll <productId>

3. (After validation) Finalize to 100%

3. (验证通过后)全量发布

This completes via Partner Center or submission update

可以通过Partner Center或提交更新完成该操作

undefined
undefined

Workflow 5: Beta Testing with Flights

工作流5:使用航班进行beta测试

bash
undefined
bash
undefined

1. Create a flight group in Partner Center first

1. 先在Partner Center创建航班组

Then create a flight

然后创建航班

msstore flights create <productId> "Beta Testers" --group-ids "group-id-1,group-id-2"
msstore flights create <productId> "Beta Testers" --group-ids "group-id-1,group-id-2"

2. Publish to the flight

2. 发布到该航班

msstore publish ./my-app --flightId <flightId>
msstore publish ./my-app --flightId <flightId>

3. Check flight submission status

3. 检查航班提交状态

msstore flights submission status <productId> <flightId>
msstore flights submission status <productId> <flightId>

4. After testing, publish to production

4. 测试完成后,发布到生产环境

msstore publish ./my-app
undefined
msstore publish ./my-app
undefined

Workflow 6: CI/CD Pipeline Integration

工作流6:CI/CD流水线集成

yaml
undefined
yaml
undefined

GitHub Actions example

GitHub Actions示例

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
undefined
name: Publish to Store
on: release: types: [published]
jobs: publish: runs-on: windows-latest steps: - uses: actions/checkout@v4
  - name: 配置.NET
    uses: actions/setup-dotnet@v4
    with:
      dotnet-version: '9.0.x'
  
  - name: 安装msstore CLI
    run: winget install "Microsoft Store Developer CLI" --accept-package-agreements --accept-source-agreements
  
  - name: 配置商店凭证
    run: |
      msstore reconfigure --tenantId ${{ secrets.TENANT_ID }} --sellerId ${{ secrets.SELLER_ID }} --clientId ${{ secrets.CLIENT_ID }} --clientSecret ${{ secrets.CLIENT_SECRET }}
  
  - name: 构建应用
    run: dotnet publish -c Release
  
  - name: 发布到商店
    run: msstore publish ./src/MyApp
undefined

Integration with winapp CLI

与winapp CLI集成

The winapp CLI (v0.2.0+) integrates with msstore via the
winapp store
subcommand:
bash
undefined
winapp CLI(v0.2.0+)通过
winapp store
子命令与msstore集成:
bash
undefined

These commands are equivalent:

以下命令等效:

msstore reconfigure --tenantId xxx --clientId xxx --clientSecret xxx winapp store reconfigure --tenantId xxx --clientId xxx --clientSecret xxx
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
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.
msstore publish ./my-app winapp store publish ./my-app

如果你想要统一的打包和发布CLI体验,可以使用`winapp store`。

Troubleshooting

问题排查

IssueSolution
Authentication failedVerify credentials with
msstore info
; re-run
msstore reconfigure
App not foundEnsure the product ID is correct; run
msstore apps list
to verify
Insufficient permissionsCheck Azure AD app role in Partner Center (needs Manager or Developer)
Package validation failedEnsure package meets Store requirements; check Partner Center for details
Submission stuckRun
msstore submission poll <productId>
to check status
Flight not foundVerify flight ID with
msstore flights list <productId>
Rollout percentage invalidValue must be between 0 and 100
Init fails for PWAEnsure URL is publicly accessible and has valid web app manifest
问题解决方案
身份验证失败
msstore info
验证凭证;重新运行
msstore reconfigure
未找到应用确认产品ID正确;运行
msstore apps list
验证
权限不足检查Partner Center中的Azure AD应用角色(需要管理员或开发者权限)
包验证失败确认包符合商店要求;查看Partner Center获取详情
提交卡住运行
msstore submission poll <productId>
检查状态
未找到航班运行
msstore flights list <productId>
验证航班ID
发布百分比无效值必须在0到100之间
PWA初始化失败确认URL可公开访问且有有效的Web应用清单

Environment Variables

环境变量

The CLI supports environment variables for credentials:
VariableDescription
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
CLI支持使用环境变量存储凭证:
变量描述
MSSTORE_TENANT_ID
Azure AD租户ID
MSSTORE_SELLER_ID
Partner Center卖家ID
MSSTORE_CLIENT_ID
Azure AD应用客户端ID
MSSTORE_CLIENT_SECRET
客户端密钥

References

参考资料