Last active
June 21, 2020 19:27
-
-
Save JarroVGIT/d06cfcebccd479331259408fb6c3153d to your computer and use it in GitHub Desktop.
This is an example payload to be send to an MS Teams webhook URL.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@type": "MessageCard", | |
"@context": "https://schema.org/extensions", | |
"summary": "ADF Alert", | |
"themeColor": "eb3434", | |
"title": "Azure DataFactory notification alert!", | |
"sections": [ | |
{ | |
"activityTitle": "Pipeline failed", | |
"activitySubtitle": "UTC: $timestamp_of_failure$", | |
"activityImage": "https://azurebloggingresources.blob.core.windows.net/images/error-red-cross.png", | |
"facts": [ | |
{ | |
"name": "Data Factory:", | |
"value": "$adf_name$" | |
}, | |
{ | |
"name": "Pipeline", | |
"value": "$pipeline_name$" | |
}, | |
{ | |
"name": "Run ID", | |
"value": "$pipeline_run_id$" | |
} | |
], | |
"text": "<error_message>" | |
} | |
], | |
"potentialAction": [ | |
{ | |
"@type": "OpenUri", | |
"name": "Go to Pipeline Run", | |
"targets": [ | |
{ | |
"os": "default", | |
"uri": "https://adf.azure.com" | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment