-
Notifications
You must be signed in to change notification settings - Fork 0
Microsoft Store Credentials
Spaccesi edited this page Mar 4, 2026
·
1 revision
Remember, documentation is king. For the full official reference, see Create and manage submissions using Microsoft Store services — Microsoft Learn.
This guide walks you through setting up Microsoft Partner Center API access for automated Windows app publishing, and storing the credentials as GitHub repository secrets.
- A Microsoft Partner Center developer account
- Access to the Azure Portal
- Your app must already be registered in Partner Center
Important: The first submission for your app must be completed manually through Partner Center, including answering the age ratings questionnaire. Only after this initial manual submission will you be able to create and manage subsequent submissions programmatically via the API.
- Go to Microsoft Partner Center
- Navigate to Account Settings > Organization profile > Identifiers
- Note your:
- Seller ID — your Partner Center seller identifier
- Tenant ID — your Azure AD tenant ID
- Go to the Azure Portal
- Navigate to Azure Active Directory > App registrations
- Click New registration
- Fill in:
-
Name — e.g.,
Store CI/CD Publisher - Supported account types — select Single tenant
-
Name — e.g.,
- Click Register
- Note the Application (client) ID from the overview page
- In your app registration, go to Certificates & secrets
- Click New client secret
- Enter a description (e.g.,
CI/CD secret) and choose an expiration period - Click Add
- Copy the secret value immediately — it will not be shown again
- Go back to Microsoft Partner Center
- Navigate to Account Settings > User management > Azure AD applications
- Click Add Azure AD application
- Find and select the app registration you created in Step 2
- Grant it the Developer role (minimum required for publishing)
- Click Save
- In Partner Center, go to Apps and games
- Select your app
- Note the Store ID or App ID from the app identity page
Go to Your repository > Settings > Secrets and variables > Actions and create the following secrets:
| Secret name | Value |
|---|---|
MICROSOFT_PARTNER_CENTER_TENANT_ID |
Azure AD Tenant ID from Step 1 |
MICROSOFT_PARTNER_CENTER_SELLER_ID |
Partner Center Seller ID from Step 1 |
MICROSOFT_PARTNER_CENTER_CLIENT_ID |
Azure AD App Client ID from Step 2 |
MICROSOFT_PARTNER_CENTER_CLIENT_SECRET |
Client secret value from Step 3 |
MICROSOFT_STORE_APP_ID |
App ID from Step 5 |
- name: Publish to Microsoft Store
uses: Spaccesi/flutter-actions-suite/publish/microsoft-store@main
with:
microsoft-partner-center-tenant-id: ${{ secrets.MICROSOFT_PARTNER_CENTER_TENANT_ID }}
microsoft-partner-center-seller-id: ${{ secrets.MICROSOFT_PARTNER_CENTER_SELLER_ID }}
microsoft-partner-center-client-id: ${{ secrets.MICROSOFT_PARTNER_CENTER_CLIENT_ID }}
microsoft-partner-center-client-secret: ${{ secrets.MICROSOFT_PARTNER_CENTER_CLIENT_SECRET }}
microsoft-store-app-id: ${{ secrets.MICROSOFT_STORE_APP_ID }}| Step | Action |
|---|---|
| 1 | Note your Seller ID and Tenant ID from Partner Center |
| 2 | Register an Azure AD application |
| 3 | Create a client secret for the Azure AD app |
| 4 | Associate the Azure AD app with Partner Center |
| 5 | Note your Microsoft Store App ID |
| 6 | Store all five values as GitHub secrets |
| 7 | Reference the secrets in your workflow |
@