Deli z drugimi prek


API Prerequisites

Note

The Cloud Partner Portal APIs are integrated with and will continue working in Partner Center. The transition introduces small changes. Review the changes listed in Cloud Partner Portal API Reference to ensure your code continues working after transitioning to Partner Center. Only use CPP APIs for existing products that were already integrated before transition to Partner Center; new products should use Partner Center submission APIs.

You need two required programmatic assets to use Cloud Partner Portal APIs: a service principal and a Microsoft Entra access token.

Create service principal in Microsoft Entra tenant

First, you need to create a service principal in your Microsoft Entra tenant. This tenant will be assigned its own set of permissions in the Cloud Partner Portal. Your code will call APIs using this tenant instead of your personal credentials. For a full explanation of creating a service principal, see How to: Use the portal to create a Microsoft Entra application and service principal that can access resources.

Add service principal to your account

Now that you've created the service principal in your tenant, you can add it as a user to your Partner Center Portal account. Just like a user, the service principal can be an owner or a contributor to the portal. For details, see Related content.