locked
Azure Virtual Machine-Provisioning failed. Internal error encountered when retrieving managed service identity RRS feed

  • Question

  • Hi All,

    I got the below error when i start the Virtual Machine in my Subscription.

    =====================

    Provisioning failed. Internal error encountered when retrieving managed service identity details for 'https://control-Region.identity.azure.net/subscriptions/SubscriptionID/resourcegroups/ResourceGroupName/providers/Microsoft.Compute/virtualMachines/VMname/credentials/v2/systemassigned'.. ManagedServiceIdentityAccessInternalError

    ==========================

    Please help me on the above error.


    Thanks, Penki


    Monday, October 5, 2020 5:00 PM

Answers

  • Reason: This is not a common behavior but each resource has its own resource ID and correlation ID so I believe an operation in compute layer (backend) got the incorrect parameter the following commands hels to prevent this error and  the VM goes up . 

    ================

    $rgname = "ResourceGroupName"
    $vmname = "VirtaualMachineName"
    $vm = Get-AzureRMVM -ResourceGroupName $rgname -Name $vmname
    Update-AzureRmVM -ResourceGroupName $rgname -VM $vm 
    ========================================

    And start the VM.

    if the above command returns an error please run the below last command :
    Update-AzureRmVM -ResourceGroupName $rgname -VM $vm -Debug

    =====================================

    I would say  we use the above commands when we see your VM in failed status. I would say if the operation say “ Provisioning state error code ProvisioningState/failed/


    Thanks, Penki

    • Marked as answer by SudhakarPenki Monday, October 5, 2020 5:47 PM
    Monday, October 5, 2020 5:46 PM