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

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.

Azure Logic App Connectors

Azure eases the communication to third party tools using built-in connectors through which we can create automated tasks and workflows. For our current User Case, using Office 365 Outlook connector we can automate the task of sending e-mails.

Now our eyes are on the expiring Client Secrets before they expire and we can configure the Azure Function to trigger it on a regular basis depending on requirement and cost constraints.