When setting up a Microsoft Exchange account on Microsoft Outlook, sometimes you'll get an error stating:

"The action cannot be completed. The name cannot be matched to a name in the address list."

and the account setup will fail.  This error could also manifest as:

"The name cannot be resolved. The connection to Microsoft Exchange is unavailable."

 There are plenty of posts online on how to fix this problem, with hints about disabling hiding the mailbox within Exchange, making sure the server is reachable, changing LDAP/AD settings using ASDIedit.msc, and even deleting saved passwords for the user account.

I recently migrated a Windows Server/Active Directory network to Linux/LDAP, and part way through the migration, Outlook started throwing these errors. The user accounts had been migrated to LDAP, but email was still hosted on Exchange.

This was nothing to do with the problem, however. 

What had actually happened, completely coincidentally, is that Exchange had bumped up against some of its internal limits on storage references, as evidenced by a number of event log entries similar to this:

Source: MSExchangeIS

EventID: 9667

Description: Failed to create a new named property for database "First Storage Group\Mailbox Store (APPSERVER2)" because the number of named properties reached the quota limit (8192).

 This was causing the account setup on Outlook to fail. The solution was actually described in this Microsoft KnowledgeBase article:

https://support.microsoft.com/en-us/kb/820379

Following this, Exchange account creation in Outlook completed successfully.