Non-Local users cannot be given rights on this server(unable to add online user to onpremuser)

Brass Contributor

We are using exchange hybrid environment.

Office365 users wants delegation on onpremises user.

For one of my onpremise user, on outlook i clicked Account Settings-Delegate Access- here when i try to Add Office 365 user i am getting the below error

The user 'myexchangeonlineuser@mydomain.com cannot be added. Non-Local users cannot be given rights on this server. i want to know is this feature supported

1 Reply

I came across below article 

https://docs.microsoft.com/en-us/exchange/hybrid-deployment/set-up-delegated-mailbox-permissions

 

Please correct me with the steps

 

step1: What is the command to check ACLableSyncedObjectedEnabled is enabled or not, will below command give me output

get-organizationConfig -ACLableSyncedObjectEnabled

-----------------------------------------------------------------------------------

step2: Set-OrganizationConfig -ACLableSyncedObjectEnabled $True
-------------------------------------------------------------------------------
Step3: which of the below syntax is right

Get-AdUser myexchangeonlineuser@mydomain.com | Set-AdObject -Replace @{msExchRecipientDisplayType=-1073741818}

or
Get-AdUser myonpremisesuser@mydomain.com | Set-AdObject -Replace @{msExchRecipientDisplayType=-1073741818}