Unable to Hide mailbox in Office 365

Hello Team,

I am facing the issue while hiding the shared mailbox in Office 365, as this we required because there is another mailbox in Office 365 that is havign same Display name and due to this it is showing GAL.

So we need to hide the Unused shared Mailbox. So while hiding it. We are getting below error :

"The operation on mailbox failed "John Smith" because it's out of the current user's write scope. The action 'Set-Mailbox', 'EmailAddresses', can't be performed on the object John Smith because the object is being synchronized from your on-premises organization. This action should be performed on the object in your on-premises organization."

I also want to let you know that we are currently in Mid-migration and we are in Cross-premises Environment

Having Exchange 2010 and Office 365

any suggestion will be greatly appreciated.

Thanks,
Andy
LVL 5
Addy NadiaExpertAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Gareth GudgerSolution ArchitectCommented:
"The operation on mailbox failed "John Smith" because it's out of the current user's write scope. The action 'Set-Mailbox', 'EmailAddresses', can't be performed on the object John Smith because the object is being synchronized from your on-premises organization. This action should be performed on the object in your on-premises organization."

Are you using DirSync? If so you need to make the change to your on premise Exchange server and synchronize it to the cloud.
Addy NadiaExpertAuthor Commented:
What changes i need to do On premises Exchange and yes we are usign DirSync
Gareth GudgerSolution ArchitectCommented:
Does the Shared Mailbox exist on premise?

If so, open EMC >> Recipient Configuration >> Mailboxes.

Then navigate to the Shared Mailbox in the middle pane and right click >> Properties.

I believe the first General tab says "Hide from Address Lists."

Check that. Allow for replication. Then do a Dirsync.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Addy NadiaExpertAuthor Commented:
Shared mailbox is on Office 365
Gareth GudgerSolution ArchitectCommented:
Very strange. Based on the error it believes the object originally came from the on premise side. Might need to get other experts to weigh in here.
Addy NadiaExpertAuthor Commented:
Yes that is the reason i raised the question..because i can see the shared mailbox on o365 and when i am trying to hide it.. it threw me the error.

Any help would be appreciable
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.