Hi, I am trying to create a containerapp with az cli using the following params
az containerapp create --name aca-az2003 --resource-group $RG1 --environment environmentforacontpps --registry-identity $spID --registry-server acraz2003.azurecr.io --image aspnetcorecontainer:latest --ingress external
I used the $spID that I retrived it with
$spID=$(az identity show --resource-group $rg1 --name uai-az2003 --query principalId --output tsv)
where is the user-assigned identity but getting an error
--registry-identity must be an identity resource ID or 'system' or 'system-environment'
So is identity resource ID means the id for the acr? I did but also erroring