271
[PS] C:\Windows\system32>get-mailboxdatabase
Name Server Recovery ReplicationType
---- ------ -------- ---------------
Mailbox Database 0185833472 V12RUCTDMSC2006 False None
DB61 V12RUCTDMSC2006 False None
DB62 V12RUCTDMSC2006 False None
DB_25_1_Archive_Rus V12RUCTDMSC2005 False Remote
DB_25_2_Archive_EUA V12RUCTDMSC2005 False None
DB25 V12RUCTDMSC2005 False None
DB25EU V12RUCTDMSC2005 False Remote
DB6_PUBLIC V12RUCTDMSC2006 False None
Mailbox Database 1365488319 V12RUCTDMSC2011 False None
DB14UA V12RUCTDMSC2011 False None
DB15EE V12RUCTDMSC2011 False None
DB14UA_archive V12RUCTDMSC2011 False None
DB35 V12RUCTDMSC2005 False None
The Exchange server for the database object "DB16UA" wasn't found in Active Directory Domain Services. The object may be corrupted.
+ CategoryInfo : InvalidOperation: (DB16UA:ADObjectId) [Get-MailboxDatabase], InvalidOperationException
+ FullyQualifiedErrorId : [Server=V19MBX1,RequestId=97b53580-3867-403b-a27d-c83c5e586c26,TimeStamp=11/20/2022 4:27:28 PM] [FailureCategory=Cmdlet-InvalidOperation
Exception] BF03E4B8,Microsoft.Exchange.Management.SystemConfigurationTasks.GetMailboxDatabase
+ PSComputerName : v19mbx1.ctdrus.loc
Причина что после удаления из схемы Exchange сервера , вы не удалили базу данных. Удалите базу данных которая ругается в Shell
Решение
- Right-click on ADSIEDIT and click on Connect to…
- Change the Select a well-known Naming Context from Default Naming Context to Configuration.
- Click OK. This will open the configuration of your server.
- Expand Configuration.
- Expand the CN=Configuration.
- Expand CN=Services.
- You will see a lot of sections in the Services which you will need to expand. CN=Microsoft Exchange and CN=Org (which in your setup would be the name of the organization) will reveal all the configuration of your Exchange installation.
- To remove a single server from the schema, expand CN=Administrative Groups, expand CN=Exchange Administrative Group, and then expand CN=Servers.
- Here you will find all the servers which are configured in the Schema.
- To delete the server from the configuration, right-click on CN=EXCHANGE and click on Delete. In this case, the server computer name is EXCHANGE.
This will remove the single server from your configuration. Now, there are other things which might be pointing to that server, like databases, which you need to remove from the configuration also.
Databases can be found under CN=Databases. The databases which have their entry with CN= would need to be removed.
Проверяем , после удаления