Jaa


Prerequisites to programmatically access analytics data for commercial marketplace

Before you can programmatically access commercial marketplace analytics data, you need to meet the following requirements.

Commercial marketplace enrollment

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

Create Microsoft Entra application

Regular user credentials can't be used for programmatic access of commercial 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.