• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 524
  • Last Modified:

Uninstall Exchange 2010 after O365 Migration - Remove Last Arbitration Mailbox

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
Thorsten_S
Asked:
Thorsten_S
  • 2
1 Solution
 
Scott CSenior Systems EnginerCommented:
You say Exchange is disabled/uninstalled....which is it?  Those are to VERY different things.
0
 
Thorsten_SAuthor Commented:
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
 
Thorsten_SAuthor Commented:
The hybrid configuration was decommissioned like Microsoft Technet describe it.
0
 
Adam BrownSr Solutions ArchitectCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now