How to deploy an app to Microsoft Store using codemagic.yaml
Codemagic enables you to automatically publish your Windows desktop app to the Microsoft Store.
For publishing, Codemagic makes use of the Microsoft Store submission API. This requires linking your Partner Center account to the Azure AD application and providing Codemagic with information that can be used to generate temporary Azure AD access tokens for managing submissions.
To link your Microsoft Partner Center account with the Azure AD application and get the necessary details (
client_secret), follow the instructions here.
It is also necessary for you to provide your
store_id, which can be found when you open the application in the Partner Center apps dashboard.
To safely store and use the
client_secret, save it as an environment variable in the Codemagic UI. Click Secure to encrypt the value.
publishing: partner_center: store_id: 1D4VKTPG38SA tenant_id: ab80a389-41e3-55a8-ae12-bb7430667e04 client_id: 52da6186-abce-14f4-b2e1-00018c16f3d1 client_secret: $CLIENT_SECRET