Other features or issues related to Microsoft Partner Center
To update apps in the Microsoft Store programmatically (for example via the Microsoft Store submission API or Visual Studio’s automatic submission), a Microsoft Entra ID (Azure AD) application with a client ID and client secret is required. The high-level steps are:
- Associate Partner Center with Microsoft Entra ID
- In Partner Center, associate the organization’s Partner Center account with the Microsoft Entra ID directory.
- From Account settings → Users, add or create the Microsoft Entra ID application that will access submissions and assign it the Manager role.
- Get tenant ID and client ID from Partner Center
- In Partner Center, go back to Account settings → Users.
- Select the Microsoft Entra ID application that was added.
- Copy the Tenant ID and Client ID values.
- Create a client secret (key) for the app
Option A – From Azure portal (recommended for Store submission API):
- Sign in to the Azure portal.
- Select Microsoft Entra ID → App registrations → select the application.
- Go to Certificates & secrets → Client secrets → New client secret.
- Add a description and choose an expiration (up to 24 months; Microsoft recommends less than 12 months).
- Select Add, then immediately copy and securely store the secret value; it will not be shown again.
- In Partner Center, go to the page to create or update client IDs and secrets.
- Provide:
- Friendly name (for example, “store submission app”).
- App domain (for example,
app.contoso.com, withouthttp://orhttps://). - App redirect URL (must start with
https://,http://, orms-app://).
- Choose Create secret now.
- Select a validity period (1, 2, or 3 years) and the availability (worldwide or China only).
- Confirm to create the secret, then copy and securely store the client ID and client secret and their validity dates; they will not be shown again.
- Use client ID and client secret to obtain an access token
For the Microsoft Store submission API (MSI/EXE apps):
- Send an HTTP POST to:
https://login.microsoftonline.com/<tenant-id>/oauth2/v2.0/token - Use form-encoded body:
grant_type=client_credentials &client_id=<your_client_id> &client_secret=<your_client_secret> &scope=https://api.store.microsoft.com/.default - Use the returned access token in the
Authorization: Bearer <token>header when calling the Store submission API.
- Send an HTTP POST to:
- Configure automatic Store submissions in Visual Studio (optional)
- In Visual Studio’s Create App Packages wizard, select Automatically submit to the Microsoft Store after Windows App Certification Kit validation and choose Reconfigure.
- Enter the Azure tenant ID, Client ID, and Client key (client secret).
- Visual Studio will use these credentials to submit updates to the Store.
Keep the client secret secure and track its expiration. When it is close to expiring, generate a new secret and update any tools or services that use it.
References: