CmdID / az / az acr / az acr connected-registry
az acr connected-registry repo
Update all the necessary connected registry sync scope maps repository permissions. Azure CLI reference
2 options Its page in the Azure CLI reference
Options
--addrepository permissions to be added to the targeted connected registry and it's ancestors sync scope maps.--removerepository permissions to be removed from the targeted connected registry and it's succesors sync scope maps.