Azure access token invalid
JOSHI, AYUSH
1
Reputation point
Hi Team,
I am facing an issue in which I am getting a 203 response for PAT creation REST Api.
I am generating the access token against my user in the AAD using the following endpoint :
https://login.microsoftonline.com/{{ tenantid }}/oauth2/v2.0/token
and username, password, client_id, grant_type as password, scope in the body
and I am using the generated token for calling the following API endpoint :
https://vssps.dev.azure.com/shcgravity/_apis/tokens/pats?api-version=6.1-preview.1
but I am getting a 203 response.
Note : the user has app has permission as user_impersonation