Graph API and B2C

Abhay Chandramouli 1,001 Reputation points
2022-11-11T07:45:56.93+00:00

Hi,
I used the custom policy to log a user in and get the access token. This is Azure AD B2C
Now I am trying to use the token to change password via Postman https://graph.microsoft.com/v1.0/me/changePassword

But I am getting the following error

{
"error": {
"code": "InvalidAuthenticationToken",
"message": "Access token validation failure. Invalid audience.",
"innerError": {
"date": "2022-11-11T07:32:57",
"request-id": "f28a8603-8780-4da7-85ac-91e8a78ae5f7",
"client-request-id": "f28a8603-8780-4da7-85ac-91e8a78ae5f7"
}
}
}

Can someone help ?

Microsoft Security | Microsoft Entra | Microsoft Entra External ID
Microsoft Security | Microsoft Graph
0 comments No comments

1 answer

Sort by: Oldest
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.

    2 deleted comments

    Comments have been turned off. Learn more

Your answer

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