Initial configuration of CodeTwo Exchange Sync in environments where AutoDiscover cannot be reached
When installing and configuring Exchange Sync a pop-up window emerges as below and the program seems to be not able to communicate to the Autodiscover service.
Since the version 2.5 of the CodeTwo Exchange Sync this issue has been eliminated and there has been much better connectivity algorithms implemented. So if you can see above window, there is probably an out of date version of the software installed on your machine. Please update the program to the latest release.
If you are not able to do an update for some reason, please read the content below.
Before attempting the manual configuration following steps below please consult the Setting up the IIS for Exchange Sync article to exclude the improper IIS configuration as the source of the problems.
The settings in this window depend on the version of Exchange Server you are using:
- 2003: just click OK to confirm.
- 2007: you need to provide the Server Name only.
- 2010: you need to provide the Server Name only.
- 2013: you need to provide the Personalized Server ID only and CAS Name.
- Server Name – Exchange Server Fully Qualified Domain Name.
- Personalized Server ID – it is a connection point comprised of mailbox GUID, @ symbol, and the domain portion of the user’s primary SMTP address.
- CAS Name – Client Access Server Name for environments where CAS machine or CAS Array is in operation.
How to obtain your Server Name, Personalized Server ID and CAS Name:
- Go to the computer where Outlook is installed and run it.
- In your system tray (bottom right corner of the Desktop) find MS Outlook icon.
- Hold the left Control key and left mouse button click on that icon.
- From the menu that pop-ups pick option “Test E-mail Autoconfiguration”.
- In the “Test E-mail AutoConfiguration” window provide an email address of the account under which the program’s service will be running. Uncheck all checkboxes except for “Use AutoDiscover”.
- In the "Results" tab you can find the Server Name in the "Server" field. In case of the Exchange Server 2013 the same "Server" field value is your Personalized Server ID.
- The CAS Name is visible in the "Log" tab as the server name and the domain in the URL of the “AutoDiscover”.
What if you check the checkbox "don't ask me again" but want to change those settings in the future?
- Run your Windows Explorer and in the address bar type in %appdata% and hit Enter.
- Follow the path ...\AppData\Roaming\CodeTwo\Exchange Sync to find a file ConData.ini
- Edit the ConData.ini file with a notepad
- An unconfigured file looks like the below presented example, however, if your Autodiscover happen to work properly and you are never prompted about the settings described in this article, the file will never exist at all:
[Exchange] ServerId= CAS= Version= DoNotAsk=0
- If the checkbox not to ever ask again was checked the last value is 1. You need to change it to 0 to get the settings window to pop-up again in the event of Autodiscover not being available.
If the program does not work despite meeting the above requirements please see the diagnosing CodeTwo Exchange Sync article.
- Applies to: CodeTwo Exchange Sync
- Categories: How-To
- Last modified: 2015-01-20
- Created: 2013-08-15
- ID: 282
- Keywords: CodeTwo Exchange Sync, Server Name, Personalized Server ID, CAS name, AutoDiscover, AutoConfiguration