Skip to content
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

[BUG]: ARM template deployment az login fails when using certificate for authentication #20722

Open
4 of 7 tasks
KKing299 opened this issue Dec 10, 2024 · 2 comments
Open
4 of 7 tasks

Comments

@KKing299
Copy link

KKing299 commented Dec 10, 2024

New issue checklist

Task name

ARM template deployment

Task version

3.*

Issue Description

Same issue that we had with Azure CLI a few weeks back. ARM template deployment task needs to change the parameter "--password" with "certificate". Looks like ARM template deployment task utilizes AZ CLI for auth. That's where the issue is. Please read below the log.

We need this fixed ASAP! This is breaking all production pipelines.

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

windows-latest

Relevant log output

Log -
2024-12-10T11:57:51.4300005Z [command]C:\Windows\system32\cmd.exe /D /S /C ""C:\Program Files\Microsoft SDKs\Azure\CLI2\wbin\az.cmd" login --service-principal -u *** "--password=D:\a\_temp\spnCert.pem" --tenant {REMOVED} --allow-no-subscriptions"

Full task logs with system.debug enabled

 [REPLACE THIS WITH YOUR INFORMATION] 

Repro steps

@KKing299
Copy link
Author

Any updates, please? This is breaking production setup

@KKing299
Copy link
Author

Any updates on this please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant