Azure / Azure/azure-powershell
PATCH operation for Update-AzureRmVM
Open
act-observability-squad
Compute - VM
feature-request
Service Attention
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 4.3k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 51
Description
Hello,
I want to add a user assigned identity to a VM with existing user assigned identities, but when I run the command below, it replaces any assigned user assigned identities with the one I specify in the command. Is it possible to add a user assigned identity to a VM without replacing existing ones or do I need to specify the existing ids in the command?
`Update-AzureRmVM -ResourceGroupName TestRG -VM $vm -IdentityType UserAssigned -IdentityID "/subscriptions//resourcegroups//providers/Microsoft.ManagedIdentity/userAssignedIdentities/UAI1"`
Contributor guide
Assessment
This issue has not been assessed yet.