How to test IMAP connectivity

Share this:

In some situations the administrator has to test connectivity of any given protocol, and Exchange Server offers a cmdlet for the vast majority of protocols, in this Tutorial we are going to over the simple steps to test IMAP using Exchange Server 2013.


The cmdlet to test it is Test-IMAPConnectvitiy, however in order to use it a a test user account is required. When the test user account is not created the following error message will be displayed.


To create the test user account these following steps are required. A new account with prefix extest_ will be created as part of the process.

cd $exscripts



Having the test account in place, we can execute the cmdlet without any parameters to get the results, but the administrator can use the | fl and that will provide more information about the test process.

Test-IMAPConnectivity | fl


Using these simple steps listed above the administrator can test IMAP connectivity using Exchange Management Shell.

Written by Anderson Patricio

Anderson Patricio is a Canadian Exchange Server MVP and MCSM (Solutions Master) and he contributes to the Microsoft Community with articles, tutorials, blog posts, forums and book reviews. He is a regular contributor at, and (Portuguese).