Answered by:
Arbitration mailbox not getting removed

Question
-
I am trying to remove the arbitration mailbox and can not.
How do I find the full name of the mailbox? I get a ... at the end of the mailbox name like in:
[PS] C:\Windows\System32>get-mailbox -arbitration
Name Alias ServerName ProhibitSendQuo
ta
---- ----- ---------- ---------------
SystemMailbox{1f05a927... SystemMailbox{1f0... sk2 unlimited
SystemMailbox{e0dc1c29... SystemMailbox{e0d... sk2 unlimited
If I try to remove using wildcards as in
[PS] C:\Windows\System32>remove-mailbox *1f05* -arbitration
Confirm
Are you sure you want to perform this action?
Removing the Mailbox "*1f05*" will remove the Windows user object and mark the
mailbox in the database for removal.
[Y] Yes [A] Yes to All [N] No [L] No to All [?] Help (default is "Y"): y
Invoke-Command : Active Directory operation failed on sk2003.sk4.cc.stonybrook.
edu. This error is not retriable. Additional information: Access is denied.
Active directory response: 00000005: SecErr: DSID-03151D12, problem 4003 (INSUF
F_ACCESS_RIGHTS), data 0
At C:\Users\administrator.SK4\AppData\Local\Temp\tmp_84dd0a39-ae56-442c-9ddd-68
3333eb150a_lddaac3y.txf\tmp_84dd0a39-ae56-442c-9ddd-683333eb150a_lddaac3y.txf.p
sm1:19026 char:25
+ $scriptCmd = { & <<<< $script:InvokeCommand `
+ CategoryInfo : NotSpecified: (0:Int32) [Remove-Mailbox], ADOper
ationException
+ FullyQualifiedErrorId : 974A3CFF,Microsoft.Exchange.Management.Recipient
Tasks.RemoveMailbox
I get the error above
Answers
-
This is a known issue... for now, please use tools like ldp.exe or ADSIEDIT to find and remove the mailbox directly from AD.
-Greg- Marked as answer by Joey MastersonMicrosoft employee Thursday, April 23, 2009 6:04 AM
All replies
-
Hi Sanjay,
Try this...
get-mailbox -arbitration | fl name, identity
remove-mailbox -identity "<identity from above>" -arbitration (-name might work for -identity here too, I forget.)
I think you get bit by the { and } in the names, so you have to use quotes or else the cmdlet can't process them correctly.
If you try to remove the last arbitration mailbox there is another parameter, I think it is -removelastarbitrationmailboxok or something like that. I should be in the "get-help remove-mailbox -full" somewhere. It looks like you were trying to delete them both at once, so that parameter would be required.
Brian Day / MCSA / CCNA, Exchange/AD geek.- Proposed as answer by Brian Day [MSFT]Microsoft employee Saturday, April 18, 2009 4:18 PM
-
It did not help
[PS] C:\Windows\System32>get-mailbox -arbitration | fl name, identity
Name : SystemMailbox{1f05a927-3be2-4fb9-aa03-b59fe3b56f4c}
Identity : sk4.cc.stonybrook.edu/Users/SystemMailbox{1f05a927-3be2-4fb9-aa03-b5
9fe3b56f4c}
Name : SystemMailbox{e0dc1c29-89c3-4034-b678-e6c29d823ed9}
Identity : sk4.cc.stonybrook.edu/Users/SystemMailbox{e0dc1c29-89c3-4034-b678-e6
c29d823ed9}
[PS] C:\Windows\System32>remove-mailbox "SystemMailbox{1f05a927-3be2-4fb9-aa03-b
59fe3b56f4c}" -arbitration
Confirm
Are you sure you want to perform this action?
Removing the Mailbox "SystemMailbox{1f05a927-3be2-4fb9-aa03-b59fe3b56f4c}" will
remove the Windows user object and mark the mailbox in the database for
removal.
[Y] Yes [A] Yes to All [N] No [L] No to All [?] Help (default is "Y"):
Invoke-Command : Active Directory operation failed on sk2003.sk4.cc.stonybrook.
edu. This error is not retriable. Additional information: Access is denied.
Active directory response: 00000005: SecErr: DSID-03151D12, problem 4003 (INSUF
F_ACCESS_RIGHTS), data 0
At C:\Users\administrator.SK4\AppData\Local\Temp\tmp_84dd0a39-ae56-442c-9ddd-68
3333eb150a_lddaac3y.txf\tmp_84dd0a39-ae56-442c-9ddd-683333eb150a_lddaac3y.txf.p
sm1:19026 char:25
+ $scriptCmd = { & <<<< $script:InvokeCommand `
+ CategoryInfo : NotSpecified: (0:Int32) [Remove-Mailbox], ADOper
ationException
+ FullyQualifiedErrorId : 974A3CFF,Microsoft.Exchange.Management.Recipient
Tasks.RemoveMailbox -
First check it actually did get removed. I've seen a few false Access Denied here and there. It says it, but does complete the command in the background. Assuming it didn't though, the account you're running the command from is an Org Admin?
Is this in Remote or Local powershell? If remote, try the Exchange Management Shell (Local) shortcut and try again. There are some commands still not quite working in remote powershell.
Brian Day / MCSA / CCNA, Exchange/AD geek. -
-
-
-
-
-
Carl,
I'm OK Arun, I don't have this problem.. I was just wondering if removing them with ADUC is a bad thing to do, just out of curiosity.
did you tried my suggestion earlier?
Remove-Mailbox <Mailbox ID> -Arbitration -RemoveLastArbitrationMailboxAllowed
Regards,
-A
Arun Kumar | MCSE - 2K3 + Messaging | ITIL-F V3
Akshai is having difficulties though apparently.
cheers,
Carl -
This is a known issue... for now, please use tools like ldp.exe or ADSIEDIT to find and remove the mailbox directly from AD.
-Greg- Marked as answer by Joey MastersonMicrosoft employee Thursday, April 23, 2009 6:04 AM
-
-
-
Dear All
We reached here after having the issue where Exchange 2010 installation went wrong and had to remove Mailbox role completely.
While removing the mailbox role we were facing the issue of Arbitration mailbox , we removed 2 mailboxes without problem but last System mailbox we were in two minds, whether it will give some problem for us because exchange 2003 was still in forest with mailboxes in it.So we took a chance by having exchange 2003 information store full backup and used the command
Remove-Mailbox <Mailbox ID> -Arbitration -RemoveLastArbitrationMailboxAllowed
And we never faced any problem with 2003 Exchange database.The database of exchange 2003 was up and running .
After that we removed out database and the mailbox role .
Hope it helps everyone who were trying to find whether removal through Remove-Mailbox <Mailbox ID> -Arbitration -RemoveLastArbitrationMailboxAllowed is good or bad
Regards
Nitin & Sutherson
-
-