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

%3CLINGO-SUB%20id%3D%22lingo-sub-218754%22%20slang%3D%22en-US%22%3ENon-Local%20users%20cannot%20be%20given%20rights%20on%20this%20server(unable%20to%20add%20online%20user%20to%20onpremuser)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-218754%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20are%20using%20exchange%20hybrid%20environment.%3C%2FP%3E%3CP%3EOffice365%20users%20wants%20delegation%20on%20onpremises%20user.%3CBR%20%2F%3E%3CBR%20%2F%3EFor%20one%20of%20my%20onpremise%20user%2C%20on%20outlook%20i%20clicked%20Account%20Settings-Delegate%20Access-%20here%20when%20i%20try%20to%20Add%20Office%20365%20user%20i%20am%20getting%20the%20below%20error%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20user%20'myexchangeonlineuser%40mydomain.com%20cannot%20be%20added.%20Non-Local%20users%20cannot%20be%20given%20rights%20on%20this%20server.%20i%20want%20to%20know%20is%20this%20feature%20supported%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-218754%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOn-Premises%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-218946%22%20slang%3D%22en-US%22%3ERe%3A%20Non-Local%20users%20cannot%20be%20given%20rights%20on%20this%20server(unable%20to%20add%20online%20user%20to%20onpremuser)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-218946%22%20slang%3D%22en-US%22%3E%3CP%3EI%20came%20across%20below%20article%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fhybrid-deployment%2Fset-up-delegated-mailbox-permissions%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fhybrid-deployment%2Fset-up-delegated-mailbox-permissions%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20correct%20me%20with%20the%20steps%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Estep1%3A%20What%20is%20the%20command%20to%20check%20ACLableSyncedObjectedEnabled%20is%20enabled%20or%20not%2C%20will%20below%20command%20give%20me%20output%3C%2FP%3E%3CP%3Eget-organizationConfig%20-ACLableSyncedObjectEnabled%3C%2FP%3E%3CP%3E-----------------------------------------------------------------------------------%3C%2FP%3E%3CP%3Estep2%3A%20Set-OrganizationConfig%20-ACLableSyncedObjectEnabled%20%24True%3CBR%20%2F%3E-------------------------------------------------------------------------------%3CBR%20%2F%3EStep3%3A%20which%20of%20the%20below%20syntax%20is%20right%3C%2FP%3E%3CP%3EGet-AdUser%20%3CSTRONG%3Emyexchangeonlineuser%40mydomain.com%3C%2FSTRONG%3E%20%7C%20Set-AdObject%20-Replace%20%40%7BmsExchRecipientDisplayType%3D-1073741818%7D%3C%2FP%3E%3CP%3Eor%3CBR%20%2F%3EGet-AdUser%20%3CSTRONG%3Emyonpremisesuser%40mydomain.com%3C%2FSTRONG%3E%20%7C%20Set-AdObject%20-Replace%20%40%7BmsExchRecipientDisplayType%3D-1073741818%7D%26nbsp%3B%20%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Frequent 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
Highlighted

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}