Disable DirSync from Office 365

I did make DirSync Server to install using Azure AD Connect , to configure this directory sync , I went to office 365 portal admin center, it needs office 365 tenant admin credentials and active directory enterprise admin credentials.

So as to restrict expire office 365 test tenant soon, I need to clean up all office 365 test environment, before this job I did permanently remove sharepoint site collection, then now I’ll clean up office 365 dirsync environment. To deactivate dirsync environment, need to do deactivate dirsync using “https://technet.microsoft.com/en-us/library/dn144760.aspx”,  it explain there are two ways to deactivate portal or using windows powershell

Deactivate Dirsync on portal : It needs to go to Users page on office 365 admin Portal , Go to active users then click to Manage buttonDeactivateDirSync_Portal.png Click the “Deactivate” Button from this page, DeactivateDirSync_Portal_Do.png

Deactivate DirSync using Windows PowerShell    

  1. Install and run the Microsoft Azure Active Directory Module for Windows PowerShell
  2. Run the following cmdlet :  Set-MsolDirSyncEnabled -EnableDirSync $false SetMsolDirSyncToFalse.png
  3.  To verify that directory synchronization was deactivated, run the following cmdlet: (Get-MsolCompanyInformation).DirectorySynchronizationEnabled    , when this cmdlet returns false, directory synchronization has been disabled. It may take 72 hours for deactivation to be completed. The duration depends on the number of objects that are in your Azure AD tenant. GetMsolCompanyInfo


Then remove Azure AD Connect from DirSync Server

Check Uninstall Windows Azure AD Connect  as url :  https://social.msdn.microsoft.com/Forums/azure/en-US/1e3b64ae-dccc-415d-9cc9-36c3ff17c0f8/uninstall-windows-azure-ad-connect-108641?forum=WindowsAzureAD

Needs to show up in-details

As a result, if you see active users on office 365 portal page, all accounts are showed to “In Cloud” instead of showing “Active Directory SyncedAfterDeactivatedDirSync 2


글쓴이: hongwoo jin

I'm managing our Korea company's Office 365 administrator I want to be MS Office 365 & SharePoint MVP with certification.

답글 남기기

아래 항목을 채우거나 오른쪽 아이콘 중 하나를 클릭하여 로그 인 하세요:

WordPress.com 로고

WordPress.com의 계정을 사용하여 댓글을 남깁니다. 로그아웃 /  변경 )

Google+ photo

Google+의 계정을 사용하여 댓글을 남깁니다. 로그아웃 /  변경 )

Twitter 사진

Twitter의 계정을 사용하여 댓글을 남깁니다. 로그아웃 /  변경 )

Facebook 사진

Facebook의 계정을 사용하여 댓글을 남깁니다. 로그아웃 /  변경 )


%s에 연결하는 중