Office 365: Convert AD Sync Users to Cloud Only

In any infrastructure AADConnect syncs the users at the best to Azure AD and this is a proven truth.

Looking into today’s paradigm, many companies would like to end their On-premises presence and move 100% cloud.

This means we have to decommission domain controllers and manage all identities from Azure AD.

So, the question comes how to convert AD synced objects to Cloud only Azure AD objects.

Here are the steps:

Step 1. Run the PowerShell to stop ADsync from office 365.

-Install Signin module

https://go.microsoft.com/fwlink/p/?LinkId=286152

-Install module

Install-Module MSOnline

-Connect to office 365

Connect-MsolService


Provide password on the next screen

-Disable Dirsync

Set-MsolDirSyncEnabled -EnableDirSync $false


-Verify the status

(Get-MsolCompanyInformation).DirectorySynchronizationEnabled

Step 2. Uninstall AADConnect from on-premises server

-In Program and Features, select “Microsoft Azure AD Connect” and click uninstall.


-Select Yes.


-Click Remove on this screen


-We should see all uninstalled.


Step 3: Wait for 72 hours.

-Open Azure AD and check Users Sync status today

https://aad.portal.azure.com

-Click users and see the source, it should be “Windows Server AD”


-Open Azure AD and check Users Sync status after 72 hours.

https://aad.portal.azure.com

Best Regards,
Prabhat Nigam
CEO at LAEXUG Foundation | CTO at Golden Five Consulting


 

CTO @ Golden Five | CEO at LAExUG Foundation

Prabhat is 3 times Microsoft MVP Award winner. He is MBA in Information Technology and he is working as a CTO at Golden Five Consulting which is a Microsoft Gold Partner, MSP, T1CSP, and Education partner. He helps in designing, implementing, managing and supporting solutions for private messaging cloud, mergers, a collaboration between different messaging software and other migration & deployment projects for the following technologies Office 365, Azure, AWS, Exchange, SQL, ADFS, MFA, FIM, MIM and Directory services. He has worked for all big IT giants either as an employee or contractor where he has led the Global teams. He has started his career as Technical Consultant in Exchange 5.5 with Microsoft PSS and his exchange love never stopped & continued with 2000/2003/2007/2010/2013/2016/2019/O365. At one point in time, he was the only person to support EDS customers when Microsoft had closed all the supports for 5.5 and now for all old legacy Exchange versions.
He used to blog at MSExchangeGuru.com, manages multiple LinkedIn and Facebook Groups. He also Owns MSExchnageGuru YouTube channel where he uploads all his records technical sessions. Don’t forget to check his PowerShell scripts which are making admins life easier. Prabhat can be reached at PN@GoldenFive.net.

Leave Comment

Your email address will not be published. Required fields are marked *