stephaneey / azure-apim-extension

Full Azure API Management suite and more VSTS extension
MIT License
66 stars 49 forks source link

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

Open atedsimple opened 1 year ago

atedsimple commented 1 year ago

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.

hugodiez commented 8 months ago

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?