azure-apim-extension icon indicating copy to clipboard operation
azure-apim-extension copied to clipboard

workload identity federation with openid connect - ##[error]The remote server returned an error: (401) Unauthorized.

Open atedsimple opened this issue 1 year ago • 1 comments

Since we upgraded our Azure Resource Manager Service Connection to use workload identity federation with openid connect instead of standard service principal with a secret, we get the following error whenever we try to use the APIM pipeline tasks.

##[error]The remote server returned an error: (401) Unauthorized.

All other tasks are working with these new Service Connection.

Our workaround has been to create an old-style Service Connection and use that only for these APIM tasks. However, it would be better if we could make this work.

atedsimple avatar Oct 10 '23 09:10 atedsimple

We have the same problem trying to update APIM with a Service Connection using workload identity federation. Is there a fix expected to fix this issue?

hugodiez avatar Feb 28 '24 10:02 hugodiez