Hello @Sameer Youssef ,
Welcome to Microsoft QnA.
Are you seeing something like this on the Portal under Identity of your DevTest Lab?
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Summary: Azure Marketplace VM image created by DevTest Labs did not get assigned the system-assigned managed identity upon creation
Steps:
az vm identity show -n vm07 -g LAB0123456791000
Result:
Desired:
Workaround:
az login
and go through webpage authentication using my personal credentials -> urgh az vm identity assign --role Reader --identities [system] -n vm07 -g LAB0123456791000--scope /subscriptions/123-234-3456-567
to assign the identity -> painHello @Sameer Youssef ,
Welcome to Microsoft QnA.
Are you seeing something like this on the Portal under Identity of your DevTest Lab?
Hi Sameer,
Have you seen this preview feature for automatically assigning managed identities using Azure Policy?
how-to-assign-managed-identity-via-azure-policy