Link to home
Start Free TrialLog in
Avatar of SpiegelMcd
SpiegelMcdFlag for United States of America

asked on

Exchange 2010 install error

I got the following error below when trying to install Exchange 2010 Mailbox role.

Mailbox Role
Failed
Error:
The following error was generated when "$error.Clear(); $arbUsers = @(get-user -Filter {lastname -eq "MSExchApproval 1f05a927-3be2-4fb9-aa03-b59fe3b56f4c"} -IgnoreDefaultScope -ResultSize 1); if ($arbUsers.Length -ne 0) { $mbxname = $arbUsers[0].name; $mbxs = @( get-mailbox -arbitration -Filter {name -eq $mbxname} -IgnoreDefaultScope -resultSize 1 ); if ( $mbxs.length -eq 0) { $dbs = @(get-MailboxDatabase -Server:$RoleFqdnOrName -DomainController $RoleDomainController); if ($dbs.Length -ne 0) { enable-mailbox -Arbitration -identity $arbUsers[0] -database $dbs[0].Identity; } } }" was run: "The LdapRecipientFilter "(&mailnickname=*) " on Address List or Email Address Policy "New recipient policy" is invalid. Additional information: The attribute type '&mailnickname' or its syntax is not defined in the schema.".

The LdapRecipientFilter "(&mailnickname=*) " on Address List or Email Address Policy "New recipient policy" is invalid. Additional information: The attribute type '&mailnickname' or its syntax is not defined in the schema.

The attribute type '&mailnickname' or its syntax is not defined in the schema.

Any help anyone can give to get past this error would be great.
Avatar of Glen Knight
Glen Knight
Flag of United Kingdom of Great Britain and Northern Ireland image

This would indicate that the domain had not been prepared for exchange 2010

run the following commands from the Exchange 2010 DVD using setup.com

setup /PrepareLegacyExchangePermissions
setup /PrepareSchema
setup /PrepareAD
Avatar of SpiegelMcd

ASKER

I actually did that before I ran the install. I could try running it again?
Yes please.
One more thing. Since exchange 2010 is installed, I wouldn't have to uninstall exchange to re run the prep?
No you can just run it.
Well I re ran
setup /PrepareLegacyExchangePermissions
setup /PrepareSchema
setup /PrepareAD

And I still get the same error. Any other suggestions?
Did you ever come to a conclusion as to what the fix was here?  I'm getting the exact same errors and I did run the following:

setup /PrepareLegacyExchangePermissions
setup /PrepareSchema
setup /PrepareAD

Thank you!
Using the adsiedit tool I was able to find the referecnes in the recipient policy per SatyaPathak link above.  It worked great.  Now if only I had the ability to mark his answer as the acceptable solution.  Guess that is down by the original question owner?
ASKER CERTIFIED SOLUTION
Avatar of SpiegelMcd
SpiegelMcd
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sndmnsix
sndmnsix

After checking the link that SatyaPathak pointed out, Exchange 2010's mailbox role seems to complain if the recipient policy has an unusual filter or one that doesn't make much sense.  I deleted the attribute filter and recreated it for the recipient policy in a much more simply fashion.  Re-ran the mailbox role install and then it was happy to do it for me.  I could definitely see how just deleting the recipient policy would work as well especially if it just isn't needed.