I am trying to give a user permission to be able to create alerts whenever a pipeline fails in Azure Data Factory. As the owner, I can create the alert without issue, however when another user tries to create this alert, they receive the error message in the screenshot below, and I can't seem to find any logs to give me more information on why this failed.
When trying to create alert rule, this error appears
I have worked with the user, comparing the permissions I have as the owner, with what permissions I think would give him access, but with over 16000 possible permissions, this is not really feasible to continue. I can't seem to find any relevant information online regarding what permissions he would need. Currently, I have given him the "Data Factory Contributor", and "reader" rule. I also created two custom roles. One for an unrelated issue, giving read and write access to Microsoft.Resources/deployments in the resource group of the DF. And a second custom role, giving read/write/delete to Microsoft.Insights/actiongroups (as he was getting an error saying he didn't have that permission when trying to create this alert previously), as well as R/W/D to Microsoft.AlertsManagement (which didn't seem to resolve the issue, and I have since removed it).
Agreed with @wenbo you also need to give more permission on alert rule, aition group and monitoring.
You need below (permission to create alert rule in ADF):
Other permissions try to assign below roles to your user who can view all monitoring data in a subscription.