How to create an email alert function which notifies ADF pipeline activity using Powershell.
Creating Email alerts using the existing functionality present in ADF will not work for my project's requirement because those emails contain a lot of stuff which is not required for the business user and the business user should not be privy to details of the error and the resources used.
We need to figure out a way to customise an email which will contain only the details that we want to put forth about a ADF pipeline run. Is it possible to execute this using any Powershell code?
Thanks in advance.
Posted Jun 18, 2021, 3:59 PM UTC
01
Yes. You can execute powershell when a pipeline fails.
When you create an alert, instead of sending an email you can choose to call an automation runbook, azure function, webhooks or logic app, that does, whatever you need to produce your email in powershell.