Hi @pranathi kannekanti , you can use Logic Apps for this.
- Ensure you have an email account from a provider supported by Azure Logic Apps (e.g., Office 365 Outlook) and an Azure subscription.
- Create a Key Vault in your Azure Subscription if you haven't already.
- Create a Logic App with Event Grid handler and subscribe to Azure Key Vault "SecretNewVersionCreated" events.
- Configure the Logic App to send an email when a secret is created in Azure Key Vault.
For a detailed guide on setting up the Logic App and configuring the email alert, refer to the linked document.
After setting up the email alert, you can monitor the Key Vault for password expiry and receive notifications accordingly.
Note: This method notifies you when a new secret version is created. To specifically monitor password expiry, you may need to customize the Logic App to check for password expiry events or use Azure Automation.
Please let me know if you have any questions and I can help you further.
If this answer helps you please mark "Accept Answer" so other users can reference it.
Thank you,
James