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

Durjan Hussain 185 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
{count} votes

Your answer

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