-
Notifications
You must be signed in to change notification settings - Fork 869
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[enhancement]: support unattended configuration with a service principal #4641
Comments
@afeld thanks for reporting this. We will check if we can add a new flag to the config. |
Just had the same issue. We do have a pat based version running in docker and kubernetes. But to reduce complexity it would be great to add the missing flags. |
I looked at the agent code and the service principal support exists but is not well documented.
azure-pipelines-agent/src/Microsoft.VisualStudio.Services.Agent/Constants.cs Lines 140 to 141 in 57947b0
It also honors their respective environment variables:
using the mechanism described in https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/v2-linux-agent?view=azure-devops#unattended-config |
This issue has had no activity in 180 days. Please comment if it is not actually stale |
Hey, sorry for the slow response. You were correct about those different flags, but it took a while for me to get the whole thing working. Updated the docs with what I found: MicrosoftDocs/azure-devops-docs#14154 Thanks for the help! |
Oops, I should have said explicitly: |
Describe your feature request here
The
./config.sh
doesn't seem to have flags to allow use of a service principal - more details in https://github.com/MicrosoftDocs/azure-devops-docs/issues/13864#issuecomment-1928675057. Thanks!The text was updated successfully, but these errors were encountered: