Knowledge Base

Sort by

How to create public folders in Microsoft Exchange and Office 365

Problem: You need to manually enable public folders in Exchange Server 2010, 2013 , 2016, 2019 or Exchange Online (Office 365). Solution: To enable public folders, you have to create an empty public folder tree. If you are using CodeTwo Exch... (ID:289)

Changing message size limits

Problem: You would like to change the message size limit, set on your target Exchange Server. This may be helpful when uploading large items via Exchange Web Services (EWS). EWS is used by selected CodeTwo products such as migration or back... (ID:284)

How the Exchange throttling policy impacts CodeTwo software

This article discusses the concept of throttling and how the Exchange throttling policy affects the performance of CodeTwo software. In addition, it provides instructions on how to manage throttling policies in Exchange . What is throttling?... (ID:283)

How to manually assign management roles

Problem: You want to assign only the minimum required management roles to the admin account used to connect to your Exchange on-prem environment. Solution: Since CodeTwo migration tools use the Role Based Access Control (RBAC) permission mo... (ID:654)

How to connect to an Exchange server via PowerShell

Problem: You want to set up a remote session to an Exchange server via PowerShell. Solution: This article will help you: connect to your on-premises Exchange servers via remote PowerShell session create a remote PowerShell connection to y... (ID:350)

How to delete the contents of a user mailbox

Problem: You would like to delete the contents of a user's mailbox in Exchange Server or Exchange Online (Office 365). Solution: In Exchange Server 2019, 2016, 2013 , 2010 or Exchange Online (Office 365), you can use PowerShell to remov... (ID:349)

How to export a list of mailboxes to a CSV file

Problem: You need to export a list of mailboxes from an on-premises Exchange server or Exchange Online (Office 365) to a CSV file, for example, to use it with CodeTwo migration software. Solution: There are two ways to prepare a CSV file li... (ID:525)

How to fix problems related to the primary SMTP address in CodeTwo software

...SMTP address in the Mailbox matching step (Fig. 1.). Fig. 1. Providing the target mailbox address manually in CodeTwo Exchange Migration. The primary SMTP address may change automatically when you implement a new Email Address Policy or c... (ID:681)

How to set impersonation rights manually

...account. Solution: Use the links below to learn how to add impersonation rights to your admin account via: PowerShell Exchange admin center (applies to Exchange 2013 , 2016, 2019, and Office 365 only). Add impersonation rights using Powe... (ID:285)

How to grant full access control to public folders

...anually granted the Full control permission to the root public folders tree. The solution depends on your environment: Exchange Server 2013 , 2016, 2019 and Exchange Online Exchange Server 2010 Info If you don’t have any public folders... (ID:658)

Free/Busy status migration

Problem: Does CodeTwo Exchange  Migration or CodeTwo Office 365 Migration software migrate Free/Busy status? Solution: The Free/busy info is a feature of MS Exchange Server provided by Availability Service. This is not something that is m... (ID:354)

How to register CodeTwo applications in Azure AD

...zure Active Directory tenant. Solution: CodeTwo Backup (starting version 2.3.x). CodeTwo Office 365 Migration / CodeTwo Exchange Migration (starting version 3.2.x) and the Sent Items Update service in CodeTwo Exchange Rules family of softwa... (ID:840)

Extended RPC logging on Exchange Server

Problem: How to extend Exchange Server RPC log files. Solution: To extend the Exchange Server RPC logging do the following steps: Locate folder named: %ExchangeInstallPath %\Bin or in the case of Exchange 2016 and Exchange 2019: %Exchang... (ID:484)

CodeTwo Reseller Panel: frequently asked questions (FAQ)

...oftware screenshots? Where can I find product videos? How to get free Not for Resale (NFR) licenses? How to get CodeTwo Exchange Rules Pro and custom signatures for internal use? When can I renew a license key or support contract, or buy m... (ID:810)

Troubleshooting problems with unavailable Exchange Web Services

