The API documentation starts here: https://docs.microsoft.com/en-us/windows/uwp/monetize/using-windows-store-services
This repository exposes a bug in the 'get all' or 'get specific range' MSFT Dev Center Store API as documented. Neither the 'get all' or 'get specific range' will return more than the first 10 store apps.
-
Dev Center account with more than 10 published applications.
-
Azure AD Tenant (Di)rectory ID)
-
Client ID of the Azure AD registered program permitted access through the Dev Center
-
Client Secret (write it down!) of the Azure AD registered program permitted access through the Dev Center
Grant Dev Center access to an Azure AD registered program by going to: 'Partner Center'=>(gear icon)=>'Developer Settings'=>'Users'=>'Add Azure AD applictions' button.
NOTE: This example should be understood by reading Program.cs.
- Open * Create and manage submissions
- Skip down to Step 1: Complete prerequisites for using the Microsoft Store submission API
- In this section it first asks that you "first have an Azure AD". If you have an Azure account, near as I can tell, you have a free Azure AD.
- But whatyou haven't done, probably, is associate your AD with your Windows Dev Center (Partner Dashboard) account. You need to dig down into the section Connect your organization to your Dev Center account - Add or associate Azure Active Directory. By the way, this is found through the "partner dashboard". Then one clicks the "gear" icon in the upper right. Then one selects "Developer settings" from the drop-down menu. This takes you to a page called "Account settings". In the left margin there is the menu option Tenants. On this page there is a button "Associate Azure AD with your Dev Center account".
-
I had already registered in my associated Azure AD Tenant the app 'StoreAppInfoAPI'.
-
When I added this app with 'Manager' priviledges (required by above MSFT docs), I was able to access the following information:
-
Name: StoreAppInfoAPI info accessed by: https://partner.microsoft.com/en-us/dashboard/Account/App => (upper-right gear icon dropdown) => Developer settings => Settings:Users => (click StoreAppInfoAPI)
-
OR you 'Add Azure AD application' as a 'Manager'
- Instructions gotten from: https://docs.microsoft.com/en-us/windows/uwp/monetize/access-analytics-data-using-windows-store-services (Step 1: Complete prerequisites for using the Microsoft Store analytics API)
Which allowed me to see:
- Tenant ID: <your Azure AD Tenant (directory) ID here.>
- Client ID:
- Reply URL:
- App ID URI:
- Keys: <you only get to see this once so write it down>
- Instructions on how exactly to use an HTTP Post request to get your Azure AD access token for getting to the Dev Center API
- If you need an easy way to test your HTTP/S POST request use Google Chrome and the Chrome Web Store application 'Postman'. You have to download that from the Google Chrome Store.
I modified this example of code to pull down an Azure Token and query the Dev Center API for an app so that it would attempt to get a listing for all and a specific range of apps.