I have resolved the issue by executing below command in PowerShell
Update-AzConfig -EnableLoginByWam $false
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi team,
I am trying to connect AZ portal via PowerShell but my request fails with error "Connect-AzAccount : InteractiveBrowserCredential authentication failed: Retry failed after 4 tries" CloseError: (:) [Connect-AzAccount], AuthenticationFailedException though using the correct Proxy in Powershell profile. Can someone Please guide me on this to find the RCA.
I am new to Azure, really appreciate guidance on this.
Thankyou
I have resolved the issue by executing below command in PowerShell
Update-AzConfig -EnableLoginByWam $false
@Mukkram Shaik , Thanks for posting your query here!
Try to install AZ module on your PowerShell and set your execution policy to remote signed. Once, this is done everything should work as expected.
Please refer to this document for installing the Azure PowerShell module. Refer to this document for setting your execution policy to RemoteSigned
Kindly let us know if the above helps or you need further assistance on this issue.
--------------------------------------------------------------------------------------------------------------------------------------------------------
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.
strong text
Yesterday I had same issue. After few hours of investigation what I missing I found that I turned on my proxy settings. After turning off problem gone.