Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Connect to Microsoft Azure Subscription fails

In Visual Studio 2013 Update 4 (and Update 5 CTP 2), Tools / Connect to Microsoft Azure Subscription is failing immediately for me with an error:

"An error occurred during the sign in process: authentication_ui_failed: The browser based authentication dialog failed to complete for an unkown reason"

Any idea how to solve this problem? I can sign in through the Azure Portal just fine. I also tried adding a New Deployment in an Azure web project. It brings up the Deploy to Resource Group dialog but doesn't show anything in the Subscription pull-down. When I choose Manage in that menu, it brings up the Manage Microsoft Azure Descriptions dialog which shows I have a subscription with Subscription ID and User Account filled in with reasonable info.

There are several other places in VS to connect to Azure (eg, Server Explorer pane) but they all fail exactly the same way.

Someone else in my company is able to connect his VS 2013 to the same Azure subscription, though as a different user of course. His brings up a Connect to Visual Studio dialog. I think mine is trying to as I see a rectangular flash about the same size as this dialog an instant before getting the error message.

It appears that it is trying to access my Visual Studio account and that's failing. If I try to log out of it and back in, it displays a broken web page ("This page can't be displayed.") in a window with the URL: https://app.vssps.visualstudio.com. I tried visiting this page in Firefox, my default browser, and it loaded the page just fine. However, when I tried it in IE 11 I got the same "This page can’t be displayed" error page. I guess I need to focus on eliminating this problem first.

Any ideas on how to get past this?

like image 966
Paul Topping Avatar asked Jan 30 '15 18:01

Paul Topping


People also ask

Why is my Azure subscription disabled?

Your Azure subscription can get disabled because your credit has expired, you reached your spending limit, have an overdue bill, hit your credit card limit, or because the subscription was canceled by the Account Administrator.

What happens if you don't pay Azure subscription?

If I forget to pay, what happens? The service is canceled and your resources are no longer available. Your Azure data is deleted 90 days after the service is terminated. To learn more, see Microsoft Trust Center - How we manage your data.

How do I troubleshoot Azure subscription sign-up issues?

If you are having issues signing up for a new Azure account, see Troubleshoot Azure subscription sign-up issues. If your internet browser page hangs, try each of the following steps until you can get to the Azure portal. Refresh the page. Use a different internet browser. Use the private browsing mode for your browser:

Why can't I connect to Azure Information Protection?

This issue occurs if one or more of the following conditions are true: 1 You entered the wrong user name or password. 2 You aren't a company administrator. 3 You don't have a subscription that includes Azure Information Protection. 4 The network is preventing you from connecting to Azure Information Protection. More ...

Why did the Microsoft Azure AD sync service stop working?

Recently the MICROSOFT AZURE AD SYNC service stopped working. The EventID was 6219. "The service was unable to start because a connection to the SQL Server could not be established."

Why is Azure AD Connect unable to start?

"The service was unable to start because a connection to the SQL Server could not be established." Unable to get the service to start, we uninstalled Azure AD Connect and attempted to reinstall it. No matter what method we used (Express or Custom with a domain service account), the install always failed with the following:


Video Answer


2 Answers

I was able to resolve this problem by resetting Internet Explorer's settings to defaults. Then IE could load https://app.vssps.visualstudio.com. VS 2013 was then able to connect to Azure.

like image 58
Paul Topping Avatar answered Oct 26 '22 21:10

Paul Topping


I got the same error. Issue was in IE Security settings TLS 1.x were unchecked.

Just selecting TLS 1.x solved the issue.

like image 31
Rajeev Avatar answered Oct 26 '22 20:10

Rajeev