Azure / Azure/azure-powershell

PATCH operation for Update-AzureRmVM

Open
#8,052 4 comments 0 reactions 1 assignee Claimed by @hyonholee View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.