The client application

Amartya Modi 0 Reputation points
2026-01-28T15:15:59.59+00:00

During the CI/CD pipeline execution in GitHub Actions, which deploys our application to Azure production, we encounter the following error when using azure/login@v2:

Error Code: AADSTS7000229

Error Message: “The client application is missing service principal in the tenant .”

Impact:

The login step fails, preventing the GitHub Actions CI/CD pipeline from deploying the application to production.

Suspected Causes:

Incorrect Tenant ID: The tenant-id in the GitHub Actions workflow does not match the tenant where the App Registration (Service Principal) exists.

Missing or Deleted Service Principal: The App Registration with the specified client-id may not exist, may have been deleted, or may exist in a different tenant.

Invalid or Expired Credentials: The client-secret may be missing, expired, or incorrectly configured in GitHub secrets.

Authentication Type Mismatch: The workflow may be configured for secret-based login while the App Registration expects OIDC, or vice versa.

Multi-tenant Confusion: The App Registration exists in another tenant (single-tenant apps cannot be used across tenants).

Microsoft Security | Microsoft Entra | Microsoft Entra ID

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.