Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio - Publish Web App to Azure "Reenter your credentials" does not work

I can't publish an asp.net app to Azure Web App in Visual Studio 2015. It asks me to reenter my credentials, which I do, and then get the same "renter your credentials" screen.

I have two Azure accounts, one is my synced Azure AD identity ([email protected]), and the other as a cloud-only identity ([email protected]). When trying to log in with either of these accounts, Visual Studio still says "Reenter your credentials" and does not show any subscriptions or resource groups.

Looking at a Fiddler, I can see Azure return a list of all of my subscriptions, yet Visual Studio does not populate and thinks my credentials are invalid (Fiddler screenshot below)

Issue Picture

enter image description here

like image 959
Mike Veazie - MSFT Avatar asked Jan 30 '23 12:01

Mike Veazie - MSFT


1 Answers

I had the same problem

In the Acount settings of your visual studio top right.. Delete all acounts an then sign in with the proper azure account.

Then when you go to publish you can add the account

like image 162
Enrique Rábago Avatar answered Feb 02 '23 08:02

Enrique Rábago