1

Assuming an Azure DevOps pipeline has been authorized to use a service connection. If the user that is running the pipeline does NOT have permission on the same service connection, will he/she be able to run the pipeline still? Just want to see which takes precedence.

Thanks

1 Answer 1

0

The pipeline use the service connection via pipeline service account instead of personal account. Assuming an Azure DevOps pipeline has been authorized to use a service connection. If the user that is running the pipeline does NOT have permission on the same service connection, He can still run the pipeline

Test A

I create a service connection via account A->open service connection->add yaml build in the Pipeline permissions->run the yaml build via account B, it works.

Result:

enter image description here

Test B

If I remove the yaml build in the pipeline permission and run the build, it need to permit the permission

Result:

enter image description here

Sign up to request clarification or add additional context in comments.

1 Comment

Hey Vito Liu. Thanks for the quick response and taking the time to test it. So the take-away here is that the pipeline will ignore personal account and use the pipeline service account.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.