01-07-2021 07:19 AM
Hello
I've got several Exchange Mailbox Archiving Tasks which contain old Databases as Targets.
I've tried receating the Task but the databases still appear.
How do i stop these databases from showing up as Targets?
Dave
01-07-2021 08:02 AM
Dave,
I can imagine that there are still entries in the exchangemailboxentry table in the directory database that are referenced to old databases / servers as this table usually still contain entries for deleted mailboxes and users.
Something like the following should help you verifying that. Just insert the name of the db that you can see and it should give you mailboxes that are referenced to it.
Select EME.mbxstoreidentity,EME.legacymbxdn, EME.mbxdisplayname, EMS.ADmbxstoreDN, EMS.Name as DatbaseName
FROM ExchangeMailboxEntry as EME, ExchangeMailboxStore as EMS
where EME.MbxStoreIdentity = EMS.MbxStoreIdentity
and EMS.Name like '%<DatabaseInQuestion>%'
Regards
Marc
01-07-2021 11:22 PM
Hello
I also had that (years ago). I believe it was resolved the way Marc describes.
In the Directory Database, from the ExchangeMailboxStore determine the MbxStoreIdentity of the Exchange database you think is empty. Then check the ExchangeMailboxEntry table for mailboxes in this database (Select * from ExchangeMailboxEntry where MbxStoreIdentity= 'number'). Determine if these can be removed. Remove them. After remove, check again ExchangeMailboxStore., then check in EV.
If that does not work, a support call might be advisable.