How to Configure MAPI over HTTP and Modern Authentication in Outlook
Question details
The user needs clarification on the relationship between Modern Authentication and MAPI over HTTP, and instructions on how to configure MAPI settings to ensure Outlook connects properly to Exchange Online.

- Product
- Microsoft Outlook, Exchange Online
- Device & OS
- not provided
- Scenario
- An administrator needs to configure Exchange settings to allow or restrict Outlook connectivity using Modern Authentication and MAPI over HTTP.
- Observed behavior
- Disabling MAPI for a specific mailbox blocks Outlook desktop clients from connecting to Exchange Online, even if Modern Authentication is enabled.
Ensure you have Microsoft 365 Global Administrator or Exchange Administrator privileges, and that you are connected to the Exchange Online PowerShell module.
Enable MAPI over HTTP at the Organization Level
Organization-level Exchange settings take precedence over individual user mailboxes. You must ensure MAPI is enabled globally first.
Current versions of Outlook for Windows use Modern Authentication by default alongside MAPI over HTTP, Exchange Web Services (EWS), and the Offline Address Book (OAB). To allow standard connections, MAPI must be active across the entire organization.
Open Exchange Management Shell or connect to the Exchange Online PowerShell module using your administrator credentials.
Execute the following command to enable MAPI over HTTP globally: Set-OrganizationConfig -MapiHttpEnabled $true
Wait a short period for the configuration changes to propagate across your Microsoft 365 servers and update the client access settings.

Disable MAPI over HTTP for Specific Users
If you need to restrict Outlook desktop access for certain accounts, you can disable MAPI on a per-user basis without affecting the organization.
Looking for a Lighter, Free Alternative to Microsoft Office?
While Exchange connectivity issues require admin-level PowerShell troubleshooting in Microsoft 365, you can avoid complex setups for your daily productivity tasks by switching to WPS Office. It provides a robust, user-friendly suite for documents, spreadsheets, and presentations without the overhead.
- 1. Download the Installer: Get the free WPS Office installation package directly from the official website.
- 2. Install and Launch: Run the lightweight installer to quickly set up WPS Office on your computer.
- 3. Open Your Office Files: Seamlessly open, edit, and save your existing Microsoft Word, Excel, and PowerPoint documents with full compatibility.

Frequently Asked Questions
Do Outlook for Windows and Outlook for Mac use the same Exchange connection protocol?
No. Outlook for Windows primarily uses MAPI over HTTP for Exchange connections, while Outlook for Mac relies on Exchange Web Services (EWS) to access mail and calendar data.
Will enabling Modern Authentication automatically fix MAPI connection issues?
Not necessarily. Modern Authentication is an identity management method, while MAPI over HTTP is a transport protocol. If MAPI is disabled at the organization or mailbox level, Outlook desktop clients will fail to connect regardless of the authentication method.
Does the deprecation of Basic Authentication mean MAPI over HTTP will stop working?
No, MAPI over HTTP fully supports Modern Authentication. Microsoft's deprecation of Basic Authentication does not require you to disable MAPI over HTTP; it simply forces the protocol to use modern OAuth-based tokens instead of legacy credentials.
How can I check if MAPI over HTTP is currently enabled for my organization?
You can verify your current organization settings by running the command 'Get-OrganizationConfig | Format-List MapiHttpEnabled' in Exchange Online PowerShell.




