Getting 403 forbidden error message when invoking partnercenter ratecards and license APIs

Durjan Hussain 155 Reputation points
2024-10-30T11:26:43.2366667+00:00

Hello team,

We are getting 403 forbidden error message when invoking partnercenter, ratecards and license APIs.

https://api.partnercenter.microsoft.com/v1/ratecards/azure-shared

https://api.partnercenter.microsoft.com/v1/ratecards/licenses

We have already given this permission.

User's image

And can't find AdminAgent role in Partner Center. According to the below documentation.

Required Role in Partner Center

The calling account (either the app’s Service Principal or the user on whose behalf the app is acting) must have the AdminAgent role in Partner Center. This role grants access to sensitive billing and rate card data.

  • Assign the AdminAgent role in the Partner Center portal to the appropriate users or Service Principal.

Many thanks,

Durjan

Microsoft Partner Center API
Microsoft Partner Center API
Microsoft Partner Center: A Microsoft website for partners that provides access to product support, a partner community, and other partner services.API: A software intermediary that allows two applications to interact with each other.
344 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.