Visual studio error connecting exchange email account

纵饮孤独 提交于 2021-02-11 15:59:08

问题


About two months ago I was given the task of making a outlook.com add-in. The basics worked perfectly but somthing with higher priorety came along. So the project layed still fit the last two months.

I wanted to go on with the project yesterday and it didn't work anymore. The problem comes whem I go to start the project in visual studio and, need to sign in to my office account. If I sign in it will load for a while and then an error pops up. It says:

An error occurred while connecting to the server: 

   The request failed. Unable to connect to the remote server

How is this possible since i didn't change anything in the last two months? And how can I fix the problem?

I followed this tutorial from microsoft it self.

Edit:

Here are some screenschots:

This is inside my Visual Studio, here I start my add-in. The following pop-up shows up. I have double checked my credentials.

If i click on connect it will load for a while and following error shows up:

Hopes this gives some more information about what is going on.


回答1:


In the properties window of the manifest node you need to set the Use multi-factor auth property to true.



来源:https://stackoverflow.com/questions/62036540/visual-studio-error-connecting-exchange-email-account

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!