Problem: While using CodeTwo software, your migration or backup job fails with the following error message: Exchange Web Services are not currently available for this request because none of the Client Access Servers in the destination sit... (ID:797)

Troubleshooting CodeTwo migration software

The first thing for you to do when troubleshooting the CodeTwo Exchange Migration and CodeTwo Office 365 Migration software is to make sure that the program was installed and configured properly and your environment is prepared for migratio... (ID:286)

How to exclude a public folder from migration

Problem: You would like to exclude a specific public folder from migration when using CodeTwo Exchange Migration or CodeTwo Office 365 Migration. Solution: Unfortunately, there is no such option in CodeTwo migration software that would allo... (ID:544)

Troubleshooting mailbox migration problems caused by MAPI limits

...x folder. MAPI_E_CALL_FAILED (0x80004005). Storage is not opened. Please open the MAPI storage and try again. module: C2ExchangeMigration .MAPI.Service.exe. MAPI function GetPropList failed. Access denied (MAPI_E_NO_ACCESS) (0x80070005). Fa... (ID:516)

How to check if my environment is hybrid?

...to in your local AD. Instead, you need to create or edit your objects locally and synchronize the changes afterwards. Exchange Hybrid If you are running a local Exchange server environment, you can also connect it with your Office 365 ten... (ID:859)

How to fix problems with verification of group membership

...t the user you chose in the Service account step meets all the requirements described in the user's manual of CodeTwo Exchange Migration or CodeTwo Office 365 Migration. If you are going to migrate public folders, double-check that this a... (ID:579)

Creating new AD users in a specific organizational unit

...e Directory. Solution: By default, new Active Directory users are put in the Users container (CN=Users). Since CodeTwo Exchange Migration uses the same settings, users created by the program on the target server are also placed there. If... (ID:729)

How to migrate room and equipment mailboxes

Problem: Resource mailboxes, such as rooms and equipment, are not listed in CodeTwo Office 365 Migration and CodeTwo Exchange Migration, so they cannot be migrated to any server. Solution: Although the migration of resource mailboxes is not... (ID:391)

Diagnosing CodeTwo migration software

Problem: CodeTwo assistance is required when you experience problems with CodeTwo Exchange Migration / CodeTwo Office 365 Migration or require advanced configuration of the software. You need to provide a description of your environment and... (ID:307)

What happens to my emails after migration if the source and target domains are different

...om the source environment to the new one. Check out Microsoft documentation on how to add a new domain to Office 365 or Exchange on-premises for more information. Important If you are about to transfer a domain between two Office 365 tena... (ID:742)

How to recreate Outlook profiles after the migration

...cannot log on. Verify you are connected to the network and are using the proper server and mailbox name. The Microsoft Exchange information service in your profile is missing required information. Modify your profile to ensure that you are... (ID:726)

Error related to deserializing object graph

...in some scenarios, especially when you are trying to: Import rules configuration file of a very large size in CodeTwo Exchange Rules and CodeTwo Exchange Rules Pro Error: The formatter threw an exception while trying to deserialize the m... (ID:498)

Prepare AD sync tools for migration to Office 365 via CodeTwo software

Problem: If you are working with AD synchronization tools (e.g. Azure Active Directory Connect) in an Exchange hybrid environment, there is a high probability that you applied a default configuration for the synchronization process. If so,... (ID:509)

How to migrate your autocomplete cache

