Closed JamesDLD closed 3 months ago
Apologies for the delay - but EPAC doesn't manage permission assignments for user assigned managed identities. In fact looking at the ARM based deployment for ALZ they don't assign permissions for the UAMI in there either.
Describe the bug The initiative policy "Enable Azure Monitor for Virtual Machine Scale Sets" should assign the needed role to the shared managed identity when the managed identity is in another subscription or management group than the role assignment scope.
To Reproduce We can use a share managed identity through the following parameters of the sub policy "[Preview]: Assign Built-In User-Assigned Managed Identity to Virtual Machine Scale Sets"
Expected behavior Assign the share managed identity to VM and VMss.
Screenshots
EPAC Version 10.4.2 10.5.0