Skip to content

Commit 85d0068

Browse files
authored
Update New-AzContainerGroup.md (#18309)
1 parent 6e92b5f commit 85d0068

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ContainerInstance/help/New-AzContainerGroup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ This commands creates a container group with a container instance, whose image i
127127
### Example 7: Create a container group with system assigned and user assigned identity
128128
```powershell
129129
$container = New-AzContainerInstanceObject -Name test-container -Image alpine
130-
$containerGroup = New-AzContainerGroup -ResourceGroupName test-rg -Name test-cg -Location eastus -Container $container -IdentityType "SystemAssigned, UserAssigned" -IdentityUserAssignedIdentity /subscriptions/<subscriptionId>/resourceGroups/<resourceGroup>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/<UserIdentityName>
130+
$containerGroup = New-AzContainerGroup -ResourceGroupName test-rg -Name test-cg -Location eastus -Container $container -IdentityType "SystemAssigned, UserAssigned" -IdentityUserAssignedIdentity @{"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}" = @{}}
131131
```
132132

133133
```output

0 commit comments

Comments
 (0)