Forum Discussion
Jonathan_Rudolph
Sep 22, 2020Copper Contributor
Service Principal Secrets Expiration should create an alert (Process needs improvement)
We ran into this issue recently, where the Azure DevOps pipeline Service Principal's secret expired without any indication that this date was nearing. I would have assumed that critical components ...
jasonls
Oct 08, 2020Copper Contributor
I worked with a customer where we wrote an Azure Automation Runbook to check the expiration of Service Principals and Certificates weekly and would send an email two weeks before the expiration so the change request could be reviewed by the orgs change control board.
baimutsau
Jun 15, 2021Copper Contributor
Greetings Jason
May you please help with the runbook script?
- Neha625Sep 27, 2021Copper ContributorHi Jason,
Kindly help with the runbook script - lukemurraynzJun 15, 2021Learn ExpertHey guys, here are some options:
Power Automate: https://techcommunity.microsoft.com/t5/core-infrastructure-and-security/use-power-automate-to-notify-of-upcoming-azure-ad-app-client/ba-p/2406145
PowerShell runbook with SendGrid email: https://github.com/SIbanez1990/azautomation/blob/main/auditexpireingspns.ps1- baimutsauJun 30, 2021Copper ContributorThank you Luke, will explore the Power Automate option.