Is there "Service Account User" concept in AzureDevOps

Viewed 5004

I'm working on Automation using AzureDevOps and wondering if there is a simple way to have a service user account i.e. account which creds never expires and can access AzureDevOps only via API.

I want to re-use this user credentials in my automation scripts but don't want to have user which can login to though UI.

Is there "Service Account User" concept in AzureDevOps.

P.S.

I know that pipelines provides ability to use OAuth token but what if I want to run automation outside the pipelines.

1 Answers

There is no service account you need to create additional user and use PAT token to make automation out side pipelines. If you will use OAuth token to automation in pipeline then you are able to use Service Project Collection Build Service Accounts meaning build service account will be you service user and fot this you do not need PAT but then you need to run automation inside Pipelines. When creating PAT you can specified exact permission needed.

Related