Azure / Azure/azure-powershell

Update-AzContainerRegistryCredential failed with binding issue

Open
#24,302 4 comments 0 reactions 0 assignees View on GitHub
act-observability-squad bug Container Registry customer-reported needs-team-attention Tracking
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
2d 17h
Merged PRs (30d)
51

Description

### Description

I'm from an internal team. I tried "Update-AzContainerRegistryCredential -ResourceGroupName "AAA" -Name "BBB" -PasswordName Password" To rotate ACR access key. But faced the issue below. It works in different infra, but in the national cloud, it failed.

### Script or Debug output

"Cannot bind parameter because parameter 'ResourceGroupName' is specified more than once. To provide mutiple values to parameters that can accept multiple values, use the array syntax. For example, "-parameter value1,value2,value3""

### Environment data

one national cloud

### Module versions

_No response_

### Error output

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.