Using Graph API to update the resource type unifiedRoleManagementPolicyNotificationRule cause the role is not configurable anymore (Webgui or Graph)
Used configuration:
https://docs.microsoft.com/en-us/graph/api/resources/unifiedrolemanagementpolicynotificationrule?view=graph-rest-beta
{
"@odata.type": "#microsoft.graph.unifiedRoleManagementPolicyNotificationRule",
"id": "Notification_Admin_Admin_Eligibility",
"target": {
"@odata.type": "microsoft.graph.unifiedRoleManagementPolicyRuleTarget"
},
"notificationType": "Email",
"recipientType": "Admin",
"notificationLevel": "All",
"isDefaultRecipientsEnabled": true,
"notificationRecipients": []
}
Return code "No Content - 204"
In WebGui the role is as follow: