Skip to content

Configure Azure Logic App

Mötz Jensen edited this page Sep 9, 2018 · 3 revisions

Intro

So you want to be able to notify someone when a cmdlet is done running? You read about the magical Invoke-D365LogicApp cmdlet?

This will guide you through on how to configure everything inside the Azure Portal.

Requirements

You will need the following before you can start:

  1. An active Azure subscription
  2. An Office365 user account (Azure Active Directory)
    • Email license assigned

Prepare

Download a copy of the file AzureLogicApp-Template.json and save if on your computer.

Implementation

  1. Visit https://portal.azure.com
  2. Click "Create a resource"

  1. Search for "Template" and select the "Template deployment" option from the results

  1. Click "Create"

  1. Click "Build your own template in the editor"

  1. Click "Load file"

  1. Locate the *"AzureLogicApp-Template.json" file that you downloaded earlier.

  1. After the import of the json file, click on the "Variables" and select the "ConnectionName". Change the name of the connection in the editor if you want - it doesn't have any real impact on the solution.

  1. Fill in all the details that are necessary, click the "I agree to the terms and conditions stated above" checkbox and click on "Purchase"

  1. Wait for the deployment to complete. Click on the notification icon in the top right corner.

  1. Click on "Resource groups" and search for the resource group you filled in during deployment. Click the resource group to continue.

  1. Click on "NotifyWhenDone" (Logic App) - remember that you could have changed the name during deployment.

  1. Click "Edit"

  1. Click on the "Connections" bar with the Outlook icon and the yellow/orange exclamation mark. Click on "Invalid Connection".

  1. Select an account of yours that is an AAD and have an email license.

  1. Click on the connection that has a blue checkmark to the left.

  1. Validate that things look like they should.

  1. Save the Logic App.
  2. Click "Edit" once more.
  3. Click "When a Http Request is received" and click on the copy to clipboard button next to the URL.

Clone this wiki locally