Open dfknowlesLittle opened 3 years ago
UPDATE: I was able to resolve this issue by substituting the $appregname with the appId which was retrieved as part of the following step: appreg=$(az ad sp create-for-rbac --name ${appregname} --skip-assignment) && echo $appreg | jq
Please update deploy-azure-resources.md by replacing $appregname with $appid
appregobjectid=$(az ad sp show --id $appid --query objectId -o tsv) && echo $appregobjectid
Thanks @AndersRod -- strangely, both options work fine for me. But it's probably a little clearer to use $appid, so I'll make the change
UPDATE: I was able to resolve this issue by substituting the $appregname with the appId which was retrieved as part of the following step: appreg=$(az ad sp create-for-rbac --name ${appregname} --skip-assignment) && echo $appreg | jq
When I run the command: appregobjectid=$(az ad sp show --id $appregname --query objectId -o tsv) && echo $appregobjectid
I get the following message: ERROR: Service principal 'http://appregname' doesn't exist
Has anyone else run into this? If so, how have you been able to resolve it?