Dec 01 2021 10:38 PM
Hi. Recently an employee who has left before has returned to the company and we'd like to re-activate it's exchange user. When she left, we first removed her license in Office 365, then we disabled her account in on-prem active directory. After that we hide her mailbox from the address list and at last we convert her mailbox to a shared mailbox. (I know you should convert mailbox to shared mailbox first then remove license but that was not done be me :( )
Now we tried to re-enable her mailbox and user again but we've found that when we uncheck the "Hide from address lists" checkbox, an error will be shown saying that:
"The operation on mailbox "User" failed because it's out of the current user's write scope. The action 'Set-Mailbox', 'HiddenFromAddressListEnabled', can't be performed on the object 'User' because the object is being synchronized from your on-premises organization. This action should be performed on the object in your on-premises organization."
But the problem is, the environment is not a hybrid environment and we only uses Azure AD Sync to sync the user to Azure. We can't find "msExchHideFromAddressLists" in the user's attribute editor in the on-prem AD. (Probably due to the fact that we don't have an on-prem exchange server). We've been looking for a way to un-hide the user from address list for a few days but still no luck. Does anyone knows how can we fix it? Thanks.
Dec 02 2021 12:40 AM
SolutionDec 02 2021 12:40 AM
Solution