msstore-cli
它能做什么
这是一个帮助开发者管理应用并将其发布到 Microsoft Store 的工具。你可以用它配置商店信息、提交应用,并查看提交状态。
适用场景
- ✓当你需要设置 Microsoft Store 账户凭据时。
- ✓当你想查看已在商店中上架的应用列表时。
- ✓当你要提交新应用或应用更新到 Microsoft Store 时。
技能链接
https://github.com/github/awesome-copilot/blob/main/skills/msstore-cli/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我配置 Microsoft Store 凭据,使用我的 tenant ID、client ID 和 client secret。”
每周 5 个新技能,1 分钟读完。
工作原理
该工具会使用你提供的身份验证信息连接到你的 Microsoft Store 账户。之后,你就可以发送命令来执行列出应用、查看提交状态等任务。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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.
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
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
Partner Center Setup
Before using msstore, you need to create an Azure AD application with Partner Center access:
- Go to Partner Center
- Navigate to Account settings > User management > Azure AD applications
- Create a new application and note the Tenant ID, Client ID, and Client Secret
- Grant the application appropriate permissions (Manager or Developer role)
Core Commands Reference
info - Print Configuration
Display the current credential configuration.
msstore info
Options:
| Option | Description |
|---|---|
-v, --verbose |
Print verbose output |
reconfigure - Configure Credentials
Configure or update Microsoft Store API credentials.
msstore 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:
# 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
settings - CLI Settings
Change settings of the Microsoft Store Developer CLI.
msstore settings [options]
Options:
| Option | Description |
|---|---|
-t, --enableTelemetry |
Enable (true) or disable (false) telemetry |
Set Publisher Display Name
msstore settings setpdn <publisherDisplayName>
Sets the default Publisher Display Name for the init command.
apps - Application Management
List and retrieve application information.
List Applications
msstore apps list
Lists all applications in your Partner Center account.
Get Application Details
msstore apps get <productId>
Arguments:
| Argument | Description |
|---|---|
productId |
The Store product ID (e.g., 9NBLGGH4R315) |
Example:
# Get details of a specific app
msstore apps get 9NBLGGH4R315
submission - Submission Management
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 |
Get Submission Status
msstore submission status <productId>
…
常见问题
使用这个工具需要 Microsoft Store 账户吗?
需要。你需要一个 Microsoft Store 开发者账户,并为该工具设置访问账户所需的权限。
这个工具能管理哪些类型的应用?
它可以管理多种类型的应用,包括使用 Windows App SDK/WinUI、UWP、.NET MAUI、Flutter、Electron、React Native 以及 PWA 开发的应用。
如何设置工具以使用我的 Microsoft Store 账户?
你需要使用 'reconfigure' 命令提供账户详细信息,例如 tenant ID、client ID,以及 client secret 或证书。
详情
作者的原始描述
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 applicat
repo: github/awesome-copilot
热度
- GitHub 星标
- 40k
- 排名
- #7300
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
acquire-codebase-knowledge
40k帮你的智能体理解并编写现有代码项目的文档。它有助于新成员快速上手,或者快速了解项目架构。
acreadiness-assess
40k让你的智能体评估一个项目对 AI 的准备程度,并生成报告。它有助于了解项目在使用 AI 工具方面的准备情况。
acreadiness-generate-instructions
40k帮你的智能体根据评估结果编写 AI 工具的指令文件。它有助于改善 AI 与代码的交互方式,并弥补已发现的不足。
acreadiness-policy
40k让你的智能体协助制定或应用 AI 项目评估的政策。它有助于规范项目的评估方式,并确保合规。