Hello @MAYERS Peter ,
Thanks for the question and using MS Q&A paltform.
Unfortuanately, you cannot customize the metrics you want to fetch or format of the mail in Azure Data Factory.
Note: You can create an Alerts in Azure Data Factory (ADF) Monitor section under Alerts and Metrics option.
- Using Alert in ADF, you can get metrics like : PipelineSucceededRuns (The total number of pipeline runs that succeeded within a certain time window) , ActivityFailedRuns(The total number of activity runs that failed within a certain time window), PipelineFailedRuns(The total number of pipeline runs that failed within a certain time window) etc.
- However, you can't customize the metrics you want to fetch or format of the mail you want to have like we can do using Logic apps. Also, as per your ask you want to get error message, it is not possible with alerts.
For more details, refer to creating alerts in Azure Data Factory.
Alternative: You can use Azure Logic Apps to change the text in an Azure Error in Azure Databricks run email
You may checkout this video on Azure Data Factory Custom Email Notifications Tutorial and blog on Custom email notification in Azure Data Factory.
You can Send notifications to a Microsoft Teams channel from an Azure Data Factory
- Kindly check the following article to get the full details on how to do that: Send notifications to a Microsoft Teams channel from an Azure Data Factory or Synapse Analytics pipeline
Hope this will help. Please let us know if any further queries.
------------------------------
- Please don't forget to click on
or upvote
button whenever the information provided helps you.
Original posters help the community find answers faster by identifying the correct answer. Here is how - Want a reminder to come back and check responses? Here is how to subscribe to a notification
- If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators