Skip to content

Cannot regenerate tenant token/ auth at all #29660

@cfossace

Description

@cfossace

Describe the bug

az login consistently fails and will not regenerate auth token

Related command

az login

az login --tenant [tenantid]

Errors

Failed to auth

Authentication failed against tenant [redacted] The refresh token has expired due to inactivity. 

AADSTS5000224: We are sorry, this resource is not available. If you are seeing this message by mistake, please contact Microsoft support

Issue script & Debug output

az login

Expected behavior

It should log me in

Environment Summary

azure-cli 2.63.0

core 2.63.0
telemetry 1.1.0

Dependencies:
msal 1.30.0
azure-mgmt-resource 23.1.1

Python location '/usr/local/Cellar/azure-cli/2.63.0/libexec/bin/python'
Extensions directory '/Users/cfossaceca/.azure/cliextensions'

Python (Darwin) 3.11.9 (main, Apr 2 2024, 08:25:04) [Clang 15.0.0 (clang-1500.3.9.4)]

Legal docs and information: aka.ms/AzureCliLegal

Your CLI is up-to-date.

Additional context

when you reach out i will provide more info

Metadata

Metadata

Assignees

Labels

Accountaz login/accountAuto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamSimilar-Issueact-identity-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions