Facing "Authorization header token missing user information" error when using api.partner.microsoft.com

Miroslav Karpíšek 0 Reputation points
2024-07-04T13:39:29.4466667+00:00

Hi,

Im having issues to query

https://api.partner.microsoft.com/v1.0/payouts/transactionhistory

Where Im getting HTTP 400 with a quite generic error message: Authorization header token missing user information

My current workflow:

  1. obtain access token using client_secret

using https://login.microsoftonline.com/{{tenant}}/oauth2/token

client_id:<CLIENT_ID>
client_secret:<CLIENT_ID_SECRET>
grant_type:client_credentials
resource:https://api.partner.microsoft.com
  1. query https://api.partner.microsoft.com/v1.0/payouts/transactionhistory using the access token obtained in the previous step.

Thank you for your help in advance.

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