Thank you for your post and I apologize for the delayed response!
Unfortunately, there isn't a direct way within the Portal to set up notifications or alerts for expiring secrets within an App Registration. However, you should be able to leverage PowerShell or Microsoft Graph to achieve some form of notification for expiring secrets/ certificates, for example:
- Export all of your app registrations with expiring secrets and certificates via PowerShell script.
- Integrate the PowerShell script into an Azure Logic App or Task Scheduler.
- Send email notifications via the Logic App or Task Scheduler with the PowerShell output.
Additional Links:
- Export app registrations with expiring secrets and certificates
- Use Power Automate to Notify of Upcoming Azure AD App Client Secrets and Certificate Expirations
- Microsoft Entra recommendation: Renew expiring application credentials (preview)
- What are Microsoft Entra recommendations?
- AUTOMATED ALERTS ON AZURE (ENTRA ID) APPLICATION SECRET EXPIRATIONS - 3rd party documentation
- How can I automate the certificates expiration notifications? - Enterprise Applications
I hope this helps!
If you have any other questions, please let me know. Thank you for your time and patience throughout this issue.
If the information helped address your question, please Accept the answer. This will help us and also improve searchability for others in the community who might be researching similar information.