Sunday, March 5, 2017

Add-AzureRmAccount : The browser based authentication dialog failed to complete. Reason: The server or proxy was not found.

Add-AzureRmAccount : The browser based authentication dialog failed to complete.
Reason: The server or proxy was not found.
At C:\Users\ajeet.kumar.chouksey\Source\Workspaces\MyProject\Deploy.ps1:202 char:13
+             Add-AzureRmAccount
+             ~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : CloseError: (:) [Add-AzureRmAccount], AadAuthenticati
   onFailedException
    + FullyQualifiedErrorId : Microsoft.Azure.Commands.Profile.AddAzureRMAccountCom
   mand



I am facing this issue since last couple of days and I found that this issue due to IE is not set as default browser. I change default browser from Chrome to IE, things start working as expected.