-
Notifications
You must be signed in to change notification settings - Fork 3.4k
az acr task credential add crashes when given a password but no username #23340
Copy link
Copy link
Closed
Labels
Auto-AssignAuto assign by botAuto assign by botCXP AttentionThis issue is handled by CXP team.This issue is handled by CXP team.Container Registryaz acraz acrcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Metadata
Metadata
Assignees
Labels
Auto-AssignAuto assign by botAuto assign by botCXP AttentionThis issue is handled by CXP team.This issue is handled by CXP team.Container Registryaz acraz acrcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Type
Fields
Give feedbackNo fields configured for issues without a type.
This is autogenerated. Please review and update as needed.
Describe the bug
When running
az acr task credential addI ran into this error message. Because the error message referenced aNoneTypeI figured I was missing something and it turned out to be the username. The command worked correctly after I ran it with the username, but this should probably give an error message rather than giving a stack trace.Command Name
az acr task credential addErrors:
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
az acr task credential add --login-server {} --name {} --registry {} --password {} --subscription {}Expected Behavior
Show an error message.
Environment Summary
Additional Context