Visual Studio 连接 Exchange 电子邮件帐户时出错 [英] Visual studio error connecting exchange email account

查看:63
本文介绍了Visual Studio 连接 Exchange 电子邮件帐户时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大约两个月前,我接到了制作 Outlook.com 加载项的任务.基础工作完美,但出现了具有更高优先级的东西.所以这个项目在过去的两个月里仍然适合.

我昨天想继续这个项目,但它不再起作用了.问题来了,当我去 Visual Studio 开始项目时,需要登录我的办公室帐户.如果我登录,它将加载一段时间,然后弹出错误.它说:

连接服务器时发生错误:请求失败.无法连接到远程服务器

这怎么可能,因为我在过去两个月没有改变任何东西?我该如何解决这个问题?

我关注了这个

这是在我的 Visual Studio 中,在这里我开始我的加载项.出现以下弹出窗口.我已经仔细检查了我的凭据.

如果我点击连接,它将加载一段时间并显示以下错误:

希望这能提供有关正在发生的事情的更多信息.

解决方案

在清单节点的属性窗口中,您需要将 Use multi-factor auth 属性设置为 true.

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.

解决方案

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

这篇关于Visual Studio 连接 Exchange 电子邮件帐户时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