Karma Yapılandırma Office 365 Hatası: Nesne, nesnenin bir örneğine ayarlanmaz

Özgün KB numarası:   4051381

Belirtiler

Exchange Server 2016 Toplu Güncelleştirmesi 7 yüklendikten sonra Microsoft Office 365 Karma Yapılandırma Sihirbazı'nı çalıştırsanız, sihirbaz çalıştıramaz ve Set-FederatedOrganizationIdentifier cmdlet'in "Nesne başvurusu bir nesneye ayarlanmaz" hatasını döndürdiğini raporlar.

Bu ileti, Karma Yapılandırma Sihirbazı günlüğüne yazılan aşağıdaki tam hata iletisinin bir bölümüdir:

017.10.23 11:39:51.552         10276 [Client=UX, Activity=Domain Ownership, Session=OnPremises, Cmdlet=Set-FederatedOrganizationIdentifier, Thread=9] START Set-FederatedOrganizationIdentifier -AccountNamespace 'contoso.com' -DelegationFederationTrust 'Microsoft Federation Gateway' -Enabled: $true -DefaultDomain $null
2017.10.23 11:39:57.693 *ERROR* 10277 [Client=UX, Activity=Domain Ownership, Session=OnPremises, Cmdlet=Set-FederatedOrganizationIdentifier, Thread=9] FINISH Time=6140.9ms Results=PowerShell failed to invoke 'Set-FederatedOrganizationIdentifier': Object reference not set to an instance of an object. An unexpected error has occurred and a Watson dump is being generated: Object reference not set to an instance of an object.
2017.10.23 11:39:57.756 *ERROR* 10224 [Client=UX, Page=DomainProof, Thread=9] Microsoft.Online.CSE.Hybrid.PowerShell.PowerShellInvokeException: PowerShell failed to invoke 'Set-FederatedOrganizationIdentifier': Object reference not set to an instance of an object. An unexpected error has occurred and a Watson dump is being generated: Object reference not set to an instance of an object. ---> System.Management.Automation.RemoteException: Object reference not set to an instance of an object.
                                   at System.Management.Automation.Runspaces.AsyncResult.EndInvoke()
                                   at System.Management.Automation.PowerShell.EndInvoke(IAsyncResult asyncResult)
                                   at Microsoft.Online.CSE.Hybrid.Provider.PowerShell.PowerShellProvider.PowerShellInstance.Invoke(String cmdlet, IReadOnlyDictionary`2 parameters, Int32 millisecondsTimeout)
                                   --- End of inner exception stack trace ---
                                   at Microsoft.Online.CSE.Hybrid.PowerShell.RemotePowershellSession.RunCommandInternal(Cmdlet cmdlet, SessionParameters parameters, Int32 millisecondsTimeout, PowerShellRetrySettings retrySettings, Boolean skipCmdletLogging)
                                   at Microsoft.Online.CSE.Hybrid.Session.PowerShellOnPremisesSession.SetFederatedOrganizationIdentifier(SmtpDomain accountNamespace, String delegationTrustLink, SmtpDomain defaultDomain)
                                   at Microsoft.Online.CSE.Hybrid.App.ViewModel.Pages.DomainProof.DomainInfo.AddFederatedDomain(IOnPremisesSession session, AppData appData)
                                   at System.Collections.Generic.List`1.ForEach(Action`1 action)
                                   at Microsoft.Online.CSE.Hybrid.App.ViewModel.Pages.DomainProof.VerifyActivity(IOnPremisesSession session, EnvironmentBase environment)

Cmdlet'i doğrudan Veri Yönetimi Kabuğu'Exchange kullanabilirsiniz:

[PS] C:\>Set-FederatedOrganizationIdentifier -AccountNamespace 'contoso.com' -DelegationFederationTrust 'Microsoft Federation Gateway' -Enabled: $true -DefaultDomain $null

WARNING: An unexpected error has occurred and a Watson dump is being generated: Object reference not set to an instance
of an object.
Object reference not set to an instance of an object.
    + CategoryInfo          : NotSpecified: (:) [Set-FederatedOrganizationIdentifier], NullReferenceException
    + FullyQualifiedErrorId : System.NullReferenceException,Microsoft.Exchange.Management.SystemConfigurationTasks.Set
   FederatedOrganizationIdentifier
    + PSComputerName        : server.contoso.com

Geçici Çözüm 1

Etki alanınız Exchange Server 2010, Exchange Server Exchange Server 2013 veya Exchange Server 2016 Toplu Güncelleştirme 6 veya daha önceki bir sürümde çalışan ikinci bir Exchange Server varsa, bu yöntemi kullanın.

  1. Bağlan Exchange Kabuğu'Exchange Server ve aşağıdaki cmdlet'i çalıştırın:

    Set-FederatedOrganizationIdentifier -AccountNamespace '<AccountNameSpace>' -DelegationFederationTrust 'Microsoft Federation Gateway' -Enabled: $true -DefaultDomain $null
    
  2. Cmdlet başarıyla tamamlandıktan sonra, Microsoft Office 365 2016 Toplu Güncelleştirme 7'de Exchange Server Karma Yapılandırma Sihirbazı'nı çalıştırın.

Geçici Çözüm 2

Bu sorunun düzeltmesini içeren geçici güncelleştirmenin bir kopyasını talep etmek için Microsoft Desteği'ne başvurun. Düzeltme, 2016 Toplu Exchange Server 8'e dahil edilecektir.

Durum

Microsoft, 2016 Toplu Güncelleştirme 7'de bunun Exchange Server bir sorun olduğunu onaylar.