...is described in detail in this MS article (see the section: How to copy the AutoComplete list / Outlook 2010, Outlook 2013 , and Outlook 2016). In a nutshell, after you log in using MFCMAPI you have to find and open your Inbox (located u... (ID:603)

How to generate a CSV file with PowerShell for CodeTwo migration tools

...CSV file structure The CSV file must contain the following data: CodeTwo data field Office 365 property On-premises Exchange property Source mailbox email address UserPrincipalName UserPrincipalName Source mailbox ID ExternalDirecto... (ID:906)

How to find the EWS URL and how to test it

Problem: You want to know the URL of Exchange Web Services (EWS). Solution: Finding the EWS URL on a client access server Finding the EWS URL by using the configuration of Web Services Virtual Directory Testing the EWS URL Finding the EWS... (ID:429)

Troubleshooting impersonation rights error

...n to impersonate the requested user. A similar error may also occur when using the Sent Items Update feature in CodeTwo Exchange Rules Pro. Solution: This issue can be related to: EWS throttling in Exchange insufficient impersonation permi... (ID:799)

How to retain folder permissions after restoring/migrating public folders with CodeTwo software

Problem: You want to restore/migrate public folders to another Exchange environment by using CodeTwo Backup or CodeTwo migration software. At the same time, you want to keep the same folder permissions as configured on your source environme... (ID:780)

How to fix problems with migration of public folders caused by insufficient permissions

...ermissions that are currently assigned. Please follow the steps below to grant the necessary rights, depending on your Exchange Server version. Exchange Server 2003 Exchange Server 2007 and newer You should use the same account which you... (ID:510)

How to make sure older versions of CodeTwo migration software support TLS 1.2

This article relates only to older versions (2.x) of CodeTwo migration software. If you're using version 3.x of CodeTwo Exchange Migration / Office 365 Migration, see this article. Problem: Starting 31 October 2018, Microsoft makes TLS 1.2... (ID:766)

How to make sure CodeTwo migration software supports TLS 1.2

...e version you're using (displayed on the program's title bar) with the version on the software's download page (CodeTwo Exchange Migration | CodeTwo Office 365 Migration). If you're not using the latest version, you need to update the soft... (ID:763)

Migrating default Outlook folders

...Folders like Inbox, Sent Items, Drafts, Calendar, Contacts, etc. are the default folders used in users’ mailboxes in Exchange and Outlook. These folders have the WellKnownFolderName property that allows them to be identified regardless o... (ID:712)

How to set up IIS for CodeTwo Exchange Sync and CodeTwo migration software

...tion. Failed to open mailbox 'Private Folders'. MAPI logon failed (MAPI_E_LOGON_FAILED)(0x80040111). Solution: CodeTwo Exchange Sync and CodeTwo Exchange /Office 365 Migration require the following settings of IIS: SSL encryption for th... (ID:287)

How to allow PowerShell to connect to Exchange Server over IP address

Problem: You need to be able to connect with PowerShell to your on-premises Exchange Server by using its IP address instead of its FQDN or hostname. Solution: In order to allow PowerShell to connect remotely over an IP address, PowerShell... (ID:601)

Error opening default folder (MAPI-E-INVALID-ENTRYID)

...ly the internal IDs of default folders in mailboxes (e.g. Journal or Notes) became corrupted. Therefore, when CodeTwo Exchange Migration uses MAPI libraries in order to access the data, the program is unable to access data located inside... (ID:494)

Finding large items in Exchange mailboxes

Problem: You want to find and list the largest items in Exchange  mailboxes. Solution: This article helps you list the largest items in mailboxes. This knowledge can be useful in various circumstances. For example, you want to migrate an E... (ID:440)

Error opening default mailbox in the MAPI profile

...erify that, its mailbox was never used - same as above, log in to OWA, its mailbox has MAPI access feature disabled in Exchange  mailbox properties, is hidden from Exchange Address List, you provided a wrong password for it, the password... (ID:414)

How to fix problems related to remote PowerShell connections

Problem: Due to various PowerShell errors, you cannot configure a server connection to the target on-premises Exchange environment in your CodeTwo software. You may encounter one of the following errors: Connecting to remote server failed... (ID:824)

Failed to configure MAPI profile

Problem: You are unable to configure source Server connection due to a window pop-up error: Failed to connect to Exchange Server using account . Failed to configure MAPI profile. Also, MAPI Service log files contain the following entries:... (ID:506)

Troubleshooting the ApplicationImpersonation role assignment

