Stop mail flow to Office 365 mailbox.

Hi All!

Whats the "best" way to stop mail flow to an Office 365 E2 mailbox but keep the mailbox as is for say that person's manager - just stop all flow to it internal and external?

AD on site - Azure sync - Office 365 mailbox.

Jim GurnseyDesktop SupportAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.

FOXActive Directory/Exchange EngineerCommented:
Open your Exchange admin center>dashboard>mailboxes...double click the mailbox in question>open mailbox features
1.Disable everything in Email Connectivity
2.Go to Message Delivery Restrictions
Accept Messages from *Only senders in the following list -you can set an admin mailbox

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
Jim GurnseyDesktop SupportAuthor Commented:
Thank you for the reply!

I tried the second part but got an error about having to do it "on site" instead of Office 365 - Admin

Thought I would have to do it with Powershell - but it totally worked fine that second time!

Thanks Again!!
Jim GurnseyDesktop SupportAuthor Commented:
Another thought (for next time); move the associated email addresses to a distribution list with no members, delete all email addresses except the primary and then create an email address which is totally random. Nothing changes but the associated email address (and no one knows it).
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
Microsoft Office

From novice to tech pro — start learning today.