Knowledge Base

How to connect CodeTwo products to Azure Germany cloud services

This article is obsolete and may relate only to older versions of our software.


You are unable to use CodeTwo software with Azure Germany cloud services because EWS and PowerShell connections are not working properly (Fig. 1.).

Fig. 1. Unable to connect to Azure Germany via PowerShell.


You need to adjust the hosts file that maps hostnames to IP addresses, so that your software automatically connects to the PowerShell and EWS servers deployed in Azure Germany instead of the default servers.


Please keep in mind that this solution is only a workaround as we cannot guarantee proper behavior of the software. Additionally, after making the following changes, it will be impossible to establish connections to the default PowerShell and EWS servers on your machine. The changes will not affect the rest of your environment.

First, you need to get one of the valid IP addresses that points to Exchange servers hosted in Azure Germany which can handle PowerShell and EWS requests. To do so, open the command prompt and check the IP address of the hostname. Use the following command:


Note down or copy the IP address - you will need it later (Fig. 2.):

Fig. 2. Checking the IP address of an Exchange server.

Once this is done, you need to update your system configuration in the following way:

  1. Open Windows Notepad or any other text editor with administrative privileges.
  2. Open the following file:
  3. Add the following entries to the file:
    <your IP address>
    <your IP address>
    For example:
  4. In order to apply changes, restart the application you want to use (along with its service, if present) or reboot your machine.

You should now be able to use your tenant in Azure Germany with CodeTwo products.

Was this information useful?