Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,560,262
Community Members
 
Community Events
185
Community Groups

Azure CLI pipeline with dash password

Edited

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)

Add instruction for passing argument with leading dash by jiasli · Pull Request #2318 ·  MicrosoftDocs/azure-docs-cli (github.com)

`az login -u <username> -p <password>` does not work if <password> starts with a hyphen · Issue #15493 · Azure/azure-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=

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events