从 Skype for Business 和 Exchange 删除或禁用混合新式验证Removing or disabling Hybrid Modern Authentication from Skype for Business and Exchange

本文适用于 Microsoft 365 企业版和 Office 365 企业版。This article applies to both Microsoft 365 Enterprise and Office 365 Enterprise.

如果已启用混合新式验证 (HMA) 仅发现它不适合当前环境,可以禁用 HMA。If you've enabled Hybrid Modern Authentication (HMA) only to find it's unsuitable for your current environment, you can disable HMA. 本文介绍如何。This article explains how.

本文针对谁?Who is this article for?

如果你已启用 Skype for Business Online 或本地、和/或 Exchange Online 或本地的新式验证,并且发现你需要禁用 HMA,这些步骤适合你。If you've enabled Modern Authentication in Skype for Business Online or On-premises, and/or Exchange Online or On-premises and found you need to disable HMA, these steps are for you.

重要

如果你位于 Skype for Business Online 或本地,拥有混合拓扑 HMA,并且需要在开始之前查看支持的拓扑,请参阅' Skypefor Business topologies supported with Modern Authentication'一文。See the 'Skype for Business topologies supported with Modern Authentication' article if you're in Skype for Business Online or On-premises, have a mixed-topology HMA, and need to look at supported topologies before you begin.

如何禁用 Exchange (混合新式) How to disable Hybrid Modern Authentication (Exchange)

  1. Exchange 本地:打开 Exchange 命令行管理程序 并运行以下命令:Exchange On-premises: Open the Exchange Management Shell and run the following commands:
Set-OrganizationConfig -OAuth2ClientProfileEnabled $false
Set-AuthServer -Identity evoSTS -IsDefaultAuthorizationEndpoint $false
  1. Exchange Online:使用远程 PowerShell 连接到 Exchange Online。Exchange Online: Connect to Exchange Online with Remote PowerShell. 运行以下命令以将 OAuth2ClientProfileEnabled 标志变成"false":Run the following command to turn your OAuth2ClientProfileEnabled flag to 'false':
Set-OrganizationConfig -OAuth2ClientProfileEnabled:$false

如何禁用 Skype for Business (混合新式) How to disable Hybrid Modern Authentication (Skype for Business)

  1. 本地 Skype for Business:在 Skype for Business 命令行管理程序 中运行以下命令:Skype for Business On-premises: Run the following commands in Skype for Business Management Shell:
Set-CsOAuthConfiguration -ClientAuthorizationOAuthServerIdentity ""
  1. Skype for Business Online: 使用远程 PowerShell 连接到 Skype for Business Online。Skype for Business Online: Connect to Skype for Business Online with Remote PowerShell. 运行以下命令以禁用新式验证:Run the following command to disable Modern Authentication:
Set-CsOAuthConfiguration -ClientAdalAuthOverride Disallowed

链接回新式验证概述Link back to the Modern Authentication overview .