Permissions to Allow Another User to Create Alert Emails for pipelines in Azure Data Factory?

60 Views Asked by At

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).

1

There are 1 best solutions below

2
Pratik Lad On

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):

  1. Read Permission on the target resource of the alert rule.
  2. Write Permission on the resource group where the alert rule is being created. (By default, when creating the alert rule from the Azure portal, it's placed in the same resource group as the target resource).
  3. Read Permission on any associated action group (if applicable).

Other permissions try to assign below roles to your user who can view all monitoring data in a subscription.

  • monitoring contributor
  • monitoring reader