Solved

Uninstall Exchange 2010 after O365 Migration - Remove Last Arbitration Mailbox

Posted on 2016-07-28
4
78 Views
Last Modified: 2016-07-31
Hello,

I have a question to uninstall an on premises Exchange 2010 completely after everything was moved to Office 365. The Migration to Office 365 was realized with hybrid Exchange.
The hybrid Exchange configuration is already disabled/uninstalled. The Azure AD Sync is still active.

Now we are at the point to remove the last Arbitration Mailbox with the following command:
" Get-Mailbox -Arbitration -Database "DB-Name" | Remove-Mailbox -Arbitration -RemoveLastArbitrationMailboxAllowed "

... and we receive the following error:
Can't remove the arbitration mailbox <mailbox-name> because it's being used for the approval workflow for existing recipients that have either membership restrictions or moderation enabled. You should either disable the approval features on those recipients or specify a different arbitration mailbox for those recipients before removing this arbitration mailbox

When I check which mailboxes are still using this arbitratoin Mailbox I get a list with all mailuser, mailcontacts, mailuniversaldistributiongroups and mailuniversalsecuritygroups (all these users are still migrated to O365).

What can I do now in the correct way to go on with my uninstalling of Exchange.

Would it be Ok when I do one of the both possible steps?:
1. Disable the arbitration Mailbox: "Get-Mailbox –Arbitration | Disable-Mailbox –Arbitration –DisableLastArbitrationMailboxAllowed"
or
2. Disabling the Moderation for all recipient: " Set-Mailbox "Mailbox-Name" -ModerationEanbled $false

Will I have a bad Impact with my Azure AD Sync and then to my Office 365 environment when I would realize one of the following steps?

Thanks for your reply

Thorsten
0
Comment
Question by:Thorsten_S
  • 2
4 Comments
 
LVL 29

Expert Comment

by:ScottCha
ID: 41732971
You say Exchange is disabled/uninstalled....which is it?  Those are to VERY different things.
0
 

Author Comment

by:Thorsten_S
ID: 41732998
I mean I have only disabled/disconnected the hybrid configuration.
I have no hybrid Exchange connection anymore because eveything was moved to Office 365.
I only have one and the last on premises Multi-Role Exchange Server which I want to remove completely.
I know that it is recommend not to uninstall the last on premises Exchange Server because of mailbox management reasons.

Hope it is now clear.
0
 

Author Comment

by:Thorsten_S
ID: 41733014
The hybrid configuration was decommissioned like Microsoft Technet describe it.
0
 
LVL 38

Accepted Solution

by:
Adam Brown earned 500 total points
ID: 41733479
Run this to delete the arbitration mailboxes so you can clear the DB from your config. Since you're not using onprem anymore, you can just delete the moderation mailboxes. Disabling them works as well. It won't mess with your O365 environment.

get-mailbox -arbitration | remove-mailbox

Open in new window

0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
This is my first article on Expert Exchange on the Manual Method of Exporting Office 365 Mailboxes to PST format by using the eDiscovery mechanism of Office. Hope you will enjoy the article.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now