I didn't change my permission, but I can check it out all of a sudden.
Retrieve a list of indirect resellers error
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?