Automate sending email notifications for client secret expiration of App Registration under Microsoft Entra ID

$@chin 380 Reputation points
2023-12-19T15:32:02.8266667+00:00

Is there any way to set up email notifications or alerts for the expiration of any client secret in an app registration on Microsoft Entra ID ?

Microsoft Security | Microsoft Entra | Microsoft Entra ID

7 answers

Sort by: Most helpful
  1. code-vj 95 Reputation points
    2026-08-03T08:11:56.64+00:00

    Microsoft Entra ID does not currently offer built-in email notifications for application client secret expiration. Most organizations implement this using Microsoft Graph, PowerShell, Azure Automation, or Logic Apps.

    If you are looking for an implementation approach, this guide walks through one option for monitoring Entra ID client secret expiration and sending notifications:

    https://ssojet.com/docs/en/references/entra-id-secret-expiration-monitoring

    Was this answer helpful?

    0 comments No comments

  2. Rich Matheisen 48,116 Reputation points
    2023-12-19T15:47:27.44+00:00

    You can use the Get-AzureADApplicationPasswordCredential cmtlet to get the credentials EndDate. Use the Send-MailMessage cmdlet to send the email. Run the script every day/week/month (or whatever you think is appropriate).

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.