...ationCustomization. Solution: Important This problem, as well as the solution described below, applies only to CodeTwo Exchange Migration and CodeTwo Office 365 Migration version 3.1.x and older. We recommend updating your CodeTwo migratio... (ID:836)

How to migrate public folders from MDaemon Email Server with CodeTwo migration tools

Problem: You want to migrate mailboxes from MDaemon Email Server to your Exchange server or Office 365 with CodeTwo migration tools. However, by using the default MDaemon settings, public folders are migrated along with every mailbox, so y... (ID:727)

Error: (407) Proxy Authentication Required

Problem: You get the following error in CodeTwo Exchange Migration: Error: (407) Proxy Authentication Required. Solution: There may be a few reasons for this error to occur. Basically, this problem occurs when there is something wrong with... (ID:407)

Does CodeTwo migration software support delta pass migrations?

Problem: Does CodeTwo Exchange Migration or CodeTwo Office 365 Migration support "delta pass" migrations? Solution: Our migration software has a built-in feature that checks if an already migrated mailbox received any new items. Simply... (ID:333)

Troubleshooting CodeTwo license status verification issue

...vailable licenses. Use the links below for instructions specific to your product: CodeTwo Backup CodeTwo Office 365 / Exchange Migration CodeTwo Backup Close the Administration Panel of CodeTwo Backup. Go to Control Panel > Administrati... (ID:828)

How to manage mailboxes in Office 365 after migrating them within a hybrid environment

...wo migration tools, you are unable to change some of the user settings in Office 365 – both via Windows PowerShell or Exchange admin center in Exchange  Online. You receive the following or similar message: This user is synchronized wit... (ID:750)

How to set up DNS records properly for a migration

...orest but in different site. There are many possible migration scenarios - see a description of some of them in CodeTwo Exchange Migration user's manual. Please review the whole article below before you start applying any changes. The bott... (ID:524)

Invalid mime content

Problem: During the migration with CodeTwo Exchange Migration or CodeTwo Office 365 Migration some items are not migrated and one of the following errors is recorded for them in the log files: Error while uploading package. System.Exc... (ID:451)

Microsoft 365 sign-in screen appears blank when configuring a connection to Exchange Online

Problem: When configuring a connection to Microsoft 365 (Exchange Online) in CodeTwo backup or migration software, the Microsoft sign-in screen is not displayed correctly (blank screen is shown) and you cannot enter your credentials. This i... (ID:915)

Failed to find an exchange connection for selected mailbox

...is unable to migrate your mailboxes and you are receiving the following error during the migration: Failed to find an exchange connection for selected mailbox. Solution: This error may be caused by the following reasons: Corrupted insta... (ID:523)

Troubleshooting the 'Request Entity Too Large' error

Problem: During the migration, you are unable to upload big items to your target on-premises Exchange server, due to the following error: Error while uploading package. System.Exception: The request failed with HTTP status 413: Request Ent... (ID:504)

Error: MAPI logon failed (MAPI_E_LOGON_FAILED) (0x80040111)

Problem: You are able to migrate particular number of mailboxes (for example 20) with CodeTwo Exchange Migration or CodeTwo Office 365 Migration but after reaching that number further mailboxes are not migrated and the following error c... (ID:412)

Error: [ErrorNonExistentMailbox]

Problem: You get the following error in CodeTwo Exchange Migration or CodeTwo Office 365 Migration: [ErrorNonExistentMailbox] - The SMTP address has no mailbox associated with it. Solution: The target mailbox is not fully enabled. A user... (ID:411)

Target server mailbox addresses are not resolving

Problem: Target server mailbox addresses are not resolving in CodeTwo Exchange Migration or CodeTwo Office 365 Migration. Solution: In some migration scenarios such as a cross-domain migration the target server email addresses do not resol... (ID:394)

Error: The specified object was not found in the store

...the store. Can't connect to the mailbox of user Mailbox database guid: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx because the ExchangePrincipal object contains outdated information. The mailbox may have been moved recently. Solution: This error m... (ID:779)

Troubleshooting CodeTwo certificate validation problems

