You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
When using the Azure CLI pipeline step (atlassian/azure-cli-run) we notice that service principals that have a generated password that starts with a dash (`-`) are not supported.
The CLI spits out an error stating that you must use a different CLI argument to support them.
Eg calling this fails:
az login --service-principal -u <CLIENT_ID> -p <CLIENT_SECRET_WITH_HYPHEN> --tenant <TENANT_ID>
See:
azure-docs-cli/use-cli-effectively.md at leading-dash · jiasli/azure-docs-cli (github.com)
To fix this I am manually using the azure cli docker image and calling the CLI manually like this:
az login --service-principal -u=$AZURE_APP_ID -p=$AZURE_PASSWORD --tenant=$AZURE_TENANT_ID
Notice the
-p=