diff --git a/How-to-use-Azure-DNS.md b/How-to-use-Azure-DNS.md index f55c9ca..fe42f8c 100644 --- a/How-to-use-Azure-DNS.md +++ b/How-to-use-Azure-DNS.md @@ -124,7 +124,7 @@ dnscustomrole='{ }' az role definition create --role-definition "$dnscustomrole" # Create a new service principal and grant permissions to modify TXT recornds in the give DNS Zone -az ad sp create-for-rbac --name "AcmeDnsValidator" --role "DNS TXT Contributor" --scopes "/subscriptions/12345678-9abc-def0-1234-567890abcdef/resourceGroups/exampledns_rg/providers/Microsoft.Network/dnszones/example.com +az ad sp create-for-rbac --name "AcmeDnsValidator" --role "DNS TXT Contributor" --scopes "/subscriptions/12345678-9abc-def0-1234-567890abcdef/resourceGroups/exampledns_rg/providers/Microsoft.Network/dnszones/example.com" # or grant an existing service principal permissions to modify TXT recornds in the give DNS Zone #az role assignment create --assignee 3b5033b5-7a66-43a5-b3b9-a36b9e7c25ed --scope "/subscriptions/12345678-9abc-def0-1234-567890abcdef/resourceGroups/exampledns_rg/providers/Microsoft.Network/dnszones/example.com" --role "DNS TXT Contributor"