结束对 Exchange Online 中基本身份验证的支持以及为即将停用的 Web 应用程序降低组织安全性的方法

End of support for Basic Authentication in Exchange Online and ways to downgrade organization's security for soon to be retired web application

我工作的公司有一个旧的 Web 应用程序,它使用 ExchangeServiceBinding 代理 Class 与 Exchange(在线和本地)集成。该应用程序即将停用,但我们的一些客户仍在使用它。

现在不再支持在线基本身份验证,这意味着更改代码以使用 Microsoft Graph 和 OAuth。

我在这篇博文中看到一行: https://developer.microsoft.com/en-us/office/blogs/deferred-end-of-support-date-for-basic-authentication-in-exchange-online/ :

“在您的应用程序中避免此类故障的最佳方法是采用现代身份验证。如果您无法做到这一点,您可以与客户的管理员合作,他们必须制定安全措施决定降低其组织的安全级别,以明确允许访问您的应用程序。

就像我之前提到的,该应用程序很快就会停用,因此我们正在尝试查看是否有任何方法可以绕过更改为 Microsoft Graph。从上面的段落我了解到可能有办法,但我不知道我们需要采取的具体步骤。

谢谢

Like I mentioned before, the app will soon be retired, so we are trying to see if there is any way to bypass changing to Microsoft Graph. From the paragraph above I understand that there could be a way, but I don't know exactly the steps we need to take .

虽然基本身份验证已被弃用,但 EWS 不是(例如,它仍然是 OWA 中使用的主要 API)更改您的 EWS 应用程序以使用像 MSAL 这样的库的现代身份验证是非常容易的,即使您想要为了迎合基本的、混合的现代身份验证和现代身份验证,这只是一个非常小的变化。这可能会有所帮助 https://gsexdev.blogspot.com/2020/06/modifying-your-ews-wsdl-proxy-code-for.html