Azure / Azure/azure-cli-extensions

Command ACI CLI fails on "Error: token validation failed, empty token"

Open
#9,932 1 comment 0 reactions 0 assignees View on GitHub
bug Container Registry Service Attention
Dominant language
Python
Stars
454
Forks
1.7k
Avg merge
2d 19h
Merged PRs (30d)
64

Description

### Describe the bug

PS C:\Users\XYZ> az acr supply-chain workflow create `
>> -r ******* `
>> -g rg-copa-***-demo `
>> -t continuouspatchv1 **`
>> --config Q:\deploy\acr-cp-config.json `
>> --schedule 1d `
>> --run-immediately
Command group 'acr supply-chain workflow' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Failed to push OCI artifact to ACR: Cannot respond to request for authentication.

This is what i am getting failed at when running the commands and as well Cloud Shell doesn't work with failing on docker.

### Related command

PS C:\Users\XYZ> az acr supply-chain workflow create `
>> -r ******* `
>> -g rg-copa-***-demo `
>> -t continuouspatchv1 **`
>> --config Q:\deploy\acr-cp-config.json `
>> --schedule 1d `
>> --run-immediately

### Errors

Failed to push OCI artifact to ACR: Cannot respond to request for authentication.

### Issue script & Debug output

PS C:\Users\XYZ> az acr supply-chain workflow create `
>> -r ******* `
>> -g rg-copa-***-demo `
>> -t continuouspatchv1 **`
>> --config Q:\deploy\acr-cp-config.json `
>> --schedule 1d `
>> --run-immediately

### Expected behavior

it should have been passed and continuous patching with ACR and COPA. I have ACR push access and that works. Also Dry run command works.

### Environment Summary

PS C:\Users\XYZ> az --version
azure-cli 2.83.0 *

core 2.83.0 *
telemetry 1.1.0

Extensions:
acrcssc 1.0.0b7
authV2 1.0.1
azure-devops 1.0.2
resource-graph 2.1.1

Dependencies:
msal 1.35.0b1
azure-mgmt-resource 23.3.0

Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Config directory 'C:\Users\XYZ\.azure'
Extensions directory 'C:\Users\XYZ\.azure\cliextensions'

Python (Windows) 3.13.11 (tags/v3.13.11:6278944, Dec 5 2025, 16:17:02) [MSC v.1944 32 bit (Intel)]

Legal docs and information: aka.ms/AzureCliLegal

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.