question

ThomasBecker-3919 avatar image
0 Votes"
ThomasBecker-3919 asked KaelYao-MSFT commented

Unable to Install CU21 for Exchange 2016

Hi,

I'm unable to install CU 21 to Exchangeserver 2016. Error at Step 1 of 18 with the Message below.
I did as Admin in Powershell:
Setup /PrepareSchema /Iacceptexchangeserverlicenseterms
Setup /PrepareAD /Iacceptexchangeserverlicenseterms
Setup /PrepareAllDomains /IAcceptExchangeServerLicenseTerms

Message was: completed!

Has anybody an idea to solve this problem?

Thanks and best wishes

Thomas


Error:
The following error was generated when "$error.Clear();
$createTenantRoot = ($RoleIsDatacenter -or $RoleIsPartnerHosted);
$createMsoSyncRoot = $RoleIsDatacenter;

       #$RoleDatacenterIsManagementForest is set only in Datacenter deployment; interpret its absense as $false
       [bool]$isManagementForest = ($RoleDatacenterIsManagementForest -eq $true);

       if ($RolePrepareAllDomains)
       {
           initialize-DomainPermissions -AllDomains:$true -CreateTenantRoot:$createTenantRoot -CreateMsoSyncRoot:$createMsoSyncRoot -IsManagementForest:$isManagementForest;
       }
       elseif ($RoleDomain -ne $null)
       {
           initialize-DomainPermissions -Domain $RoleDomain -CreateTenantRoot:$createTenantRoot -CreateMsoSyncRoot:$createMsoSyncRoot -IsManagementForest:$isManagementForest;
       }
       else
       {
           initialize-DomainPermissions -CreateTenantRoot:$createTenantRoot -CreateMsoSyncRoot:$createMsoSyncRoot -IsManagementForest:$isManagementForest;
       }
     " was run: "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()".

office-exchange-server-administration
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ThomasBecker-3919 avatar image
1 Vote"
ThomasBecker-3919 answered KaelYao-MSFT commented

Solved!
I did some searches and found, that a Container in AD is missing.
Seems it was deleted and now it is necessary again.

Powershell as Admin:
New-ADObject -Name "Computers" -Type "container" -Path "DC=domain,DC=local"

Or AdsiEdit as Admin:
132747-image.png



image.png (39.5 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @ThomasBecker-3919

Glad to hear the issue has been resolved!
Thanks for the sharing.

0 Votes 0 ·