File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -757,7 +757,7 @@ az group create --name $RESOURCEGROUP --location $LOCATION
757
757
az ad sp create-for-rbac --name "sp-$RG_NAME-${RANDOM}" --role Contributor > app-service-principal.json
758
758
SP_CLIENT_ID=$(jq -r '.appId' app-service-principal.json)
759
759
SP_CLIENT_SECRET=$(jq -r '.password' app-service-principal.json)
760
- SP_OBJECT_ID=$(az ad sp show --id $SP_CLIENT_ID | jq -r '.objectId ')
760
+ SP_OBJECT_ID=$(az ad sp show --id $SP_CLIENT_ID | jq -r '.id ')
761
761
```
762
762
763
763
### Assign the Contributor role to the new service principal - Azure CLI
@@ -779,7 +779,7 @@ az role assignment create \
779
779
### Get the service principal object ID for the OpenShift resource provider - Azure CLI
780
780
781
781
``` azurecli-interactive
782
- ARO_RP_SP_OBJECT_ID=$(az ad sp list --display-name "Azure Red Hat OpenShift RP" --query [0].objectId -o tsv)
782
+ ARO_RP_SP_OBJECT_ID=$(az ad sp list --display-name "Azure Red Hat OpenShift RP" --query [0].id -o tsv)
783
783
```
784
784
785
785
### Deploy the cluster - Azure CLI
You can’t perform that action at this time.
0 commit comments