简体   繁体   English

Azure 数据工厂 V2 - 发送自定义 Email(无逻辑应用程序)

[英]Azure Data Factory V2 - Sending Custom Email (without Logic Apps)

I know that you can send email alerts for a Data Factory pipeline using Azure Monitoring AND that you can send custom emails using a Logic App and the http request trigger.我知道您可以使用 Azure 监控为数据工厂管道发送 email 警报,并且您可以使用逻辑应用程序和 http 请求触发器发送自定义电子邮件。 Is there another simpler way to send an email to alert someone when a pipeline fails with the details of the error message included?有没有另一种更简单的方法来发送 email 以在管道失败时提醒某人并包含错误消息的详细信息?

Yes you can, but this method would be complex than creating a logic app or configuring default email alerts可以,但此方法比创建逻辑应用或配置默认 email 警报要复杂

  1. You can create a stored procedure in a SQL DB which would send an email您可以在 SQL 数据库中创建一个存储过程,它将发送一个 email
  2. Add the stored procedure in Failure output section of your ADF activity在 ADF 活动的 Failure output 部分添加存储过程

Any reason for skipping traditional method of sending email from Azure?有什么理由跳过从 Azure 发送 email 的传统方法吗? Maybe I can help也许我可以帮忙

Thanks!谢谢!

There are multiple ways of sending emails but I would suggest to use logic apps as the easiest.有多种发送电子邮件的方式,但我建议使用逻辑应用程序作为最简单的方式。

You can even run a C# code using custom activity in ADF but it has to be build and deployed to a container and then you have to point this util/exe file in Data Factory -> [https://learn.microsoft.com/en-us/azure/data-factory/transform-data-using-custom-activity][1]您甚至可以在 ADF 中使用自定义活动运行 C# 代码,但必须构建它并将其部署到容器中,然后您必须将此 util/exe 文件指向数据工厂 -> [https://learn.microsoft.com/ zh-cn/azure/data-factory/transform-data-using-custom-activity][1]

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Azure 数据工厂 V2 中的 LeaseAlreadyPresent 错误 - LeaseAlreadyPresent Error in Azure Data Factory V2 Azure 数据工厂与 Azure 逻辑应用程序 - Azure Data Factory vs Azure Logic Apps Azure 数据工厂V2:可选参数 - Azure Data Factory V2: Optional parameters 如何在 Azure 数据工厂 v2 中运行 SQL 脚本? - How to run SQL Script in Azure Data Factory v2? Azure 数据工厂 (V2) 复制活动 - 缺少高级编辑器 - Azure Data Factory (V2) Copy Activity - advanced editor missing Azure 逻辑应用程序/数据工厂,使用 FTPS 获取文件 - Azure Logic Apps/Data Factory, getting files using FTPS Azure 数据工厂 v2 映射数据流 - ticks () 到 TimeStamp 日期时间格式 - Azure Data Factory v2 Mapping Data Flow - ticks () to TimeStamp datetime format Azure 逻辑应用程序 - Http 连接器省略自定义响应标头 - Azure Logic Apps - Http connector omits custom response headers 当连接 PowerBI 到 Azure Data lake storage v2 ( adls v2 ); 它给出错误 404“指定的容器不存在” - When connecting PowerBI to Azure Data lake storage v2 ( adls v2 ) ; it gives error 404 "The specified container does not exist" 在 Azure 数据工厂中获取 blob 文件的自定义元数据 - Get custom metadata for blob files in Azure data factory
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM