Can we create Personal Access token for Service Principal?

Brass Contributor

In the organization, add user section I have added the service principal. Can we create PAT for the same via azure devops portal or rest api?

 

 

2 Replies

I believe the answer is no. To get an short-lived access token you can create an application and use the client credentials to acquire a token.

See here for more details: https://stackoverflow.com/questions/67639199/is-it-possible-to-use-service-principal-to-access-git-r...