Share via


Prerequisites to programmatically access analytics data for Microsoft Marketplace

Before you can programmatically access Microsoft Marketplace analytics data, you need to meet the following requirements.

Microsoft Marketplace enrollment

To access Microsoft Marketplace analytics data programmatically, you need to be enrolled in Microsoft Marketplace program and have a Partner Center account. To learn how, see Create a Microsoft Marketplace account in Partner Center.

Create Microsoft Entra application

Regular user credentials can't be used for programmatic access of Microsoft Marketplace analytics data. A Microsoft Entra application needs to be created along with a secret to access the analytics APIs.

To learn how to create a Microsoft Entra application and secret, see Quickstart: Register an application with the Microsoft identity platform.

Associate the Microsoft Entra application to the Partner Center tenant

The Microsoft Entra application you created in the Azure portal needs to be linked to your Partner Center account. The steps are as follows:

  1. Sign in to Partner Center.
  2. In the upper right, select the gear icon and then select Account settings.
  3. In the Account settings menu, select User management.
  4. Select Microsoft Entra applications then + Create Microsoft Entra application.
  5. Select the Microsoft Entra application you created on the Azure portal, then Next.
  6. Select the Manager(Windows) checkbox and then select Add.

Generate a Microsoft Entra token

You need to Generate a Microsoft Entra token using the Application (client) ID. This ID helps to uniquely identify your client application in the Microsoft identity platform and the client secret from the previous step. For the steps to generate a Microsoft Entra token, see Service to service calls using client credentials (shared secret or certificate).

Note

The token is valid for one hour.