...with a link to download the latest version of your product. Use the links below to learn more about updating: CodeTwo Exchange Migration CodeTwo Office 365 Migration CodeTwo Backup Once you complete the update, there shouldn’t be any p... (ID:759)

Missing MAPI profile

...API profiles e.g. with MFCMAPI tool run under User-B. You may stumble upon this problem for example, when using CodeTwo Exchange Migration or CodeTwo Office 365 Migration. Suppose you configured a MAPI source server connection to use a diff... (ID:522)

MAPI_E_AMBIGUOUS_RECIP (0x80040700)

...window or visible in the software's log file. Fig. 1. Example of an error message window pop-up. For example, CodeTwo Exchange Sync logs the following message: Error: Error configuring Microsoft Exchange service in the profile. MAPI_E_AMB... (ID:380)

Corrupted emails after migrating from IMAP

Problem: You migrate emails from an IMAP server to a target on-premises Exchange server or Office 365 with CodeTwo migration tools. After the migration, your emails are empty, corrupted or lack formatting. Solution: Connect to your source I... (ID:664)

CodeTwo migration tools reviewed by Microsoft Exchange MVPs

It has been almost half a year now since the release of our migration tools for Exchange Server and Office 365. During the last few months we have gathered a lot of feedback about what can be done better and what new features to implement. Thanks to the hard work of our programmers CodeTwo Exchange [...]

Blocking basic authentication in Office 365 (Microsoft 365)

The article was updated on February 25, 2021 Due to the Covid-19 pandemic, there was a huge change of plans concerning disabling basic authentication in Microsoft 365 (for connections to Exchange Online). The complete shutdown has been postponed indefinitely. While it gives organizations much more time to prepare, it’s a good idea to get tenants [...]

How to block external access to Exchange admin center in Exchange 2019 via Client Access Rules?

[Update]: This post was updated on May 08, 2020. One of the most interesting security options in Exchange 2019 is the Client Access Rules feature. It allows the administrator to define rules to block or limit access to EAC (former ECP) and to EMS (Exchange Management Shell). This functionality was not present in previous versions of [...]

What’s new in Exchange 2019?

It has become a sort of a tradition to use the admin’s blog for informing you on what’s new in the newest Exchange Server version. Now, it is time to answer the question: What is new in Exchange 2019? Judging from the Exchange Server 2019 Now Available post, you could assume that Exchange 2019 does [...]

How to set up server-side email signatures on Exchange Server 2019

Exchange Server 2019 offers a way to configure a global or server-side email signature. Although it is more often referred to as “disclaimer” feature, it is often used to configure automatic HTML signatures. Why is this better than email signatures set up by users? By applying organization-wide email signatures on Exchange Server 2019, you can [...]

How to set up different email signatures for a shared mailbox and user mailbox in Office 365?

There are three options to choose from to add different signatures to user mailbox and shared mailbox emails. The first method is to create two separate signatures in Outlook, the second requires mail flow rules on the server side and the third involves the use of CodeTwo Email Signatures for Office 365. It is a [...]

Message tracking logs in Exchange Server

Possible uses for message tracking logs Message tracking logs location and structure Configure message tracking What is in the message tracking logs Using the Get-MessageTrackingLog cmdlet Message tracking logs are a valuable source of information for any Exchange admin. While Office 365 has its message tracing, which works just fine, on-premises Exchange stores much more [...]

Exchange 2016 and SharePoint 2016 integration (part 2) – calendar overlay & site mailbox

In the previous article about Exchange vs SharePoint integration, I have explained how to configure email alerts and an email-enabled library. The first part of the article also contains information about the test environment I use. This article is dedicated to calendar overlay and creating a site mailbox with an email-enabled library. As a quick [...]

Office 365 litigation hold vs retention policy – what’s the difference

[Update] This post was updated on October 18, 2017. Office 365 and on-premises Exchange offer some native means of protection against losing precious data. Lately, a lot of changes have been introduced in the Exchange Security & Compliance Center. A retention policy and a litigation hold can be used to add a layer of protection against [...]

