macos - 从 mac 使用 EWS 托管 API 2.2 连接到 Exchange Web Server (EWS)
问题描述
我们正在尝试使用 EWS 托管 API 2.2 以编程方式连接到 EWS。
直到 Mac Os 10.12,我们都可以使用
//Connect by using the default credentials of the authenticated
user.
service.UseDefaultCredentials = true;
service.EnableScpLookup = false;
和
// Use Autodiscover to set the URL endpoint.
service.AutodiscoverUrl("user1@contoso.com");
使用它并且无需显式提供凭据,我们就能够连接到 Mac 中的 EWS。
但是从 10.13 开始,要连接到 EWS,这不起作用。是否有任何人能够连接 Exchange Server,而无需在域管理的 Mac 计算机(用户已经登录)中明确提供凭据。
解决方案
推荐阅读
- c# - MVVM 应用程序中用户配置数据的实用管理
- javascript - JS - 给定对象数组,我可以返回一个仅包含选定属性的数组吗?
- javascript - JavaScript 中的 Snake:我的蛇尾巴不能再长了
- python - 如何在同一个图上很好地缩放图形和向量场?[奇怪的鳞片]
- jquery - JQuery 函数在初始 getJSON 加载时未找到检查
- javascript - 一个 HTML 表单文本框在 Firefox 中不显示键盘输入
- jquery - 使用jquery获取带有表格单元格的封闭输入的值
- html - 如何防止光标输入垃圾邮件悬停元素?
- amazon-web-services - AppSync 到 DynamoDB 更新查询映射错误
- heroku - heroku 自定义域:主机