Microsoft Visual Studio Credential Errors on Micro

2019-06-22 15:42发布

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.

4条回答
Viruses.
2楼-- · 2019-06-22 16:01

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

查看更多
成全新的幸福
3楼-- · 2019-06-22 16:13

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

查看更多
Evening l夕情丶
4楼-- · 2019-06-22 16:21

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.

查看更多
太酷不给撩
5楼-- · 2019-06-22 16:22

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 johndoe@hotmail.com : johndoe_hotmail.com#EST#@tenantname.onmicrosoft.com

查看更多
登录 后发表回答