從商務用 Skype 與 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 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 Online 或內部部署中,請參閱「新式驗證支援的商務用 skype 拓撲」文章,其具有混合拓撲 HMA,您必須先查看支援的拓撲,再開始。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 OnlineExchange 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) 的混合式新式驗證How to disable Hybrid Modern Authentication (Skype for Business)

  1. 商務用 skype 內部部署:在商務用 Skype 管理命令介面中執行下列命令:Skype for Business On-premises: Run the following commands in Skype for Business Management Shell:
Set-CsOAuthConfiguration -ClientAuthorizationOAuthServerIdentity ""
  1. 商務用 Skype online:使用遠端 PowerShell 連接至商務用 skype onlineSkype 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 .