Continuing to Monitor Azure AD Client Secrets, Initially we were getting the information about the expiration of your Azure AD app client secrets. Now we need to send notification to the user who can renew their secrets in time.
For that we might require Azure Logic App. We are using it because Logic Apps have a set of built-in connectors that can connect to Microsoft Outlook to send E-mail notification to the respective secret’s owner.
Create Azure Logic App
- Login to Azure Portal
- Search for Azure Logic App
- Enter the Logic App Name and appropriate Region
- Choose the Consumption Type Plan

- Choose the same Resource Group in which the Azure Function is created.

- Go to Logic App Designer
Azure Logic App Triggers
Triggers are an integral part of Logic App’s workflow, which fires when a specific event happens, or when newly available data meets a specific criterion. Whenever the trigger is fired, the Logic App engine creates a Logic App instance that runs the actions in the form of a workflow. You can choose which trigger to use depending on specific User Case.
- Create a HTTP Trigger, so that when the data is sent to API Endpoint i.e. when a HTTP request is received, it will trigger the connector to send the notification.

- Choose the method POST. You can even add any endpoint name as parameter.

- Create a HTML Table so that you can format the incoming JSON data in the form of Table for better understanding.
- In the From column, search from the Dynamic Content and add Body parameter that mentions that the content is taken from body of HTTP request.








Join the conversation! Your thoughts help the community grow.