-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Endpoint auth data not present in Azure Resource Group Deployment task #11984
Comments
We're experiencing this too and is impacting our release planning. Any known workarounds? We don't have an option to fall back to shared secret! Possibly related to work being done in this sprint? https://docs.microsoft.com/en-au/azure/devops/release-notes/2019/sprint-162-update --> specifically, there's work being done on ServiceConnections |
Thanks @cmielke & @agupta-au for reporting the issue, we will try to unblock you at earliest. |
I have a client that's also being impacted by this. @bishal-pdMSFT please let me know if you require info from their ADO Org and pipelines to help resolution. I've also tried on the v3 preview task and same issue.
|
Ack. From preliminary investigation we seem to have identified the root cause. We will update once the fix is done and is starting rollout. |
Same issue as @segraef, self-hosted agent with connection with assigned managed identity |
@IkePCampbell just fyi the mentioned version is the version of the ARM template deployment task, your agent version ca be seen at the agent pool or once the agent spins up in your pipeline. |
@segraef Oh thank you! My bad, then my version is '2.163.1' |
We've been recommended to use the v3.* (preview) version of the task. Will report back with findings once the build pipelines have been modified. |
I have a customer also has this issue and they are unable to use Service Principal Key authorization in Service Connection to unblock them because they have many service principals, which will let them do lots of work to change their service connections. Could you please provide an ETA about this? |
@ALL, the issue has been hotfixed. Let us know if you face any issues. |
@vineetmimrot are there any settings we need to change? I am still facing the same issue |
This hotfix succeeded for me. Thank you :-) . |
It looks like the hotfix has resolved the issue for me. Thank you for the quick turnaround. |
What version of the task do your logs show? |
2.162.1 for us. |
2.161.9 (which was successful). |
Thanks @cmielke and @MarkAtAgilliance I guess our tenant just hasn't been upgraded as yet. |
On 2.162.1 version of the Task (does not address issue), we are now using Service Principal Key for one of the deployments that is due for a release. We're now seeing a a multitude of warnings that were not present before in the Deploy pipelines. All of the warnings are exactly the same: Anyone know if there's a way we can force our tenant to use the new version of the task? |
@agupta-au can you please check now. The task is upgraded to 2.162.2. |
Required Information
Type: Bug
Enter Task Name: Azure Resource Group Deployment
Environment
Server - Azure Pipelines
Agent - Hosted:
Issue Description
When running the Azure Resource Group Deployment Task (v2 or v3-preview) with a Service Connection that is configured to use certificate-based authentication, I am getting the following error:
This is a screenshot of the last success at 10:50 AM (Central Time). Notice the version of the task was v2.157.7:
The next release at 11:21 AM (Central Time) failed with the error. Notice that it was running v2.161.8 of the task:
Note that the task works fine if I use a Service Connection that is configured for secret-based authentication. This is our short term workaround. In the long run, I would like to use certificate-based authentication.
Task logs
ReleaseLogs_10178.zip
Error logs
2019-12-16T20:48:26.7350586Z ##[error]Error: Task failed while initializing. Error: Endpoint auth data not present: b344ceed-dc46-4ca2-9d7a-3d6bd5b6ab88
The text was updated successfully, but these errors were encountered: