跳到正文
Skillpedia
部署与云(DevOps)40k · #7300

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/github/awesome-copilot/blob/main/skills/msstore-cli/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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:

  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)

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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能