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).

Related Post

How to… access EAC after installing the first Exch... As soon as you introduce your first Exchange Server 2013 in your organization you first action may be trying to logon on ECP/EAC to get access however...
Managing UPN to help Exchange authentication Hi Folks, In some organizations where the Active Directory domain is different from the public name, such as apatricio.local (Active Directory FQDN) a...
IMAP inaccessible on Exchange Server 2013 If you are experiencing an issue where the IMAP clients are not able to connect on the Exchange Server 2013/2016 server, and when trying to telnet the...
Retrieving ActiveSync Logs: Using Outlook Web App Good morning my friends (long time no see, after a couple of days in holidays I’m back!) In Today’s post we are going to check it out the ActiveSync ...