Skip to content

Azure Logic App

In order to send emails, you need to create an Azure Logic App:

dwh-bc-azure-logic-app.png

Currently, we don't have a fully working template, but you can proceed as follows:

  1. create a step "Send an email (V2)".

  2. authenticate with the tech user

  3. go to the code view

  4. copy the parameters (which point to an API Connection) and store in Notepad++
    dwh-bc-azure-logic-app-connection.png

  5. import the code from Git\product-dwh-bc\code\ala\azure-logic-app-helpdesk-notification.json

  6. replace the parameters section

  7. switch to Designer view

  8. test your logic app by clicking on "Run with payload"

  9. add the following payload JSON

{
  "client": "ce014b2f-ddfb-46c3-ad10-a7401c896b86",
  "environment": "Sandbox",
  "message": "Failing pipelines: download incremental.",
  "code": 500,
  "source": "BC2DWH_daily_all",
  "errormessages": [
    "Operation on target has_errors failed: Incremental tables with errors: UnitCostEntry"]
}
  1. copy the URL for later use in the ADF

Check List

  • You have a logic app and a corresponding URL
  • You can send an Email to the helpdesk by calling the logic app with a test payload