AZ Cli Login Interactive Authentication and Admin config changes

Kevin Petteys 111 Reputation points
2022-12-19T14:46:12.61+00:00

This morning when login into my tenant from AZ Cli, I noticed several strange situations.

  • No subscriptions found for [my user]
    • even though I am the owner of the default directory subscription
    • even though az account show displays the subscription
  • running az webapp list throws exception:
    AADSTS50076: Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to access
    and
    Interactive authentication is needed. Please run: az login --scope https://management.core.windows.net//.default

I am the sole admin in my tenant and no changes have been made. I also do not have any activity logged from the last time I logged in.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,935 questions
{count} vote

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.