I was trying to add a user to send on behalf of somebody else, and when I tried to apply the settings 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/retired/staff/personsname". Please make sure that it was spelled correctly or specify a different object. Reason: The recipient domain.local/retired/staff/personsname isn't the expected type.
The solution was to open ADSI Edit, navigate to the user I was trying to grant the permissions for, find the publicDelegates setting, and remove the user being referenced. Problem solved. :)
Nice solution, but what is the cause of the problem? A simple workaround doesn't cut it..
ReplyDeleteI'm not sure, I don't work on the Exchange team at Microsoft!
DeleteI had the same problem. In my case, the user's account was disabled. I couldn't see it in the Exchange console, but the error message gave the name. Using Andrew's solution worked perfectly-thanks!!
ReplyDeleteI have the same error and I opened ADSI Edit, navigated to the user I was trying to grant the permissions for, i right clicked and took properties, under the attributes editor i found out that publicDelegates is NOT SET. so I don't know how to remove the user being referenced. :(
ReplyDelete