You manage an Azure subscription. You assign the Contributor role to a Microsoft Entra ID group named Ops-Team.
You configure an Azure Monitor metric alert rule to monitor a virtual machine named VM-Prod1.
You create an action group named ActionGroup1 that uses the Email Azure Resource Manager Role action type, configured to send emails to the Contributor role. You associate ActionGroup1 with the metric alert rule.
When the metric alert triggers, members of Ops-Team do not receive the email notification.
You need to ensure that the members of Ops-Team receive the alert notifications.
What should you do?
- Configure ActionGroup1 to use the Email/SMS message/Push/Voice action type and specify the email addresses of the administrators.Cevap
- BConfigure ActionGroup1 to use the Email/SMS message/Push/Voice action type and select the Ops-Team group directly from the directory.
- CAssign the Contributor role to the Ops-Team group at the VM-Prod1 resource level instead of the subscription level.
- DCreate an Azure Policy assignment to forward the alert notification to the members of the Ops-Team group.
Cevap
Configure ActionGroup1 to use the Email/SMS message/Push/Voice action type and specify the email addresses of the administrators.
The correct option is to configure the action group to use the Email/SMS message/Push/Voice action type and specify the email addresses of the administrators. The Email Azure Resource Manager Role action type only sends emails to Microsoft Entra ID users who have direct role assignments at the subscription level. It does not resolve group memberships or send emails to Microsoft Entra ID groups. Therefore, manual email configuration (or utilizing a mail-enabled distribution group's email address) is required to ensure group members receive the notifications.
Adım Adım Çözüm
Anahtar Kavram
Azure Monitor Action Groups support notifying roles or explicit email addresses, but role-based notification has strict limits regarding group inheritance and assignment scope.