title: Failed to fetch the list of virtual machines from resource group
body: <p>In my Azure DevOps release pipeline, I would like to start a VM. So I have an "Azure resource group deployment" task with the action "Start virtual machines". However, when I run this task, I get the error:</p>
  
  <blockquote>
    <p>"Failed to fetch the list of virtual machines from resource group: ...
    Error: "Could not fetch access token for Managed Service Principal.
    Please configure Managed Service Identity (MSI) for virtual machine
    '<a href="https://aka.ms/azure-msi-docs" rel="nofollow noreferrer">https://aka.ms/azure-msi-docs</a>'. Status code: 400, status message: Bad
    Request"</p>
  </blockquote>
  
  <p>In my VM I already enabled system-assigned managed identity, so I don't know why this error is appearing. Any thoughts?</p>