Checks for expiring Entra ID service principal secrets.
The GitHub Actions workflow fails if secrets are found that are about to expire (by default within the next 60 days).
- Create a new repository from this template.
- Create an Entra ID service principal with
Application.Read.All
Graph API permissions. - Create Entra ID federated credentials for your service principal and use the "GitHub Actions deploying Azure resources" scenario.
- Add
AZURE_CLIENT_ID
andAZURE_TENANT_ID
as repository secrets.