how to fix this request

evgenii 0 Reputation points
2024-03-06T04:27:46.5933333+00:00

I get access token for this url https://login.microsoftonline.com/f512a914-8d0c-4180-801a-5cdc343a7bbf/oauth2/token , then post-request for https://manage.devcenter.microsoft.com/v1.0/my/applications whith token in headers key - Authorization and value Bearer {my_access_token}, but i have errror

{
    "code": "Unauthorized",
    "message": "Identity cannot be authorized. CorrelationId: 5dcafd45-69d8-4b36-ac34-327ec7cd4413"
}
Microsoft Partner Center Other
{count} votes

1 answer

Sort by: Most helpful
  1. Vinodh247 34,661 Reputation points MVP Volunteer Moderator
    2024-03-06T05:45:42.5+00:00

    Hi ,

    Thanks for reaching out to Microsoft Q&A.

    Token authorization issue. Can you ensure that the OAuth2 token you’re using is correctly issued and valid. Also did you validated the token using postman? what error did you get from there?

    Please 'Upvote'(Thumbs-up) and 'Accept' as an answer if the reply was helpful. This will benefit other community members who face the same issue.


Your answer

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