Oidctoken Creation is not working for release pipeline

GALI Charan K (Charan Kumar) 5 Reputation points
2024-10-18T04:51:40.2366667+00:00

Hi team while invoking the below API to get the oidc token from release pipeline, receiving the error as 404 not found.

POST https://dev.azure.com/{organization}/{scopeIdentifier}/_apis/distributedtask/hubs/{hubName}/plans/{planId}/jobs/{jobId}/oidctoken?api-version=7.1-preview.1 Reference: https://learn.microsoft.com/en-us/rest/api/azure/devops/distributedtask/oidctoken/create?view=azure-devops-rest-7.1 Above API is working as expected when using hubName as build, only failing when hubName is release. Could you please help in sorting this out ?

Community Center | Not monitored
0 comments No comments
{count} votes

Your answer

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