You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Therefore, to find all the attached MIs you can do:
357
357
>
358
-
> - Get **attached identities with az cli** (if you have already compromised a principal in the Azure tenant)
358
+
> - Get **attached identities with az cli** (if you have already compromised a principal in the Azure tenant with the permission `Microsoft.Compute/virtualMachines/read`)
> - **Get all** the defined managed identities in the tenant and **brute force** to see if any of them is attached to the VM:
389
+
> - **Get all** the defined managed identities in the tenant and **brute force** to see if any of them is attached to the VM (the permission `Microsoft.ManagedIdentity/userAssignedIdentities/read` is needed):
0 commit comments