Skip to content

Commit bfee76d

Browse files
authored
Merge pull request #194131 from duongau/patch-2
AFD (classic) custom domains update CLI command
2 parents a78ee76 + 78fa1de commit bfee76d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

articles/frontdoor/front-door-custom-domain-https.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ Register the service principal for Azure Front Door as an app in your Azure Acti
109109
2. In CLI, run the following command:
110110
111111
```azurecli-interactive
112-
az ad sp create --id ad0e1c7e-6d38-4ba4-9efd-0bc77ba9f037 --role Contributor
112+
SP_ID=$(az ad sp create --id 205478c0-bd83-4e1b-a9d6-db63a3e1e1c8 --query objectId -o tsv)
113+
az role assignment create --assignee $SP_ID --role Contributor
113114
```
114115
115116
#### Grant Azure Front Door access to your key vault

0 commit comments

Comments
 (0)