Hello Atul, Welcome to MS Q&A
There is no built-in alerting feature for this, though it's a common ask and Microsoft will likely offer something in the future. For the time being, you will have to create your own solution based on either the Graph API or the Graph SDK for PowerShell
For reference , please check similar thread https://learn.microsoft.com/en-us/answers/questions/1570123/hot-to-get-alert-for-expiration-of-client-secrets
Also check this for ref Recommendation to renew expiring application credentials - Microsoft Entra ID | Microsoft Learn
Please let us know if any more questions
Kindly accept if it helps
Thanks
Deepanshu