Is there a way to send an email when a Service Principle Secret is about to expire?

Brewer, Ryan L 1 Reputation point
2021-07-26T18:53:15.307+00:00

I manage two of many subscriptions for my company and need a way to know when Service Principle Secrets expire. Since I have many Service Principles going through the portal every time is unacceptable. Email is preferred and possibly a notification when logging into the portal would be nice.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,455 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Cristian SPIRIDON 4,471 Reputation points
    2021-07-26T20:59:11.857+00:00

    Hi,

    I think, that is not supported by Azure.

    If running a script and then manually send an email is an option,then below blog can help:

    https://www.codeisahighway.com/how-to-audit-expiring-soon-azure-ad-application-credentials-keys-passwords-certificates/

    Hope this helps!

    0 comments No comments