Forum Discussion
Device Migration from On-prem AD to Azure AD
please see my comment to Avinash.
DeyKilledKenny
This isn't the full awnser to the question. The question was how to get from an Domain joined setup to a native Azure AD joined setup for existing devices. The steps you described involve enrolling an Domain device to Azure AD. It doesn't remove the device from the on-prem domain.
- DeyKilledKennyOct 09, 2020Copper ContributorCorrect, it's half of the answer because we haven't found a way to do it seamlessly (without wiping the devices), hence i said we found a work around. it's not the best solution, but that keeps our business running and met our requirements in a way.
If we find a better way to do it with coming days, I will update this thread for sure.- KhirtahNov 03, 2020Copper ContributorHi,
Did you tried to :
Create a local admin account and export hash to intune.
Disconnect user from local domaine.
Connect to azure AD.
Disconnect from local admin account and connect with azure AD USERNAME, that starts enrollment and you Can see in intune you have an autopilote manged machine.
I tried that Without resetting computer.- 0--O1May 07, 2021Copper Contributor
Hi there,
okay, a little bit late, but this results that users get a new profiles. And this action takes a very long time (about 3 hours while changing from local ad to azure ad). There is probably an very long error timeout.
That is not a top solution.
Researching for best practice. Perhaps with SCCM on prem support.
- Jan GezelsOct 14, 2020Copper Contributor
In my opinion, when you would need to script this, the difficulty would lie in the removal of the PC from the current AD to a workgroup:
* This could be done by using the remove-computer cmdlet. (with or without reboot, to be tested)
After that step, inject a WDC package to get it into AzureAD:
(https://www.nielskok.tech/microsoft365/unattended-azure-ad-join/)
If you had your indentities synced up with AD Connect, the SID would be the same as would the profile,....(also to be tested)
Interested to hear other solutions also