Retrieve a list of indirect resellers error

선 승우 1 Reputation point
2021-06-11T01:15:52.57+00:00

We have about 180 indirect resellers. The following api was called to get the tenant ID of the indirect reseller:
https://learn.microsoft.com/en-us/partner-center/develop/retrieve-a-list-of-indirect-resellers
However, the error below occurs.

{
"code": 400,
"message": "Access Denied",
"description": "Access Denied",
"errorName": "AccessDeniedCode400BadRequestFromPartnerApi",
"isRetryable": false,
"errorMessageExtended": "InternalErrorCode=400"
}

The header token was imported and used using a refresh token.
https://learn.microsoft.com/en-us/partner-center/develop/enable-secure-app-model

What is the reason for the Access Denied error and what permissions should I give you in the Azure AD app setting?
Or is there a separate way to get the tenant ID of the indirect reseller?

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.
316 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. 선 승우 1 Reputation point
    2021-06-14T05:11:07.503+00:00

    I didn't change my permission, but I can check it out all of a sudden.