Skip to content

Commit 5c2c2e7

Browse files
Merge pull request #270094 from KrishnaG-MSFT/patch-381
(AzureCXP) MicrosoftDocs/azure-docs#121001
2 parents 4baf623 + d01691e commit 5c2c2e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/azure-resource-manager/bicep/deployment-stacks.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@ New-AzResourceGroupDeploymentStack `
628628
-TemplateFile "<bicep-file-name>" `
629629
-DenySettingsMode "DenyDelete" `
630630
-DenySettingsExcludedAction "Microsoft.Compute/virtualMachines/write Microsoft.StorageAccounts/delete" `
631-
-DenySettingsExcludedPrincipal "<object-id> <object-id>"
631+
-DenySettingsExcludedPrincipal "<object-id>,<object-id>"
632632
```
633633

634634
# [CLI](#tab/azure-cli)
@@ -660,7 +660,7 @@ New-AzSubscriptionDeploymentStack `
660660
-TemplateFile "<bicep-file-name>" `
661661
-DenySettingsMode "DenyDelete" `
662662
-DenySettingsExcludedAction "Microsoft.Compute/virtualMachines/write Microsoft.StorageAccounts/delete" `
663-
-DenySettingsExcludedPrincipal "<object-id> <object-id>"
663+
-DenySettingsExcludedPrincipal "<object-id>,<object-id>"
664664
```
665665

666666
Use the `DeploymentResourceGroupName` parameter to specify the resource group name at which the deployment stack is created. If a scope isn't specified, it uses the scope of the deployment stack.
@@ -696,7 +696,7 @@ New-AzManagmentGroupDeploymentStack `
696696
-TemplateFile "<bicep-file-name>" `
697697
-DenySettingsMode "DenyDelete" `
698698
-DenySettingsExcludedActions "Microsoft.Compute/virtualMachines/write Microsoft.StorageAccounts/delete" `
699-
-DenySettingsExcludedPrincipal "<object-id> <object-id>"
699+
-DenySettingsExcludedPrincipal "<object-id>,<object-id>"
700700
```
701701

702702
Use the `DeploymentSubscriptionId ` parameter to specify the subscription ID at which the deployment stack is created. If a scope isn't specified, it uses the scope of the deployment stack.

0 commit comments

Comments
 (0)