问题
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