The issue that generates this service principal alert usually occurs for one of the following reasons:
- The client secret expired.
- Incorrect credentials were provided.
- The service principal doesn't exist within the Microsoft Entra ID tenant of the subscription.
Please verifiy the above. To do this:
Go to Azure Portal > Entra> App registrations
Find the app (by Client ID)
Go to Certificates & Secrets and confirm the secret exists or it has correct permissions
az ad app credential list --id "$SP_ID"
To check the service principal.
Once this is confirmed You need to add the new secret you created in entra id to the service connection in azure devops
You can mark it 'Accept Answer' and 'Upvote' if this helped you
Please note: If you have Priority Community support please wait for a dedicated Microsoft support representative to assist you, as they have access to the necessary backend resources.
Regards,
Abiola