Exchange 2013 MAPI over HTTP(S)

MAPI over HTTP(S) Implementation Steps:

Requirements/Prerequisites

Server Requirements:

All Exchange 2013 Client Access Servers to be updated to Exchange Server 2013 SP1 (or later).

 

Client Requirements:

Outlook 2013 SP1 or Outlook 2010 SP2 with updates KB2956191 and KB2965295 (April 14, 2015).

 

.NET

.NET 4.5.1

 

Namespace:

MAPI/HTTP is a new endpoint on CAS and can utilize both an internal namespace and an external namespace. 

 

Certificates:

The certificate used in Exchange will need to include both the internal and external MAPI/HTTP virtual directories to avoid any user certificate prompts, thus consider if the names exist on your certificates.

 

Enable MAPI/HTTP Configuration:

Enabling MAPI/HTTP is an organizational configuration in Exchange, you won’t have the ability configure this for a subset of servers. If you require more specific control you can control the client behavior with a registry key.

Get-OrganizationConfig | fl mapi*

Set-OrganizationConfig -MapiHttpEnabled $True

 

Connectivity:

An important consideration is to verify load balancers, reverse proxies, and firewalls are configured to allow access to the MAPI/HTTP virtual directories.

 

IIS Authentication

NTLM,Negotiate

 

Virtual directory configuration   

Set-MapiVirtualDirectory –Identity “MSEXCHCAS01\mapi (Default Web Site)” -InternalUrl https://mapi.example.com/mapi –ExternalUrl https://mapi.example.com/mapi -IISAuthenticationMethods NTLM,Negotiate

Testing – Test MAPI over HTTP connections

1. Test with the Test-OutlookConnectivity cmdlet

Use this command to test MAPI/HTTP connectivity:

Test-OutlookConnectivity -RunFromServerId Contoso -ProbeIdentity OutlookMapiHttpSelfTestProbe

Ref:https://technet.microsoft.com/en-us/library/dn635177(v=exchg.150).aspx

2. Inspect MAPI/HTTP server logs

Administrators can review the following MAPI/HTTP log files to validate how the configuration is operating:

Location

Path

CAS:

%ExchangeInstallPath%Logging\HttpProxy\Mapi\HTTP

Mailbox:

%ExchangeInstallPath%Logging\MAPI Client Access\

Mailbox:

%ExchangeInstallPath%Logging\MAPI Address Book Service\

3. Check Outlook connection status on clients

You can also quickly verify that the client is connected using MAPI/HTTP. The Outlook Connection status dialog can be launch by CTRL-right clicking the Outlook icon in the notification area and selecting Connection Status. Here are the few key fields to quickly confirm the connection is using MAPI/HTTP.

Field

Value

Protocol

HTTP (v/s RPC/HTTP for Outlook Anywhere)

Proxy Server

Empty

Server name

Actual server name (v/s GUID for Outlook Anywhere connections)

Rollback Plan

We should not need to roll anything back, as Outlook 2013 will see the AutoDiscover XML payload (either EXPR or EXCH records) and then adjust / connect accordingly.

We can force Mapi/Http to be disabled by the clients by modifying the registry entries. Using EPO/SCCM the registry can be pushed to clients.

To disallow MAPI/HTTP and force RPC/HTTP to be used.

HKEY_CURRENT_USER\Software\Microsoft\Exchange]

“MapiHttpDisabled”=dword:1

To allow MAPI/HTTP simply delete the MapiHttpDisabled DWORD, or set it to a value of 0 as below.

HKEY_CURRENT_USER\Software\Microsoft\Exchange]

“MapiHttpDisabled”=dword:0

If users are not able to connect using MAPI/HTTP then we need to check if the below registry is exists with the value “1” then we need to either change the value to “0” or delete it.

Impact

Users will get a prompt to restart outlook. Outlook client detects the new connection path and prompts the user to restart, then it will use MAPI/HTTP to communicate with Exchange.

If MAPI over HTTP is enabled at the organization level but disabled for a mailbox, that mailbox will use Outlook Anywhere connections.

The following example enables MAPI over HTTP connections for a single mailbox:

Set-CasMailbox “mailbox name” -MapiHttpEnabled $true

Similar Posts

  • Exchange MRS Proxy endpoint

    Enable MRS Proxy endpoint for remote moves   The Mailbox Replication service (MRS) has a proxy endpoint that’s required for cross-forest mailbox moves and remote move migrations between your on-premises Exchange organization and Microsoft 365 or Office 365. You enable the MRS proxy endpoint in the Exchange Web Services (EWS) virtual directory settings in the…

  • | | | |

    Resource Rooms and Calendars CMDlets

    Exchange Resource Rooms and Calendars PowerShell CMDlets Disable Double Booking of Meeting Rooms Set-CalendarProcessing -Identity ‘room’ -AllowConflicts:$false Disable Double Booking on all Meeting Rooms Get-Mailbox | where {$_.ResourceType -eq “Room” } | Set-CalendarProcessing -AllowConflicts:$false Get Status of Meeting Rooms Calendars Get-CalendarProcessing -Identity room | fl Get Calendar Permissions for user Get-MailboxFolderPermission roomname@domain.org:\calendar Grant read rights to…

  • Microsoft Exchange Server 2016 Configure Transport Rules

    Configure Transport Rules Transport rules are configured by using a wizard, similar to the wizard that Outlook uses for mailbox rules. When you configure transport rules, you should define the following elements: Conditions. Transport rule conditions indicate which email message attributes, headers, recipients, senders, or other message parts Exchange Server uses to identify the email messages…

  • Edge Transport Server

    The Edge Transport server role is available from Exchange 2013 Service Pack 1. This server role is deployed in the perimeter network and outside the Active Directory forest. Edge Transport servers don’t have direct access to Active Directory for configuration and recipient information in the way Client Access or Mailbox servers do. The Edge Transport…

  • Advanced Threat Protection

    Advanced Threat Protection Advanced Threat Protection (ATP) is a new email filtering service that complements Exchange Online Protection (EOP) and provides protection against specific types of advanced threats including phishing and zero day attacks. ATP delivers the following benefits: Safe links. Attackers sometimes try to hide malicious URLs with seemingly safe links that are redirected to…

  • | | |

    Managing Mailbox Permissions CMDlets

    Managing Mailbox Permissions PowerShell Commands Grant Send on Behalf of Permissions Set-Mailbox ‘user@domain.com’ -GrantSendOnBehalfTo ‘user@domain.com’ Add Editor permissions Add-MailboxFolderPermission -Identity ‘user@domain.com’ -User ‘user@domain.com’ -AccessRights Editor Add Reviewer permissions (what if) Set-MailboxFolderPermission -Identity ‘user@domain.com’ -User ‘user@domain.com’ -AccessRights Reviewer -whatif Getting Mailbox Folder Permissions Get-MailboxFolderPermission -Identity ‘user@domain.com’ | fl Get-MailboxFolderPermission -Identity user@domain.com:\inbox Impersonation Rights New-ManagementRoleAssignment Name:RoleName -Role:ApplicationImpersonation -User:’domain\alias’…

Leave a Reply

Your email address will not be published. Required fields are marked *