Can't connect to Azure account thru PowerShell

Mohamed Elsayed 1 Reputation point

Hi Dears,
I got bellow error when i trying to connect to my Azure account using Windows PowerShell:
WARNING: Unable to acquire token for tenant....

PowerShell Version: 5.1.19041.610


Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,525 questions
{count} votes

2 answers

Sort by: Most helpful
  1. BhargaviAnnadevara-MSFT 5,461 Reputation points

    @Mohamed Elsayed This issue looks similar to #13419 and #13340 reported a few weeks ago, which turned out to be an issue with the Az.Accounts module.

    Please try upgrading the Az.Accounts module to the latest version 2.2.1 and try again.

    Do let us know what you see.

    0 comments No comments

  2. Omar Fahnbulleh 1 Reputation point

    I am having this very issue when trying to use Powershell and Azure CLI. This started happening after my upgrade to Windows 11.

    0 comments No comments