应用对象
Exchange Server 2016 Enterprise Edition Exchange Server 2016 Standard Edition Exchange Server 2013 Enterprise Edition Exchange Server 2013 Standard Edition

症状

假设使用 New-OWAVirtualDirectory 或 New-ECPVirtualdirectory cmdlet 在 Microsoft Exchange Server 2013 或 Microsoft Exchange Server 2016 邮箱服务器上重新创建“owa”或“ECP”虚拟目录。 在这种情况下,当用户尝试访问Outlook Web App、Outlook 网页版或 Exchange 管理中心 (EAC) 时,会收到“Http 404”错误代码。 

原因

出现此问题的原因是为“owa”和“ECP”虚拟目录设置了不正确的身份验证方法。 运行 New-OWAVirtualDirectory 或 New-ECPVirtualdirectory cmdlet 以创建“owa”或“ECP”虚拟目录时,该 cmdlet 会错误地启用 Forms 身份验证和基本身份验证,而不是Windows 身份验证。

解决方法

要解决此问题,请按照下列步骤操作。

对于“owa”虚拟目录

  1. 打开 Exchange 命令行管理程序 (EMS) ,然后运行以下 cmdlet 将“owa”虚拟目录的身份验证方法更改为Windows 身份验证:

    set-Owavirtualdirectory -identity “E15MBX\owa (Exchange 后端) ” -WindowsAuthentication $True -Basicauthentication $false -Formsauthentication $false

  2. 在客户端访问服务器和邮箱服务器上运行以下命令,重启 Internet Information Services (IIS) :

    iisreset /noforce

对于“ECP”虚拟目录

  1. 启动Windows PowerShell。

  2. 键入以下命令,然后在每行后按 Enter:

    Add-PSSnapin *exchange*Set-EcpVirtualDirectory -Identity “E15MBX\ecp (Exchange 后端) ” -WindowsAuthentication $true -FormsAuthentication $false

  3. 在客户端访问服务器和邮箱服务器上运行以下命令,重启 Internet Information Services (IIS) :

    iisreset /noforce

需要更多帮助?

需要更多选项?

了解订阅权益、浏览培训课程、了解如何保护设备等。