Almost every realistic variant of this flow can be implemented by changing environment variable values. A few cases require small edits inside the flow definition — those are called out explicitly below.
- Change the cadence
- Edit the Run_Weekly_On_Monday_Morning recurrence trigger. Daily runs catch same-day expirations; Monday-only reduces alert fatigue.
- Adjust the warning window
- Update the flowlibs_SecretExpiryWarningDays environment variable per environment. Compute_Rotation_Status uses three tiers - Expired (< 0 days), Critical - Rotate Now (<= 7 days), Warning - Rotate Soon (<= warning window), Healthy otherwise.
- Change notification targets
- Update flowlibs_TeamsGroupId, flowlibs_TeamsChannelId, and flowlibs_AdminNotificationEmail. No flow edit required.
- Filter specific apps
- Modify the Graph $filter query string in Get_App_Registrations (e.g. &$filter=startswith(displayName,'PP-SP-')) to scope the check to a naming convention.
- Include certificates
- Graph also returns keyCredentials on applications. Add a second Foreach alongside For_Each_PasswordCredential to monitor certificate expirations through the same logging and alerting pipeline.
Comments
Sign in to join the conversation.
Sign inNo comments yet. Be the first to share your experience with this flow.