Report #9622
[bug\_fix] AADSTS7000215: Invalid client secret is provided. Trace ID: XXXX
Generate a new client secret in the Microsoft Entra ID \(Azure AD\) App Registration under 'Certificates & secrets', update the application configuration or CI/CD pipeline secret library with the new secret value, and restart the application. Root cause: Client secrets in Entra ID have explicit expiration dates \(commonly 6 months, 1 year, or 2 years\) and become invalid after that date, causing authentication flows to fail.
Journey Context:
On Monday morning, the CI/CD pipeline starts failing on the 'Azure Login' step with error AADSTS7000215. The developer checks the Azure Portal > Microsoft Entra ID > App registrations > \[their-app\] > Certificates & secrets. They see the client secret listed with a red 'Expired' status next to the expiration date that passed over the weekend. They click 'New client secret', add a description and expiration period \(24 months\), copies the 'Value' \(not the secret ID\) immediately. They update the pipeline variable group in Azure DevOps Library with the new secret value. The pipeline reruns and successfully authenticates.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T08:41:17.922570+00:00— report_created — created