Good day.
(Exchange 2019 CU10, the schema is successfully prepared).
In test environments, Exchange 2019 - hybrid, Exchange 2016 on-premises only, all things work smoothly and I hoped that it will work in the production. But...
[07/16/2021 08:15:39.0592] [2] Active Directory session settings for 'initialize-DomainPermissions' are: View Entire Forest: 'True', Configuration Domain Controller: <schema.domain>, Preferred Global Catalog: <schema.domain>, Preferred Domain Controllers: '{ <schema.domain> }'
[07/16/2021 08:15:39.0592] [2] User specified parameters: -CreateTenantRoot:'False' -CreateMsoSyncRoot:'False' -IsManagementForest:'False'
[07/16/2021 08:15:39.0592] [2] Beginning processing initialize-DomainPermissions
[07/16/2021 08:15:39.0596] [2] Used domain controller <schema.domain> to read object DC=<domain>.
[07/16/2021 08:15:39.0601] [2] Used domain controller <schema.domain> to read object CN=Exchange Servers,OU=Microsoft Exchange Security Groups,DC=<domain>.
[07/16/2021 08:15:39.0601] [2] Used domain controller <schema.domain> to read object CN=Exchange Servers,OU=Microsoft Exchange Security Groups,DC=<domain>.
[07/16/2021 08:15:39.0605] [2] Used domain controller <schema.domain> to read object CN=Organization Management,OU=Microsoft Exchange Security Groups,DC=<domain>.
[07/16/2021 08:15:39.0605] [2] Used domain controller <schema.domain> to read object CN=Organization Management,OU=Microsoft Exchange Security Groups,DC=<domain>.
[07/16/2021 08:15:39.0608] [2] Used domain controller <schema.domain> to read object CN=Public Folder Management,OU=Microsoft Exchange Security Groups,DC=<domain>.
[07/16/2021 08:15:39.0608] [2] Used domain controller <schema.domain> to read object CN=Public Folder Management,OU=Microsoft Exchange Security Groups,DC=<domain>.
[07/16/2021 08:15:39.0612] [2] Used domain controller <schema.domain> to read object CN=Exchange Trusted Subsystem,OU=Microsoft Exchange Security Groups,DC=<domain>.
[07/16/2021 08:15:39.0612] [2] Used domain controller <schema.domain> to read object CN=Exchange Trusted Subsystem,OU=Microsoft Exchange Security Groups,DC=<domain>.
[07/16/2021 08:15:39.0615] [2] Used domain controller <schema.domain> to read object CN=Exchange Windows Permissions,OU=Microsoft Exchange Security Groups,DC=<domain>.
[07/16/2021 08:15:39.0615] [2] Used domain controller <schema.domain> to read object CN=Exchange Windows Permissions,OU=Microsoft Exchange Security Groups,DC=<domain>.
[07/16/2021 08:15:39.0619] [2] Used domain controller <schema.domain> to read object CN=Domain Users,CN=Users,DC=<domain>.
[07/16/2021 08:15:39.0622] [2] Used domain controller <schema.domain> to read object CN=Delegated Setup,OU=Microsoft Exchange Security Groups,DC=<domain>.
[07/16/2021 08:15:39.0622] [2] Used domain controller <schema.domain> to read object CN=Delegated Setup,OU=Microsoft Exchange Security Groups,DC=<domain>.
[07/16/2021 08:15:39.0635] [2] Used domain controller <schema.domain> to read object DC=<domain>.
[07/16/2021 08:15:39.0711] [2] Used domain controller <schema.domain> to read object CN=AdminSDHolder,CN=System,DC=<domain>.
[07/16/2021 08:15:39.0726] [2] Used domain controller <schema.domain> to read object CN=Computers,DC=<domain>.
[07/16/2021 08:15:39.0748] [2] Used domain controller <schema.domain> to read object CN=dc1,CN=Servers,CN=site1,CN=Sites,CN=Configuration,DC=<domain>.
[07/16/2021 08:15:39.0771] [2] Used domain controller <schema.domain> to read object CN=dc2,CN=Servers,CN=site2,CN=Sites,CN=Configuration,DC=<domain>.
[07/16/2021 08:15:39.0870] [2] Used domain controller <schema.domain> to read object CN=dc3,CN=Servers,CN=site3,CN=Sites,CN=Configuration,DC=<domain>.
[07/16/2021 08:15:39.0906] [2] Used domain controller <schema.domain> to read object CN=dc4,CN=Servers,CN=site4,CN=Sites,CN=Configuration,DC=<domain>.
[07/16/2021 08:15:39.0934] [2] Used domain controller <schema.domain> to read object CN=dc5,CN=Servers,CN=site5,CN=Sites,CN=Configuration,DC=<domain>.
[07/16/2021 08:15:39.0955] [2] Used domain controller <schema.domain> to read object CN=dc6,CN=Servers,CN=site6,CN=Sites,CN=Configuration,DC=<domain>.
[07/16/2021 08:15:39.0982] [2] Used domain controller <schema.domain> to read object CN=dc7,CN=Servers,CN=site6,CN=Sites,CN=Configuration,DC=<domain>.
[07/16/2021 08:15:40.0008] [2] Used domain controller <schema.domain> to read object CN=dc8,CN=Servers,CN=site7,CN=Sites,CN=Configuration,DC=<domain>.
[07/16/2021 08:15:40.0086] [2] Used domain controller <schema.domain> to read object CN=rodc,CN=Servers,CN=site8,CN=Sites,CN=Configuration,DC=<domain>.
[07/16/2021 08:15:41.0332] [2] [ERROR] Object reference not set to an instance of an object.
[07/16/2021 08:15:41.0332] [2] [WARNING] An unexpected error has occurred and a Watson dump is being generated: Object reference not set to an instance of an object.
[07/16/2021 08:15:41.0626] [1] The following 1 error(s) occurred during task execution:
[07/16/2021 08:15:41.0626] [1] 0. ErrorRecord: Object reference not set to an instance of an object.
[07/16/2021 08:15:41.0626] [1] 0. ErrorRecord: System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Exchange.Management.Tasks.SetupTaskBase.LogReadObject(ADRawEntry obj)
at Microsoft.Exchange.Management.Tasks.InitializeDomainPermissions.InternalProcessRecord()
at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__91_1()
at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)
at Microsoft.Exchange.Configuration.Tasks.Task.ProcessTaskStage(TaskStage taskStage, Action initFunc, Action mainFunc, Action completeFunc)
at Microsoft.Exchange.Configuration.Tasks.Task.ProcessRecord()
at System.Management.Automation.CommandProcessor.ProcessRecord()
....
At the first time I thought that the problem was in the read-only domain controller with Global Catalog and removed the Global Catalog from the DC, but it doesn't help.
Please, who can help.
Do we need to open a case on the Microsoft support?
Thanks!