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.
Connect-AzAccount : InteractiveBrowserCredential authentication failed
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
2 answers
Sort by: Newest
-
-
Pranathi Panyam_MSFT 1,006 Reputation points Microsoft Employee
2021-05-25T12:49:45.59+00:00 @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