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

Article ID: 2416434 - View products that this article applies to.
Expand all | Collapse all

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 features for all mailboxes in an organization 

To enable or disable any of the features that are listed earlier for all mailboxes in an Exchange Online organization, use the Get-Mailbox command.  For example, to disable POP3 in all mailboxes in an Office 365 organization, use the following command:

Get-Mailbox | Set-CASMailbox –POPEnabled $False

Properties

Article ID: 2416434 - Last Review: July 9, 2014 - Revision: 20.0
Applies to
  • Microsoft Exchange Online
Keywords: 
o365022013 KB2416434

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com