Setting an auto reply for a shared mailbox

[Update] This post was updated on January 30, 2018 To configure a professional auto-response (not an Exchange Out Of Office message, which is sent only once per sender) for a shared mailbox, apply one of those solutions: Set an auto reply for a shared mailbox in Outlook Set an auto reply for a shared mailbox with the CodeTwo [...]

Setting an auto reply for a distribution group

First, let’s get one thing out of the way – distribution groups cannot send automatic responses by themselves. Using Reject the message with the explanation / enhanced status code transport rule actions to send auto-replies for a distribution group is not a good idea either. Firstly, because it defeats the whole purpose of maintaining a [...]

Exchange/Office 365 Hybrid Configuration Wizard – step by step guide

Deploying a hybrid environment is one of the most complicated tasks a system administrator faces during migration to Office 365. It might take weeks of collecting data about the infrastructure, reading publications, planning migration stages and testing. What is more, even with all this effort, there is no guarantee that everything will turn out just [...]

How to block sending out-of-office messages on Exchange Server for external recipients?

Sometimes you may need to prevent auto-reply messages from being sent to people outside of your organization. No matter what the reason is for such a setting, you can quickly block out-of-office messages (OOF) directly on the Exchange Server. This way you can ensure that all users in your organization have the out-of-office messages blocked [...]

Email disclaimers on Microsoft Exchange Server’s side

(First published Jan 16, 2014) Server sided email disclaimers belong to one of the most desired features among server administrators. Although the need for this functionality has been consistently increasing throughout the past years, Microsoft still hasn’t disclosed a robust built-in Exchange Server mechanism that would fully satisfy the needs of IT professionals. Let’s take [...]

How to save outgoing email attachments in SharePoint library?

CodeTwo Exchange Rules Pro is the ultimate powerhouse tool in the hands of an Exchange administrator. On a very general level it lets you create rules that redefine email flow and modify email content in your organization. A common example of the program’s application is extended control over server-level email signatures. There are, however, numerous [...]

Exchange 2013 components inactive

Installing a new Cumulative Update (CU) on the Exchange Server is always somehow stressful. If something goes wrong, you may be left with a corrupted/not working Exchange Server what means a financial loss to your company. To prevent this scenario from happening, make sure you always create an up-to-date backup copy before starting the CU installation [...]

The differences between Exchange 2016 and Exchange 2013

It’s been a while since Exchange 2016 was published and some of you probably are long after the first impressions and experiences in working with the newest release. Those of you, who haven’t had this pleasure yet, need to know that moving to Exchange 2016 doesn’t have this offbeat taste and Exchange 2013 users should [...]

How to track attachments in Exchange 2013/2016/2019

[Update]: This post was updated on April 18, 2017. One of the security issues that are troubling system administrators these days is to keep track of email attachments that were sent and received in the organization. Since files attached in emails might contain malicious software, sensitive information or just simply grow the email database size [...]

Email rules on Exchange Server explained

Email traffic increases steadily each year. In 2012, users were sending 144 billion messages a day, while in 2014 this number reached 191.4 billion. According to the Radicati report the volume of sent emails will hit the 201 billion mark in 2015. With such a big volume of data, it is quite a challenge to [...]

How to manage users’ photos in Microsoft Lync, Outlook and Exchange Server?

Starting with the 2010 edition of Outlook, Lync and Exchange users are finally able to have their photos displayed directly in Outlook and Lync clients in conversations. This new feature, although extremely helpful for users, brought new challenges from the infrastructure and administration point of view. We probably all know these blurry images appearing in Lync [...]

Email forwarding on Exchange Server 2013/2016/2019

[Update]: This blog post was updated on March 18, 2019. Some organizations may require to automatically forward emails or send a copy of a message to other mailbox on Exchange. The reasons may be different ranging from auditing purposes, data leak protection (DLP), availability, etc. In other words, there are cases when emails from certain [...]