You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cleanup-acr-images pipeline fails with missing service connection reference #2028
The dotnet-docker-tools-cleanup-acr-images-official pipeline is failing because the OIDC service connection is not explicitly referenced in the pipeline stage.
Error:
There is no explicit reference to service connection 00000000-0000-0000-0000-000000000000
from current stage Execute.Clean.__default.
The AzurePipelinesCredential cannot obtain an OIDC token, causing CleanAcrImagesCommand to fail when logging in to ACR.
After a quick update to match the way the cleanup pipeline works here (easier to do now that we do maintain our own eng/pipeline/stages/publish-config-prod.yml), we actually don't hit this error and it succeeds. microsoft/go-images#557
Activity
gdams commentedon Mar 18, 2026
@dagood we also seem to be seeing something similar in our Go cleanup pipeline although I will note that our cleanup pipeline has drifted out of sync with the .NET one (https://dev.azure.com/dnceng/internal/_build/results?buildId=2929388&view=logs&j=3dc8fd7e-4368-5a92-293e-d53cefc8c4b3&t=00170b8f-1061-5420-820e-1eb883d5ca57)
dagood commentedon Mar 18, 2026
After a quick update to match the way the cleanup pipeline works here (easier to do now that we do maintain our own
eng/pipeline/stages/publish-config-prod.yml), we actually don't hit this error and it succeeds. microsoft/go-images#557dagood commentedon Mar 18, 2026
We do have a separate non-failure issue though:
steps/clean-acr-images.ymltemplate always runs in dry run mode when called bystages/cleanup-acr-images.yml#2034Fix cleanup pipeline OIDC by referencing registries
Remove unnecessary Docker login from CleanAcrImagesCommand
Remove unnecessary Docker login from CleanAcrImagesCommand (dotnet#2044)