I have and Exchange 2013 cluster with 3 servers all performing both CAS and MB roles. This environment was originally a 2003 server, then 2007, then 2010, and now 2013 so it has been migrated many times in the past. It seems at some point something was missed and now we are having serious issues.
It started when I was unable to create new profiles in Outlook. After much troubleshooting and digging I found I was also having a problem creating new mailboxes in Exchange and even updating settings such as mailbox limits. When I try to create a new Mailbox I receive the error:
The LdapRecipientFilter "(& (mailnickname=*) (| (&(objectCategory=person)(objectClass=user)(!(homeMDB=*))(!(msExchHomeServerName=*)))(&(objectCategory=person)(objectClass=user)(|(homeMDB=*)(msExchHomeServerName=*)))(&(objectCategory=person)(objectClass=contact))(objectCategory=group)(objectCategory=publicFolder)(objectCategory=msExchDynamicDistributionList) ))" on Address List or Email Address Policy "\Default Global Address List" is invalid. Additional information: The attribute type 'mailnickname' or its syntax is not defined in the schema.
This all seems to come down to issues with the Global AddressList and the Offline Address List. Thanks to other posts and Google I found that I should simply update these list using Get-AddressList | Update-AddressList and Get-GlobalAddressList | Update-GlobalAddressList. These commands however through some erros:
Get-AddressList | Update-AddressList
WARNING: The recipient "MyDomain.local/Users/HealthMailboxc5809e7b325d447f91bc3d7ea36c15e2" is invalid and couldn't be
updated.
WARNING: The recipient "MyDomain.local/Users/HealthMailbox6d5b50c9e47e4ad283e5ceef43f051e8" is invalid and couldn't be
updated.
WARNING: The recipient "MyDomain.local/Users/HealthMailbox033a6d5dc2734020861241094e333a83" is invalid and couldn't be
updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/Monitoring
Mailboxes/HealthMailbox3b9adbecf3224170aa5827a8b9dd8173" is invalid and couldn't be updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/Monitoring
Mailboxes/HealthMailboxb55608d9ec2c42029346ccf54541fc45" is invalid and couldn't be updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/Monitoring
Mailboxes/HealthMailbox70d4dd84317b4819a90a2dff0178614b" is invalid and couldn't be updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/OAB Version 2" is invalid and couldn't be
updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/OAB Version 3a" is invalid and couldn't be
updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/OAB Version 4" is invalid and couldn't be
updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/Offline Address Book -
\/o=MyDomain\/cn=addrlists\/cn=oabs\/cn=Default" is invalid and couldn't be updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/Offline Address Book - first administrative
group" is invalid and couldn't be updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/Schedule+ Free Busy Information - first
administrative group" is invalid and couldn't be updated.
WARNING: The recipient "MyDomain.local/Users/HealthMailboxc5809e7b325d447f91bc3d7ea36c15e2" is invalid and couldn't be
updated.
WARNING: The recipient "MyDomain.local/Users/HealthMailbox6d5b50c9e47e4ad283e5ceef43f051e8" is invalid and couldn't be
updated.
WARNING: The recipient "MyDomain.local/Users/HealthMailbox033a6d5dc2734020861241094e333a83" is invalid and couldn't be
updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/Monitoring
Mailboxes/HealthMailbox3b9adbecf3224170aa5827a8b9dd8173" is invalid and couldn't be updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/Monitoring
Mailboxes/HealthMailboxb55608d9ec2c42029346ccf54541fc45" is invalid and couldn't be updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/Monitoring
Mailboxes/HealthMailbox70d4dd84317b4819a90a2dff0178614b" is invalid and couldn't be updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/OAB Version 2" is invalid and couldn't be
updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/OAB Version 3a" is invalid and couldn't be
updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/OAB Version 4" is invalid and couldn't be
updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/Offline Address Book -
\/o=MyDomain\/cn=addrlists\/cn=oabs\/cn=Default" is invalid and couldn't be updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/Offline Address Book - first administrative
group" is invalid and couldn't be updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/Schedule+ Free Busy Information - first
administrative group" is invalid and couldn't be updated.
[PS] C:\Windows\system32>Get-GlobalAddressList | Update-GlobalAddressList
WARNING: The recipient "MyDomain.local/Users/HealthMailboxc5809e7b325d447f91bc3d7ea36c15e2" is invalid and couldn't be
updated.
WARNING: The recipient "MyDomain.local/Users/HealthMailbox6d5b50c9e47e4ad283e5ceef43f051e8" is invalid and couldn't be
updated.
WARNING: The recipient "MyDomain.local/Users/HealthMailbox033a6d5dc2734020861241094e333a83" is invalid and couldn't be
updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/Monitoring
Mailboxes/HealthMailbox3b9adbecf3224170aa5827a8b9dd8173" is invalid and couldn't be updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/Monitoring
Mailboxes/HealthMailboxb55608d9ec2c42029346ccf54541fc45" is invalid and couldn't be updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/Monitoring
Mailboxes/HealthMailbox70d4dd84317b4819a90a2dff0178614b" is invalid and couldn't be updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/OAB Version 2" is invalid and couldn't be
updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/OAB Version 3a" is invalid and couldn't be
updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/OAB Version 4" is invalid and couldn't be
updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/Offline Address Book -
\/o=MyDomain\/cn=addrlists\/cn=oabs\/cn=Default" is invalid and couldn't be updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/Offline Address Book - first administrative
group" is invalid and couldn't be updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/Schedule+ Free Busy Information - first
administrative group" is invalid and couldn't be updated.
Get-AddressList | Update-AddressList
WARNING: The recipient "MyDomain.local/Users/HealthMailboxc5809e7b325d447f91bc3d7ea36c15e2" is invalid and couldn't be
updated.
WARNING: The recipient "MyDomain.local/Users/HealthMailbox6d5b50c9e47e4ad283e5ceef43f051e8" is invalid and couldn't be
updated.
WARNING: The recipient "MyDomain.local/Users/HealthMailbox033a6d5dc2734020861241094e333a83" is invalid and couldn't be
updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/Monitoring
Mailboxes/HealthMailbox3b9adbecf3224170aa5827a8b9dd8173" is invalid and couldn't be updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/Monitoring
Mailboxes/HealthMailboxb55608d9ec2c42029346ccf54541fc45" is invalid and couldn't be updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/Monitoring
Mailboxes/HealthMailbox70d4dd84317b4819a90a2dff0178614b" is invalid and couldn't be updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/OAB Version 2" is invalid and couldn't be
updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/OAB Version 3a" is invalid and couldn't be
updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/OAB Version 4" is invalid and couldn't be
updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/Offline Address Book -
\/o=MyDomain\/cn=addrlists\/cn=oabs\/cn=Default" is invalid and couldn't be updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/Offline Address Book - first administrative
group" is invalid and couldn't be updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/Schedule+ Free Busy Information - first
administrative group" is invalid and couldn't be updated.
WARNING: The recipient "MyDomain.local/Users/HealthMailboxc5809e7b325d447f91bc3d7ea36c15e2" is invalid and couldn't be
updated.
WARNING: The recipient "MyDomain.local/Users/HealthMailbox6d5b50c9e47e4ad283e5ceef43f051e8" is invalid and couldn't be
updated.
WARNING: The recipient "MyDomain.local/Users/HealthMailbox033a6d5dc2734020861241094e333a83" is invalid and couldn't be
updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/Monitoring
Mailboxes/HealthMailbox3b9adbecf3224170aa5827a8b9dd8173" is invalid and couldn't be updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/Monitoring
Mailboxes/HealthMailboxb55608d9ec2c42029346ccf54541fc45" is invalid and couldn't be updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/Monitoring
Mailboxes/HealthMailbox70d4dd84317b4819a90a2dff0178614b" is invalid and couldn't be updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/OAB Version 2" is invalid and couldn't be
updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/OAB Version 3a" is invalid and couldn't be
updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/OAB Version 4" is invalid and couldn't be
updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/Offline Address Book -
\/o=MyDomain\/cn=addrlists\/cn=oabs\/cn=Default" is invalid and couldn't be updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/Offline Address Book - first administrative
group" is invalid and couldn't be updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/Schedule+ Free Busy Information - first
administrative group" is invalid and couldn't be updated.
[PS] C:\Windows\system32>Get-GlobalAddressList | Update-GlobalAddressList
WARNING: The recipient "MyDomain.local/Users/HealthMailboxc5809e7b325d447f91bc3d7ea36c15e2" is invalid and couldn't be
updated.
WARNING: The recipient "MyDomain.local/Users/HealthMailbox6d5b50c9e47e4ad283e5ceef43f051e8" is invalid and couldn't be
updated.
WARNING: The recipient "MyDomain.local/Users/HealthMailbox033a6d5dc2734020861241094e333a83" is invalid and couldn't be
updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/Monitoring
Mailboxes/HealthMailbox3b9adbecf3224170aa5827a8b9dd8173" is invalid and couldn't be updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/Monitoring
Mailboxes/HealthMailboxb55608d9ec2c42029346ccf54541fc45" is invalid and couldn't be updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/Monitoring
Mailboxes/HealthMailbox70d4dd84317b4819a90a2dff0178614b" is invalid and couldn't be updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/OAB Version 2" is invalid and couldn't be
updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/OAB Version 3a" is invalid and couldn't be
updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/OAB Version 4" is invalid and couldn't be
updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/Offline Address Book -
\/o=MyDomain\/cn=addrlists\/cn=oabs\/cn=Default" is invalid and couldn't be updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/Offline Address Book - first administrative
group" is invalid and couldn't be updated.
WARNING: The recipient "MyDomain.local/Microsoft Exchange System Objects/Schedule+ Free Busy Information - first
administrative group" is invalid and couldn't be updated.
From what I read this is due to invalid characters in these entries of the Address Books. If I still had my 2010 box I could go in to the Exchange Toolbox, manage the Address Lists and change the Alias of these entries. I don't have a 2010 box though. All I have is 2013 and from what I have read there is no way to manage the Address lists through the ECP.
I have tried changing them in the Shell with this command:
Get-Mailbox | Where {$_.Alias -like "* *"} | ForEach-Object {Set-Mailbox $_.Name -Alias:($_.Al
as -Replace " ","")}
But this did not work.
How do I fix this issue in an Exchange 2013 environment? Please let me know if more information is needed and thank you in advance for any help.