@Romar
Thank you for posting this in Microsoft Q&A.
To move child domain users to cloud only, you will have to break the link between on-premises and Azure AD. Entra connect will not be functional to sync objects from Azure AD to cloud.
To stop the sync you will have stop the AD connect service on the on-premises server or you can run command "Set-ADSyncScheduler -SyncCycleEnabled $false" in PowerShell on Entra connect server.
Post this you will still not be able to manage previously synced user objects in Azure AD. To manage these users you will have to follow below steps,
- Open Windows PowerShell as administrator.
- Run command "Install-module msonline"
- Connect-Msolservice
- Above command will prompt for credentials. You can enter global admin credentials in the prompt.
- Post this you can run command Set-MsolDirSyncEnabled -EnableDirsync $False
- Above command will change all users as "cloud only" users. This will let you manage user objects in Azure AD itself.
Note: Above command will convert root domain users as well to cloud only.
Once this is done you have to remove the child domain from Entra connect sync by unchecking the domain from domain selection in on-premises connector, so that Entra connect will not sync child domain users again.
But once you run sync root domain users will again join back and the status of root domain users in Entra will show up as on-premises directory.
Note: Try this in your test environment first and then implement it in your PROD environment if this works.
Let us know if you have any further questions.
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.