question

ssstestpbix-6504 avatar image
0 Votes"
ssstestpbix-6504 asked JamesTran-MSFT answered

error": "invalid_grant", "error_description": "AADSTS50126: Error validating credentials due to invalid username or password.\r\nTrace ID:

I am calling Https://login.microsoftonline.com/<MyTenantId>/oauth2/token from postman to get the referesh token. but getting

error": "invalid_grant",
"error_description": "AADSTS50126: Error validating credentials due to invalid username or password.\r\nTrace ID:

Even i have tried with 4 users credentials in that 3 are admin users . getting same issue.

Any one please suggest me to resolve this issue.

azure-active-directoryazure-ad-app-registration
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

As this is more of an Azure Active Directory question, I added the AAD tag.

0 Votes 0 ·

1 Answer

JamesTran-MSFT avatar image
0 Votes"
JamesTran-MSFT answered

@ssstestpbix-6504
Thank you for your post and I apologize for the delayed response!

When it comes to getting a refresh token from Postman, can you try using your App Registrations ClientID and Secret, to see if that helps resolve your issue.

93367-image.png


If you're still having issues getting a refresh token using Postman, please let me know.
Thank you for your time and patience throughout this issue.


image.png (43.5 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.