8
Views
2
Comments
Unable to generate the access token
Question

Hi All,

I am unable to generate the access token as I am getting the below error. Please guide on the same.

2026-01-28 16-57-48
Mihai Melencu
Champion

Hi @Akshata Tallur ,

In the official documentation it states that the grant_type must be set to client_credentials, not password. Try updating it accordingly. 

Source: Microsoft identity platform and the OAuth 2.0 client credentials flow

UserImage.jpg
Pako

The tenant is also required. 

Posting credentials in public place is a bad idea. 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.