hiboss
hiboss

Reputation: 317

Microsoft Visual Studio Credential Errors on Microsoft Azure Account

I was trying to deploy my web application to Microsoft Azure and as I enter my credentials for my Microsoft account, this error popped up and I'm unable to seek the solution to solve. However, I tried logging in through Microsoft Visual Studio itself and get the same error message as well

[Error In TextForm]

We could not add the account [myemail] user_interaction_required : One of two conditions was encountered: 1. The PromptBehavior.Never flag was passed, but the constraint could not be honored, because user interaction was required. 2. An error occurred during a silent web authentication that prevented the http authentication flow from completing in a short enough time frame

Error Description

May I know what details I need to check in order to solve the following error?

Thanks in advance.

Upvotes: 6

Views: 4321

Answers (4)

Arun Saini
Arun Saini

Reputation: 7814

I removed the Users from Azure Active Directory group which were not having any subscriptions, and it works!!

Upvotes: 0

baywet
baywet

Reputation: 5342

In my case it was because I recently left a company.
They had referenced my personal account for some reason in their Azure Active Directory and locked down the account.
I could determine I was still part of their directory from the azure portal, on the right after clicking on the user name their directory was here among others.
Just contacted then to remove the reference to my account which looks like this if your email is [email protected] : johndoe_hotmail.com#EST#@tenantname.onmicrosoft.com

Upvotes: 0

K _
K _

Reputation: 1

Try this:
1. Remove existing account
2. Restart
3. Add account

Upvotes: -1

Stuart Hallows
Stuart Hallows

Reputation: 8953

Try this:

  1. Remove the existing account from Visual Studio
  2. Close Visual Studio
  3. Open a developer command prompt
  4. Type devenv.exe /resetuserdata
  5. Restart Visual Studio
  6. Try and enter you credentials

Worked for me.

Upvotes: 4

Related Questions