Showing posts with label Exchage. Show all posts
Showing posts with label Exchage. Show all posts

8/25/2018

Error to remove Database Mailbox Exchange 2010


Try to remove a mail database in the exchange 2010 and have this error ?


--------------------------------------------------------
Microsoft Exchange Error
--------------------------------------------------------
The mailbox database 'Yourdatabase' cannot be deleted.



Yourdatabase
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
--------------------------------------------------------

How to clean requests exchange 2010

Try to clean the old move requests
Get-MailboxExportRequest -Status Completed | Remove-MailboxExportRequest
Get-MailboxExportRequest -Status Failed | Remove-MailboxExportRequest



List inside of database


Get-MailboxDatabase "YOURDATABASE" | Get-MailboxStatistics | Sort totalitemsize -desc | ft displayname, totalitemsize, itemcount  >> C:\name_of_file.txt 

Ex: 
DisplayName                             TotalItemSize                                                         ItemCount
-----------                             -------------                                                         ---------
SystemMailbox{02d829c6-a6a6-4d5b-8c1... 98.84 KB (101,215 bytes)                                                     11
Microsoft Exchange Federation Mailbox   71.96 KB (73,687 bytes)                                                       3
Microsoft Exchange                      71.55 KB (73,267 bytes)                                                       3

Microsoft Exchange Approval Assistant   67.94 KB (69,573 bytes)                                                       3



1. Start the Active Directory Users and Computers snap-in.
2. On the View menu, make sure that Advanced Features is selected.
3. Locate the Microsoft Exchange System Objects container.
4. Delete the SystemMailbox {02d829c6-a6a6-4d5b-8c1 item

_____________________________


Sometimes

Start Exchange Management Shell and type the command to display mailboxes in the whole forest and not just the domain you are logged into:
[PS] C:Windowssystem32>$AdminSessionADSettings.ViewEntireForest=$True
[PS] C:Windowssystem32>Get-MailboxDatabase -Server nbc-d-mbx02
Name Server Recovery ReplicationType
—- —— ——– —————
Database15         NBC-D-MBX02 False None
[PS] C:Windowssystem32>Get-MailboxDatabase “nbc-d-mbx02Database15” | Get-Mailbox
Now that you have the list of all mailboxes in the exchange database, move it to a different server
To work around the Arbitration mailbox issue, let’s find out the list of all Arbitration mailboxes
[PS] C:Windowssystem32>Get-Mailbox -Arbitration |ft Name, Servername
Name ServerName
—- ———-
SystemMailbox{1f05a927-0695-4348-bb62-d2369dcb23d5} nbc-d-mbx01
FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042 nbc-d-mbx01
SystemMailbox{e0dc1c29-89c3-4034-b678-e6c29d823ed9} nbc-d-mbx02
SystemMailbox{bb558c35-97f1-4cb9-8ff7-d53741dc928c} nbc-d-mbx02
Migration.8f3e7716-2011-43e4-96b1-aba62d229136 nbc-d-mbx02
Now will disable all of those since I do not have a different server to move them to.
[PS] C:Windowssystem32>Disable-Mailbox “SystemMailbox{e0dc1c29-89c3-4034-b678-e6c29d823ed9}” -Arbitration -DisableLastArbitrationMailboxAllowed
Confirm
Are you sure you want to perform this action?
Disabling mailbox “SystemMailbox{e0dc1c29-89c3-4034-b678-e6c29d823ed9}” will remove the Exchange properties from the Active Directory user object and mark the mailbox in the database for removal. If the mailbox has an archive or remote archive, the archive will also be marked for removal. In the case of remote archives, this action is permanent. You can’t reconnect this user to the remote archive again.
[Y] Yes [A] Yes to All [N] No [L] No to All [?] Help (default is “Y”): a
[PS] C:Windowssystem32>Disable-Mailbox “SystemMailbox{bb558c35-97f1-4cb9-8ff7-d53741dc928c}” -Arbitration -DisableLastArbitrationMailboxAllowed
Confirm
Are you sure you want to perform this action?

8/29/2017

Esta mensagem não foi entregue devido a um excesso de destinatários

Esta mensagem não foi entregue devido a um excesso de destinatários. O limite é 50. A mensagem tem 54 destinatários.


#550 5.5.3 RESOLVER.ADR.RecipLimit; too many recipients ##


6/14/2016

Falha na operação na caixa de correio Office365



Problemas com o office365 implementação hybrida.
Caso tenha problema ao tentar trocar o endereço de e-mail de um usuário dentro do 365, em implementações hibridas.