Exchange Management Console Send on Behalf of Error
We recently migrated from Exchange 2003 to 2010 (completely new server, et al), and opted to not migrate over some mailboxes of users that are no longer with our organization — makes sense, right?
Well, it does, up until one of those users still had “Send on Behalf of” rights for a shared mailbox… which doesn’t cause an issue until you try to give a new user “Send on Behalf of” rights to that mailbox… When I tried, I got the following error:
Microsoft Exchange Error:
The following error(s) occurred while saving changes:
Set-Mailbox Failed Error:
Couldn’t find object “domain.local/OU/username”. Please make sure that it was spelled correctly or specify a different object. Reason: The recipient domain.local/OU/username isn’t the expected type.
On the Exchange server, ADSI Edit (Start > run > ‘adsiedit.msc’), connect to the domain (if it’s not already connected), navigate to the OU / user you’re trying to grant the permissions for (in my case the shared mailbox user), Right click > Properties, find the publicDelegates setting, edit it, and remove the user being referenced — et voila!