Microsoft 365 하이브리드 구성 마법사의 오류: 개체가 개체의 instance 설정되지 않음

원본 KB 번호: 4051381

증상

Exchange Server 2016 누적 업데이트 7이 설치된 후 Microsoft 365 하이브리드 구성 마법사를 실행하면 마법사가 실행되지 않고 Set-FederatedOrganizationIdentifier cmdlet에서 "개체 참조가 개체의 instance 설정되지 않음" 오류를 반환한다고 보고합니다.

이 메시지는 하이브리드 구성 마법사 로그에 기록된 다음 전체 오류 메시지의 일부입니다.

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)

Exchange 관리 셸에서 직접 cmdlet을 실행하는 경우 다음과 유사한 오류가 발생할 수 있습니다.

[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

해결 방법 1

Exchange Server 2010, Exchange Server 2013 또는 Exchange Server 2016 누적 업데이트 6 이하를 실행하는 도메인에 두 번째 Exchange Server 있는 경우 이 메서드를 사용합니다.

  1. Exchange Management Shell을 두 번째 Exchange Server 연결하고 다음 cmdlet을 실행합니다.

    Set-FederatedOrganizationIdentifier -AccountNamespace '<AccountNameSpace>' -DelegationFederationTrust 'Microsoft Federation Gateway' -Enabled: $true -DefaultDomain $null
    
  2. cmdlet이 성공적으로 완료되면 Exchange Server 2016 누적 업데이트 7에서 Microsoft 365 하이브리드 구성 마법사를 실행합니다.

해결 방법 2

이 문제에 대한 수정 사항이 포함된 중간 업데이트의 복사본을 요청하려면 Microsoft 지원 문의하세요. 이 수정 사항은 Exchange Server 2016 누적 업데이트 8에 포함됩니다.

상태

Microsoft는 2016년 Exchange Server 누적 업데이트 7에서 알려진 문제임을 확인했습니다.