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.

Solution


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.

image

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

.New-TestCASConnectivityUser.ps1

image

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

image

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

Written by Anderson Patricio

Anderson Patricio

Anderson Patricio is a Canadian MVP in Cloud and Datacenter Management, and Office Server and Services, besides the Microsoft Award he also holds a Solutions Master (MCSM) in Exchange and several other certifications. Anderson has been contributing to the Microsoft Community with articles, tutorials, blog posts, twitter, forums and book reviews. He is a regular contributor here at ITPROCentral.com, MSExchange.org, Techgenix.com and Anderson Patricio.org (Portuguese).