Microsoft 365에 대한 디렉터리 동기화 끄기

PowerShell을 사용하여 디렉터리 동기화를 해제하고 동기화된 사용자를 클라우드 전용으로 변환할 수 있습니다. 그러나 문제 해결 단계로 디렉터리 동기화를 해제하는 것은 권장되지 않습니다. 디렉터리 동기화 문제 해결에 대한 지원이 필요한 경우 Microsoft 365용 디렉터리 동기화 문제 해결 문서를 참조하세요.

이 절차에 대한 도움이 필요한 경우 지원에 문의하세요.

디렉터리 동기화 끄기

디렉터리 동기화를 해제하려면 다음을 수행합니다.

  1. 먼저 필요한 소프트웨어를 설치하고 Microsoft 365 구독에 연결합니다. 자세한 내용은 Windows PowerShell Microsoft Graph PowerShell 모듈을 사용하여 연결을 참조하세요.

  2. Update-MgBetaOrganization을 사용하여 디렉터리 동기화를 사용하지 않도록 설정합니다.

  # Install v1.0 and beta Microsoft Graph PowerShell modules 
  Install-Module Microsoft.Graph -Force
  Install-Module Microsoft.Graph.Beta -AllowClobber -Force 
  
  # Connect With Global Admin Account
  Connect-MgGraph -scopes "Organization.ReadWrite.All,Directory.ReadWrite.All" 
  
  # Verify the current status of the DirSync Type
  Get-MgOrganization | Select OnPremisesSyncEnabled 
  
  # Store the Tenant ID in a variable named organizationId
  $organizationId = (Get-MgOrganization).Id 
  
  # Store the False value for the DirSyncEnabled Attribute
  $params = @{
  	onPremisesSyncEnabled = $false
  }
  
  # Perform the update
  Update-MgBetaOrganization -OrganizationId $organizationId -BodyParameter $params 
  
  # Check that the command worked
  Get-MgOrganization | Select OnPremisesSyncEnabled

참고

이 명령을 사용하는 경우 디렉터리 동기화를 다시 켜기 전에 72시간을 기다려야 합니다.

cmdlet 사용 및 스위치에 대한 자세한 내용은 Update-MgBetaOrganization 을 참조하세요.