Hi Guys,
I stuck with a weird problem.
I needed an Exchange database for a short time. I created it, used it and then, when it was no longer needed, removed the mailboxes in it. The next step would be to remove the emty database. Would be, because it will not do that.
For good order, a few notes:
There are no mailboxes in it ("Get-Mialbox -Database TEMPDB99" ruturns nothing)
There are no archive mailboxes in it ("Get-Mailbox -Database TEMPDB99 -Archive" returns nothing)
There are no arbitration mailboxes in it ("Get-Mailbox -Database TEMPDB99 -Arbitration" returns nothing)
We have no mailbox plans at all, hence none are attached to this (or any other) database
This was a redundant database in a DAG. The other copy was removed with no trouble at all, leaving a singular database...
Yet this is the error I receive when trying to remove it:
--------------------------------------------------------
Microsoft Exchange Error
--------------------------------------------------------
The mailbox database 'TEMPDB99' cannot be deleted.
TEMPDB99
Failed
Error:
This mailbox database contains one or more mailboxes, mailbox plans, archive mailboxes, or arbitration mailboxes. To get a list of all mailboxes in this database, run the command Get-Mailbox -Database <Database ID>. To get a list of all mailbox plans
in this database, run the command Get-MailboxPlan. To get a list of archive mailboxes in this database, run the command Get-Mailbox -Database <Database ID> -Archive. To get a list of all arbitration mailboxes in this database, run the command Get-Mailbox
-Database <Database ID> -Arbitration. To disable a non-arbitration mailbox so that you can delete the mailbox database, run the command Disable-Mailbox <Mailbox ID>. To disable an archive mailbox so you can delete the mailbox database, run the
command Disable-Mailbox <Mailbox ID> -Archive. Arbitration mailboxes should be moved to another server; to do this, run the command New-MoveRequest <parameters>. If this is the last server in the organization, run the command Disable-Mailbox <Mailbox
ID> -Arbitration -DisableLastArbitrationMailboxAllowed to disable the arbitration mailbox. Mailbox plans should be moved to another server; to do this, run the command Set-MailboxPlan <MailboxPlan ID> -Database <Database ID>.
--------------------------------------------------------
OK
--------------------------------------------------------
Anyone any sugestions?
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.