-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CredentialUnavailableError error #28915
Comments
Thank you for opening this issue, we will look into it. |
@jiasli
|
after upgrade az cli into 2.60.0 by running
|
The call stack provided in #28915 (comment) is trimmed. Please share the full call stack.
It doesn't matter if the access token of a managed identity lasts longer. The OIDC token itself expires after 10 minuts:
This issue is tracked by #28737.
I guess you are hitting #20990. |
We are facing this issue on AzureCLI@2 task, (which currently uses Azure CLI 2.60.0 and masl 1.28.0) Traceback On pipeline
|
@jiasli we still encounter this issue with azure cli 2.60.0+ version
|
@realsdx, can you get the raw error from Azure CLI? @LiliDeng, does your task try to get an access token for |
@jiasli we don't get the token in the task, we invoke python code to initiate the QueuedIngestClient with with_az_cli_authentication.
|
Describe the bug
We use below task in pipeline file.
And in the inlineScript we launch command to run python code, we always can see below error, I am sure the service connection has enough permission to operate the resources in the azure subscription.
Related command
'az account get-access-token --output json --resource'
Errors
see above
Issue script & Debug output
see above
Expected behavior
see above
Environment Summary
WARNING: You have 2 update(s) available. Consider updating your CLI installation with 'az upgrade'
azure-cli 2.59.0 *
core 2.59.0 *
telemetry 1.1.0
Extensions:
azure-devops 1.0.0
Dependencies:
msal 1.27.0
azure-mgmt-resource 23.1.0b2
Additional context
No response
The text was updated successfully, but these errors were encountered: