Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

MAPI virtual directory is missing from Default Web Site node


View products that this article applies to.

Symptoms

Consider the following scenario:
  • You have a computer that is running Microsoft Exchange Server 2013.
  • The computer has both the Client Access server (CAS) role and Mailbox role installed, or it has only the CAS role installed.
  • You perform a server recovery by using the /m:RecoverServer parameter.
In this scenario, after the server recovery process is complete, the MAPI virtual directory is not listed under the Default Web Site node. The list display would be similar to the following screen shot.

Default Web Site node

Additionally, the Get-MapiVirtualDirectory command generates the following error message:

WARNING: IIS:/exch1.contoso.com/W3SVC/1/ROOT/mapi wasn't found. Please make sure you've typed it correctly.

↑ Back to the top


Cause

This problem occurs because the /RecoverServer task does not re-create the MAPI virtual directory.

↑ Back to the top


Resolution

To resolve this issue, install Cumulative Update 7 for Exchange Server 2013.

↑ Back to the top


Workaround

To work around this problem, re-create the MAPI virtual directory. To do this, following these steps:
  1. Run the following command to list the current properties of the MAPI virtual directory:

    Get-MapiVirtualDirectory –Server <CAS> -ADPropertiesOnly 
    Note the following properties in particular:
    • InternalURL
    • ExternalURL
    • IISAuthenticationMethods
    For example, note these properties in the following command ouput.

    Get-MapiVirtualDirectory output
  2. Run the Remove-MapiVirtualDirectory command to delete the existing MAPI virtual directory, as follows:

    Remove-MapiVirtualDirectory -Identity "EXCH1\mapi (Default Web Site) 
  3. Run the New-MapiVirtualDirectory command to re-create the MAPI virtual directory. For example, run the following command:

    New-MapiVirtualDirectory -Server exch1 -InternalUrl https://exch1.contoso.com -IISAuthenticationMethods Ntlm, OAuth, Negotiate 

↑ Back to the top


Keywords: kb, kbexpertiseadvanced, kbfix, kbqfe, kbgraphxlink, kbsurveynew

↑ Back to the top

Article Info
Article ID : 2931223
Revision : 2
Created on : 7/30/2020
Published on : 7/30/2020
Exists online : False
Views : 496