ClientIdNotAuthorized Error on consume API Despite Using a Valid Access Token
창신 유
5
Reputation points
I'm encountering an authorization issue when calling the Microsoft Store Service API's consume
endpoint:
https://collections.mp.microsoft.com/v8.0/collections/consume
The response received is:
{
"code": "Unauthorized",
"data": [],
"details": [],
"innererror": {
"code": "ClientIdNotAuthorized",
"data": [
"ClientIdNotAuthorized",
"Client id specified in request is not authorized to use this resource",
"639e370d-da8b-4c60-a6cb-80749ea72248"
],
"details": [],
"message": "The client id is not authorized for this operation.",
"source": "CollectionsFD"
},
"message": "The client is not authorized to perform the requested operation.",
"source": "CollectionsFD"
}
Notably, the exact same access token works with the following endpoints:
-
https://collections.mp.microsoft.com/v9.0/collections/publisherQuery
-
https://collections.mp.microsoft.com/v8.0/collections/b2bLicensePreview
I'm looking for guidance on:
- Whether there are additional scopes or roles required specifically for the
consume
endpoint. - Any configuration changes in the app registration or token generation process that might be necessary.
- Relevant documentation or known issues regarding access to the
consume
resource.
Any insights or pointers would be greatly appreciated!
Sign in to answer