Forum Discussion
MAK89
7 years agoFrequent Visitor
Cannot get PowerBI Access token
Here's the error I get while trying to get the access token. {
"error": "invalid_grant",
"error_description": "AADSTS70002: Error validating credentials. AADSTS50126: Invalid username or password...
TedPattison
7 years agoMicrosoft Employee
Are you using a Azure AD application which is registered as a Native client as opposed to Web app / API. The Native client is the only type of that supports the Password credential flow. This might not be the issue but I thought I would call it out just in case.
MAK89
7 years agoFrequent Visitor
Yes I'm using an Azure AD app registration of type "Native" in this case. Also, I'm using .NET Core 2.0 app.