How to enable or disable POP3, IMAP, MAPI, Outlook Web App or Exchange ActiveSync for a mailbox in Office 365

Summary

This article identifies the commands to use to enable or disable the following items for a mailbox in Exchange Online in Office 365:

  • Post Office Protocol (POP)
  • Internet Message Access Protocol (IMAP)
  • Messaging Application Programming Interface (MAPI)
  • Outlook Web App
  • Microsoft Exchange ActiveSync

More Information

Note Before you run any of the commands in the following steps, you have to first connect to Exchange Online by using remote PowerShell. For more info about how to do this, see Connect to Exchange Online Using Remote PowerShell.

Enable or disable POP3 for an Exchange Online mailbox

To enable POP3 for a specific user, run the following cmdlet:

Set-CASMailbox <Alias,Primary SMTP, or UPN> -PopEnabled $True

To disable POP3 for a specific user, run the following cmdlet:

Set-CASMailbox <Alias, Primary SMTP, or UPN> -PopEnabled $False

Enable or disable IMAP for an Exchange Online mailbox

To enable IMAP for a specific user, run the following cmdlet:

Set-CASMailbox <Alias, Primary SMTP, or UPN> -ImapEnabled $True

To disable IMAP for a specific user, run the following cmdlet:

Set-CASMailbox <Alias, Primary SMTP, or UPN> -ImapEnabled $False

Enable or disable MAPI for an Exchange Online mailbox 

To enable MAPI for a specific user, run the following cmdlet:

Set-CASMailbox <Alias, Primary SMTP, or UPN> -MAPIEnabled $True

To disable MAPI for a specific user, run the following cmdlet:

Set-CASMailbox <Alias, Primary SMTP, or UPN> -MAPIEnabled $False

Enable or disable Outlook Web App for an Exchange Online mailbox

To enable Outlook Web App for a specific user, run the following cmdlet:

Set-CASMailbox <Alias, Primary SMTP, or UPN> -OWAEnabled $True

To disable Outlook Web App for a specific user, run the following cmdlet:

Set-CASMailbox <Alias, Primary SMTP, or UPN> -OWAEnabled $False

Enable or disable Exchange ActiveSync for an Exchange Online mailbox

To enable Exchange ActiveSync for a specific user, run the following cmdlet:

Set-CASMailbox <Alias, Primary SMTP, or UPN> -ActiveSyncEnabled $True

To disable Exchange ActiveSync  for a specific user, run the following cmdlet:

Set-CASMailbox <Alias, Primary SMTP, or UPN> -ActiveSyncEnabled $False

Enable or disable Exchange Web Services (EWS) for an Exchange Online mailbox

To enable EWS for an Exchange Online mailbox, run the following cmdlet:

Set-CASMailbox <Alias, Primary SMTP, or UPN> -EWSEnabled $True

To disable EWS for an Exchange Online mailbox, run the following cmdlet:

Set-CASMailbox <Alias, Primary SMTP, or UPN> -EWSEnabled $False

Still need help? Go to Microsoft Community.
Properties

Article ID: 2416434 - Last Review: Nov 30, 2016 - Revision: 1

Feedback