I am having a authentication problems with a release pipeline
Note tagged on blob storage because there is no tag for Azure Devops!
We are experiencing authentication failures in our Azure DevOps Release Pipeline when using a service principal for deployment. Despite verifying that the service principal exists, has the correct permissions, and successfully authenticates via az login, the release pipeline continues to fail authentication.
The release pipeline is called Data Store Backup test. It is trying to copy a backup file to Azure Blob Storage.
The error is
ClientSecretCredential authentication failed:
Could not find tenant id for provided tenant domain '3942511a-e43a-4a6c-9195-5ec41d5eb557'.
Please ensure that the provided service principal is found in the provided tenant domain.
Steps Taken to Troubleshoot:
- Verified the Service Principal Exists
• Ran: az ad sp show --id "1e928d73-d7ee-48a6-8260-e25bd3ec287a"
• Confirmed it exists in tenant 3942511a-e43a-4a6c-9195-5ec41d5eb557.
- Checked Tenant and Subscription Details
• Ran: az account show --query tenantId --output tsv
• Confirmed the correct tenant is being used.
- Validated the Service Principal Credentials
• Verified the client secret