Sign in with Microsoft
Sign in or create an account.
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.


Consider the following scenario:

  • You deploy Microsoft Exchange Server 2013 and Microsoft Exchange Server 2010 in a co-existence environment.

  • All mailboxes are located in Exchange Server 2010.

  • You point all DNS records to Microsoft Exchange 2013 Client Access server for the client connection.

In this scenario, when Internet Message Access Protocol (IMAP) client sends CAPABILITY commands for ID and MOVE that can be used in Exchange Server 2013, Exchange Server 2010 cannot respond to these commands. Additionally, the following error message is thrown:

BAD Command Error. 12


This issue occurs because Exchange Server 2010 does not support IMAP capability for ID and MOVE commands that are supported in Exchange Server 2013.


To resolve this issue, install Cumulative Update 9 for Exchange Server 2013, and

create a setting override as follows:

New-SettingOverride <override name> -Component Imap -Section RfcIDImapCafe -Reason “Disable ID command in Cafe” –Parameters @(“Enabled=false”)

Once all mailboxes have been moved to Exchange Server 2013 or Exchange Server 2016, the setting override can be removed by using the Remove-SettingOverride commandlet.


To work around this issue, manually point back the DNS records to Exchange 2010 Client Access servers for client connection.


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More Information

For more information about how to disable IMAP commands in Cafe after you install Cumulative Update 9, run the following PowerShell cmdlet:

New-SettingOverride <override name> -Component Imap -Section RfcIDImapCafe -Reason “Disable ID command in Cafe” –Parameters @(“Enabled=false”)If you want to re-enable the ID command, you have to remove the previous setting override by running the Remove-SettingOverride <override name> cmdlet.


  • For the <override name> parameter, you can use any name, such as "DisableID". Similarly, you can specify your own reason for the –Reason parameter.

  • You may also want to disable the MOVE command just to be safe. To do that, run another New-SettingsOverride command by using different override name and replace the value of the Section parameter as RfcMoveImapCafe.

  • When you run the command, it should become effective within 15 minutes.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!