Using Console
Using CLI
<resource_group_name>
with the name of the resource group where the misconfiguration needs to be remediated and <managed_identity_name>
with the name you want to give to the managed identity.
<resource_id>
with the ID of the Azure resource that needs to access Azure services.
Using Python
DefaultAzureCredential
class:
ComputeManagementClient
class using the credentials and the Azure subscription ID:
get
method of the VirtualMachinesOperations
class:
update
method of the VirtualMachinesOperations
class: