Skip to content

Unable to login with az login or az devops login #31924

@suraj-ajjampur

Description

@suraj-ajjampur

Describe the bug

I work with the Fungible team on Azure Storage, working on critical Projects such as EN and DD.
I am trying the download the latest FunSDK which is needed to run my sofware stack.

I have tried using az login, az devops login. Every single variation of PAT and regular login. Chosen a different variation of Subscriptions such as Service 360 Test, Fungible DPU test infrastructure, dpu-build but it always fails with the same error message

suraj-ajjampur@Suraj-Work:~/Fungible-workspace/Storage-xDpuLinux/src/env_scripts$ sudo ./update_funsdk_to_stable.sh /home/suraj-ajjampur/Fungible-workspace
FunSDK stable version: 24043.0.0
Downloading FunSDK. This may take a while.
ERROR: Failed to update Universal Packages tooling.
 Before you can run Azure DevOps commands, you need to run the login command(az login if using AAD/MSA identity else az devops login if using PAT token) to setup credentials.  Please see https://aka.ms/azure-devops-cli-auth for more information.
Failed to download FunSDK. Please check the configuration and try again.

Related command

PAT authentication fails with the following error message

suraj-ajjampur@Suraj-Work:~/Fungible-workspace/Storage-xDpuLinux/src/env_scripts$ az devops login
Token:
Failed to store PAT using keyring; falling back to file storage.
You can clear the stored credential by running az devops logout.
Refer https://aka.ms/azure-devops-cli-auth to know more on sign in with PAT.
suraj-ajjampur@Suraj-Work:~/Fungible-workspace/Storage-xDpuLinux/src/env_scripts$

Errors

Have already described the issue

Issue script & Debug output

Have already described the issue

Expected behavior

The expected behaviour is that I am able to download the SDK without any hassle

Environment Summary

suraj-ajjampur@Suraj-Work:~/Fungible-workspace/Storage-xDpuLinux/src/env_scripts$ az --version
azure-cli 2.72.0 *

core 2.72.0 *
telemetry 1.1.0

Extensions:
azure-devops 1.0.1

Dependencies:
msal 1.32.3
azure-mgmt-resource 23.1.1

Python location '/opt/az/bin/python3'
Config directory '/home/suraj-ajjampur/.azure'
Extensions directory '/home/suraj-ajjampur/.azure/cliextensions'

Python (Linux) 3.12.8 (main, Apr 28 2025, 09:24:09) [GCC 9.4.0]

Legal docs and information: aka.ms/AzureCliLegal

You have 2 update(s) available. Consider updating your CLI installation with 'az upgrade'

Additional context

Upgrade doesn't work either

suraj-ajjampur@Suraj-Work:~/Fungible-workspace/Storage-xDpuLinux/src/env_scripts$ az upgrade
This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Your current Azure CLI version is 2.72.0. Latest version available is 2.76.0.
Please check the release notes first: https://learn.microsoft.com/cli/azure/release-notes-azure-cli
Do you want to continue? (Y/n): Y
Hit:1 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:3 http://ppa.launchpad.net/git-core/ppa/ubuntu focal InRelease
Hit:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:5 https://packages.microsoft.com/repos/azure-cli focal InRelease
Hit:6 https://packages.microsoft.com/debian/12/prod bookworm InRelease
Hit:7 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
azure-cli is already the newest version (2.72.0-1~focal).
0 upgraded, 0 newly installed, 0 to remove and 71 not upgraded.
CLI upgrade failed or aborted.
suraj-ajjampur@Suraj-Work:~/Fungible-workspace/Storage-xDpuLinux/src/env_scripts$

Metadata

Metadata

Assignees

Labels

Auto-AssignAuto assign by botAuto-ResolveAuto resolve by botDevOpsService AttentionThis issue is responsible by Azure service team.Upgradeaz upgradebugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions