Device Migration from On-prem AD to Azure AD

%3CLINGO-SUB%20id%3D%22lingo-sub-1166194%22%20slang%3D%22en-US%22%3ERe%3A%20Device%20Migration%20from%20On-prem%20AD%20to%20Azure%20AD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1166194%22%20slang%3D%22en-US%22%3EWe%20use%20Autopilot%20to%20move%20computers%20over.%20But%20in%20general%2C%20we%20get%20them%20Azure%20AD%20joined%2Fmanaged%20using%20Endpoint%20Manager%20whenever%20we%20replace%20the%20hardware%20and%20yes%2C%20this%20will%20take%20a%20long%20time%20if%20you%20don%E2%80%99t%20plan%20to%20replace%20computers%20within%20the%20next%20year%20or%20so.%20So%20sometimes%20we%20simply%20re-install%20computers.%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20you%20have%20specific%20requirements%20of%20which%20users%20to%20set%20as%20local%20admin%2C%20we%20use%20this%20script%3A%20%3CA%20href%3D%22https%3A%2F%2Ftech.xenit.se%2Fadd-you-own-local-admin-users-on-azure-ad-devices%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Ftech.xenit.se%2Fadd-you-own-local-admin-users-on-azure-ad-devices%2F%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1167283%22%20slang%3D%22en-US%22%3ERe%3A%20Device%20Migration%20from%20On-prem%20AD%20to%20Azure%20AD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1167283%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F19218%22%20target%3D%22_blank%22%3E%40Jonas%20Back%3C%2FA%3E%26nbsp%3BThank%20you%20for%20your%20reply.%20We%20have%20almost%20300%20machines%20and%20would%20like%20to%20migrate%20by%20end%20of%20this%20year%2C%20so%20resetting%20machine%2FAuto%20Pilot%20will%20take%20more%20time%20and%20not%20efficient%20for%20us.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1167931%22%20slang%3D%22en-US%22%3ERe%3A%20Device%20Migration%20from%20On-prem%20AD%20to%20Azure%20AD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1167931%22%20slang%3D%22en-US%22%3EI%20think%20you%20mean%20that%20you%20don%E2%80%99t%20want%20to%20reinstall%20(reset)%20every%20machine%2C%20correct%3F%3CBR%20%2F%3E%3CBR%20%2F%3EHave%20not%20tried%20it%20but%20check%20the%20%E2%80%9DBulk%20Enrollment%E2%80%9D%20mentioned%20here%3A%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fdevices%2Fassign-local-admin%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fdevices%2Fassign-local-admin%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1403645%22%20slang%3D%22en-US%22%3ERe%3A%20Device%20Migration%20from%20On-prem%20AD%20to%20Azure%20AD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1403645%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F253287%22%20target%3D%22_blank%22%3E%40Amit_Trivedi112214%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20company%20is%20attempting%20almost%20the%20exact%20same%20situation....%20for%201800%20devices.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%2C%20if%20anyone%20has%20a%20comprehensive%20strategy%20for%20this%20solution%20I'd%20appreciate%20it%20greatly.%3CBR%20%2F%3E%3CBR%20%2F%3EMy%20understanding%20developed%20from%20the%20linked%20articles%20is%20the%20steps%20for%20accomplishing%20this%20would%20be%20to%3A%3CBR%20%2F%3E%3CBR%20%2F%3E1.%20create%20an%20AutoPilot%20profile%20which%20either%20acknowledges%20a%20present%20local%20administrator%20account%20or%20creates%20it%20when%20the%20device%20hits%20Azure%3C%2FP%3E%3CP%3E2.%20create%20a%20Group%20which%20applies%20the%20required%20applications%20for%20my%20company%3C%2FP%3E%3CP%3E3.%20use%20the%20Bulk%20update%20to%20target%20my%20on-premises%20machines%20for%20moving%20to%20Azure%20(how%20do%20I%20make%20sure%20the%20devices%20i%20select%20for%20bulk%20autopilot%20are%20not%20flagged%20as%20%22personal%22%20in%20on-premises%20AD%3F)%3C%2FP%3E%3CP%3E4.%20Clear%20my%20on-premises%20record%20of%20devices%20after%20each%20device%20appears%20in%20Azure%20AD%3C%2FP%3E%3CP%3E5.%20Start%20a%20sync%20in%20Intune%20and%20allow%20it%20to%20push%20apps%20and%20add%20any%20missing%20administrator%20account%20based%20on%20the%20Group%20and%20Profile%20settings%3CBR%20%2F%3E%3CBR%20%2F%3EThank%20you%20for%20any%20clarifications%20available.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1457352%22%20slang%3D%22en-US%22%3ERe%3A%20Device%20Migration%20from%20On-prem%20AD%20to%20Azure%20AD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1457352%22%20slang%3D%22en-US%22%3EI'm%20in%20the%20same%20boat%20as%20you.%3CBR%20%2F%3EIf%20anyone%20has%20a%20good%20approach%20to%20be%20able%20to%20join%20a%20machine%20to%20AzureAD%20while%20joined%20to%20local%20domain%2C%20that%20would%20be%20great!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1458272%22%20slang%3D%22en-US%22%3ERe%3A%20Device%20Migration%20from%20On-prem%20AD%20to%20Azure%20AD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1458272%22%20slang%3D%22en-US%22%3EYou%20might%20be%20looking%20for%20hybrid%20Azure%20AD%20Join%3F%3CBR%20%2F%3EThis%20way%20the%20device%20is%20joined%20to%20local%20AD%20and%20registered%20to%20AAD%2C%20which%20enables%20management%20through%20Intune%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fdevices%2Fhybrid-azuread-join-plan%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fdevices%2Fhybrid-azuread-join-plan%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1512562%22%20slang%3D%22en-US%22%3ERe%3A%20Device%20Migration%20from%20On-prem%20AD%20to%20Azure%20AD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1512562%22%20slang%3D%22en-US%22%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F253287%22%20target%3D%22_blank%22%3E%40Amit_Trivedi112214%3C%2FA%3E%3CBR%20%2F%3Eplease%20help%20us%20if%20you%20were%20able%20to%20complete%20the%20migration.%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1516155%22%20slang%3D%22en-US%22%3ERe%3A%20Device%20Migration%20from%20On-prem%20AD%20to%20Azure%20AD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1516155%22%20slang%3D%22en-US%22%3EIn%20regards%20to%20issue%201%20and%20users%20getting%20local%20admin%20rights%2C%20are%20you%20using%20Intune%3F%20If%20so%20you%20can%20create%20a%20deployment%20profile%20in%20which%20you%20state%20that%20users%20don%E2%80%99t%20have%20admin%20rights.%20Target%20that%20to%20your%20devices%20and%20after%20the%20OOBE%20the%20user%20will%20have%20standard%20user%20rights.%3CBR%20%2F%3EAs%20far%20as%20I%20know%20there%20aren%E2%80%99t%20any%20supported%20methods%20to%20migrate%20devices%20from%20AD%20to%20an%20native%20Azure-AD%20joined%20stated%20without%20resetting%20the%20device.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1165192%22%20slang%3D%22en-US%22%3EDevice%20Migration%20from%20On-prem%20AD%20to%20Azure%20AD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1165192%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20All%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20want%20to%20migrate%20our%20On-Prem%20AD%20devices%20to%20Azure%20AD%20and%20enroll%20into%20intune.%20We%20have%20Azure%20AD%20sync%20and%20all%20but%20needs%20to%20convert%20machine%20to%20Azure%20AD%20join%20only%20not%20Hybrid%20AD.%20So%20we%20would%20like%20to%20create%20new%20user%20profile%20on%20machine.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20have%20used%20two%20methods%20so%20far.%3C%2FP%3E%3CP%3E1)%20Reset%20the%20machine%20and%20use%20join%20to%20Azure%20AD%20from%20OOBE.%20(%20Issue%20-%20This%20will%20make%20user%20a%20Administrator%20for%20that%20machine%20and%20we%20dont%20want%20that%20)%3C%2FP%3E%3CP%3E2)%20Unbind%20from%20on-prem%20AD%2C%20join%20to%20Azure%20AD%20manually%20but%20the%20same%20issue%20like%20number%201.%3C%2FP%3E%3CP%3E3)%20Using%20Hardware%20Hash%2C%20register%20devices%20to%20Autopilot%20and%20then%20reset%20all%20the%20machines.%20(%20Issue%20-%20This%20will%20take%20too%20long%20to%20migrate%20250%20machines%20and%20helping%20remote%20workers%20are%20quite%20difficult%20)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHas%20anyone%20tried%20any%20different%20method%20or%20is%20there%20any%20expert%20suggestion%20%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1165192%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20AD%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EIntune%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1764254%22%20slang%3D%22en-US%22%3ERe%3A%20Device%20Migration%20from%20On-prem%20AD%20to%20Azure%20AD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1764254%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F723948%22%20target%3D%22_blank%22%3E%40AvinashG%3C%2FA%3E%26nbsp%3BHey%20Avinash%2C%3C%2FP%3E%3CP%3EWe%20have%20found%20out%20a%20work%20around%20to%20this.%3C%2FP%3E%3CP%3EWhile%20the%20machine%20is%20joined%20to%20a%20local%20domain%26nbsp%3B%20domain1.com%3C%2FP%3E%3CP%3ETo%20be%20able%20to%20enroll%20it%20in%20Intune%20MDM%20(without%20joining%20the%20doamin%20AzureCloud.com%20doamin).%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20first%20have%20to%20remove%20any%20management%20tools%20for%20example%20(SCCM%20Client).%20Once%20that%20client%20is%20removed%2C%20you%20should%20be%20able%20to%20Enroll%20in%20Mobile%20Device%20management%20from%20Settings%20-%26gt%3B%20Accounts%20-%26gt%3B%20Access%20work%20or%20school.%20Under%20related%20settings%2C%20you%20will%20get%20an%20option%20to%20enroll%20in%20MDM%2C%20once%20you%20do%20it%2C%20it%20should%20be%20easy%20after%20that.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20this%20helps.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1764283%22%20slang%3D%22en-US%22%3ERe%3A%20Device%20Migration%20from%20On-prem%20AD%20to%20Azure%20AD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1764283%22%20slang%3D%22en-US%22%3EHey%20John%2C%3CBR%20%2F%3Eplease%20see%20my%20comment%20to%20Avinash.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1764416%22%20slang%3D%22en-US%22%3ERe%3A%20Device%20Migration%20from%20On-prem%20AD%20to%20Azure%20AD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1764416%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F696880%22%20target%3D%22_blank%22%3E%40DeyKilledKenny%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3EThis%20isn't%20the%20full%20awnser%20to%20the%20question.%20The%20question%20was%20how%20to%20get%20from%20an%20Domain%20joined%20setup%20to%20a%20native%20Azure%20AD%20joined%20setup%20for%20existing%20devices.%20The%20steps%20you%20described%20involve%20enrolling%20an%20Domain%20device%20to%20Azure%20AD.%20It%20doesn't%20remove%20the%20device%20from%20the%20on-prem%20domain.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1764490%22%20slang%3D%22en-US%22%3ERe%3A%20Device%20Migration%20from%20On-prem%20AD%20to%20Azure%20AD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1764490%22%20slang%3D%22en-US%22%3ECorrect%2C%20it's%20half%20of%20the%20answer%20because%20we%20haven't%20found%20a%20way%20to%20do%20it%20seamlessly%20(without%20wiping%20the%20devices)%2C%20hence%20i%20said%20we%20found%20a%20work%20around.%20it's%20not%20the%20best%20solution%2C%20but%20that%20keeps%20our%20business%20running%20and%20met%20our%20requirements%20in%20a%20way.%3CBR%20%2F%3EIf%20we%20find%20a%20better%20way%20to%20do%20it%20with%20coming%20days%2C%20I%20will%20update%20this%20thread%20for%20sure.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1778838%22%20slang%3D%22en-US%22%3ERe%3A%20Device%20Migration%20from%20On-prem%20AD%20to%20Azure%20AD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1778838%22%20slang%3D%22en-US%22%3E%3CP%3EIn%20my%20opinion%2C%20when%20you%20would%20need%20to%20script%20this%2C%20the%20difficulty%20would%20lie%20in%20the%20removal%20of%20the%20PC%20from%20the%20current%20AD%20to%20a%20workgroup%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%20*%20This%20could%26nbsp%3B%20be%20done%20by%20using%20the%20remove-computer%20cmdlet.%20(with%20or%20without%20reboot%2C%20to%20be%20tested)%3C%2FP%3E%3CP%3EAfter%20that%20step%2C%20inject%20a%20WDC%20package%20to%20get%20it%20into%20AzureAD%3A%26nbsp%3B%3C%2FP%3E%3CP%3E(%3CA%20href%3D%22https%3A%2F%2Fwww.nielskok.tech%2Fmicrosoft365%2Funattended-azure-ad-join%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.nielskok.tech%2Fmicrosoft365%2Funattended-azure-ad-join%2F%3C%2FA%3E)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20had%20your%20indentities%20synced%20up%20with%20AD%20Connect%2C%20the%20SID%20would%20be%20the%20same%20as%20would%20the%20profile%2C....(also%20to%20be%20tested)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EInterested%20to%20hear%20other%20solutions%20also%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1851410%22%20slang%3D%22fr-FR%22%3ERe%3A%20Device%20Migration%20from%20On-prem%20AD%20to%20Azure%20AD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1851410%22%20slang%3D%22fr-FR%22%3EHi%2C%20%3CBR%20%2F%3E%3CBR%20%2F%3E%20Did%20you%20tried%20to%3A%20%3CBR%20%2F%3E%20Create%20a%20local%20admin%20account%20and%20export%20hash%20to%20intune.%3CBR%20%2F%3EDisconnect%20user%20from%20local%20domain.%3CBR%20%2F%3EConnect%20to%20azure%20AD.%3CBR%20%2F%3EDisconnect%20from%20local%20admin%20account%20and%20connect%20with%20azure%20AD%20USERNAME%2C%20which%20starts%20enrollment%20and%20you%20can%20see%20in%20intune%20you%20have%20an%20autopilot%20eated%20machine.%3CBR%20%2F%3EI%20tried%20that%20Without%20resetting%20computer.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1918592%22%20slang%3D%22en-US%22%3ERe%3A%20Device%20Migration%20from%20On-prem%20AD%20to%20Azure%20AD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1918592%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F856630%22%20target%3D%22_blank%22%3E%40Khirtah%3C%2FA%3E%26nbsp%3BThank%20you!%20I%20have%20already%20tried%20that%20yes%2C%20it%20works%20well.%20I%20was%20looking%20for%20a%20more%20of%20an%20automated%20solution.%3C%2FP%3E%3CP%3EThank%20you%20for%20participating%20%3A)%3C%2Fimg%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2334751%22%20slang%3D%22en-US%22%3ERe%3A%20Device%20Migration%20from%20On-prem%20AD%20to%20Azure%20AD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2334751%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20there%2C%3CBR%20%2F%3E%3CBR%20%2F%3Eokay%2C%20a%20little%20bit%20late%2C%20but%20this%20results%20that%20users%20get%20a%20new%20profiles.%20And%20this%20action%20takes%20a%20very%20long%20time%20(about%203%20hours%20while%20changing%20from%20local%20ad%20to%20azure%20ad).%20There%20is%20probably%20an%20very%20long%20error%20timeout.%3CBR%20%2F%3EThat%20is%20not%20a%20top%20solution.%3CBR%20%2F%3E%3CBR%20%2F%3EResearching%20for%20best%20practice.%20Perhaps%20with%20SCCM%20on%20prem%20support.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2343549%22%20slang%3D%22en-US%22%3ERe%3A%20Device%20Migration%20from%20On-prem%20AD%20to%20Azure%20AD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2343549%22%20slang%3D%22en-US%22%3E%3CP%3E%3CFONT%20face%3D%22inherit%22%3EOur%20devices%20are%20currently%20Hybrid%20Azure%20AD%20Joined%20and%20I%20am%20considering%20moving%20new%20devices%20over%20to%20Azure%20AD%20joined%20to%20%3C%2FFONT%3Esimplify%3CFONT%20face%3D%22inherit%22%3E%26nbsp%3Benrolment%20to%20Windows%20Hello%20for%20Business%20and%20Autopilot.%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20only%20downsides%20I%20could%20see%20is%20as%20follows%3A%3C%2FP%3E%3CP%3ENo%20login%20scripts%20will%20run%20at%20sign%20in%20when%20connected%20to%20the%20LAN%3CBR%20%2F%3ENo%20Group%20Policy%20control%3CBR%20%2F%3ENo%20granular%20control%20regarding%20local%20admin%20rights%20to%20the%20local%20device%20(it%20is%20all%20or%20nothing)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EJust%20wondering%20if%20anyone%20has%20found%20any%20other%20disadvantages%2Fbenefits%20and%20what%20motivated%20you%20to%20consider%20making%20the%20change%20over%20to%20Azure%20AD%20Joined%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2355944%22%20slang%3D%22en-US%22%3ERe%3A%20Device%20Migration%20from%20On-prem%20AD%20to%20Azure%20AD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2355944%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F33025%22%20target%3D%22_blank%22%3E%40Chris%20Yue%3C%2FA%3E%26nbsp%3BWith%20workforce%20scattered%20everywhere%20using%20on-prem%20creds%20is%20a%20challenge.%26nbsp%3B%20I%20am%20a%20fan%20of%20using%20MECM%20to%20enable%20comanagement%20and%20then%20at%20the%20next%20cycle%20redeploy%20the%20machines%20with%20AzureAD%20only%20using%20an%20autopilot%20Json%20file%20during%20OOBE%20to%20lock%20in%20the%20domain%20and%20make%20sure%20it%20is%20setup%20for%20MDM.%26nbsp%3B%20I%20have%20found%20replacements%20within%20Intune%20for%20most%20GPO%26nbsp%3B%20functions%20and%20not%20getting%20constantly%20hung%20up%20in%20whether%20they%20are%20doing%20sync%20or%20async%20processing%20simplifies%20things%2C%20especially%20with%20them%20not%20being%20on-prem%20much%20at%20the%20moment.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2636114%22%20slang%3D%22en-US%22%3ERe%3A%20Device%20Migration%20from%20On-prem%20AD%20to%20Azure%20AD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2636114%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1047746%22%20target%3D%22_blank%22%3E%400--O1%3C%2FA%3E%26nbsp%3B%20There%20is%20a%20Microsoft%20article%20on%20this.%26nbsp%3B%20When%20you%20unjoin%20a%20computer%20from%20an%20AD%20Domain%20and%20move%20it%20to%20a%20workgroup%2C%20Windows%20will%20use%20the%20domain%20name%20as%20the%20workgroup%20name.%26nbsp%3B%20Then%20when%20you%20try%20to%20Azure%20AD%20Join%20the%20computer%2C%20the%20computer%20will%20start%20looking%20for%20the%20AD%20domain.%26nbsp%3B%20It%20will%20stop%20looking%20in%203%20hours%20(times-out).%26nbsp%3B%20To%20work%20around%20this%2C%20when%20you%20unjoin%20the%20computer%20from%20AD%2C%20change%20the%20workgroup%20name%20to%20anything%20else%20that%20is%20not%20the%20name%20of%20the%20AD%20(e.g.%2C%20change%20it%20to%20Workgroup).%26nbsp%3B%20Then%20when%20you%20Azure%20AD%20Join%20the%20computer%2C%20it%20happens%20in%20real%20time.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hello All,

 

We want to migrate our On-Prem AD devices to Azure AD and enroll into intune. We have Azure AD sync and all but needs to convert machine to Azure AD join only not Hybrid AD. So we would like to create new user profile on machine.

 

We have used two methods so far.

1) Reset the machine and use join to Azure AD from OOBE. ( Issue - This will make user a Administrator for that machine and we dont want that )

2) Unbind from on-prem AD, join to Azure AD manually but the same issue like number 1.

3) Using Hardware Hash, register devices to Autopilot and then reset all the machines. ( Issue - This will take too long to migrate 250 machines and helping remote workers are quite difficult )

 

Has anyone tried any different method or is there any expert suggestion ?

 

Thanks!

 

18 Replies
We use Autopilot to move computers over. But in general, we get them Azure AD joined/managed using Endpoint Manager whenever we replace the hardware and yes, this will take a long time if you don’t plan to replace computers within the next year or so. So sometimes we simply re-install computers.

If you have specific requirements of which users to set as local admin, we use this script: https://tech.xenit.se/add-you-own-local-admin-users-on-azure-ad-devices/

@Jonas Back Thank you for your reply. We have almost 300 machines and would like to migrate by end of this year, so resetting machine/Auto Pilot will take more time and not efficient for us.

 

 

I think you mean that you don’t want to reinstall (reset) every machine, correct?

Have not tried it but check the ”Bulk Enrollment” mentioned here: https://docs.microsoft.com/en-us/azure/active-directory/devices/assign-local-admin

@Amit_Trivedi112214 

 

My company is attempting almost the exact same situation.... for 1800 devices.

 

Please, if anyone has a comprehensive strategy for this solution I'd appreciate it greatly.

My understanding developed from the linked articles is the steps for accomplishing this would be to:

1. create an AutoPilot profile which either acknowledges a present local administrator account or creates it when the device hits Azure

2. create a Group which applies the required applications for my company

3. use the Bulk update to target my on-premises machines for moving to Azure (how do I make sure the devices i select for bulk autopilot are not flagged as "personal" in on-premises AD?)

4. Clear my on-premises record of devices after each device appears in Azure AD

5. Start a sync in Intune and allow it to push apps and add any missing administrator account based on the Group and Profile settings

Thank you for any clarifications available.

I'm in the same boat as you.
If anyone has a good approach to be able to join a machine to AzureAD while joined to local domain, that would be great!
You might be looking for hybrid Azure AD Join?
This way the device is joined to local AD and registered to AAD, which enables management through Intune
https://docs.microsoft.com/en-us/azure/active-directory/devices/hybrid-azuread-join-plan
@Amit_Trivedi112214
please help us if you were able to complete the migration.
In regards to issue 1 and users getting local admin rights, are you using Intune? If so you can create a deployment profile in which you state that users don’t have admin rights. Target that to your devices and after the OOBE the user will have standard user rights.
As far as I know there aren’t any supported methods to migrate devices from AD to an native Azure-AD joined stated without resetting the device.

@AvinashG Hey Avinash,

We have found out a work around to this.

While the machine is joined to a local domain  domain1.com

To be able to enroll it in Intune MDM (without joining the doamin AzureCloud.com doamin). 

You first have to remove any management tools for example (SCCM Client). Once that client is removed, you should be able to Enroll in Mobile Device management from Settings -> Accounts -> Access work or school. Under related settings, you will get an option to enroll in MDM, once you do it, it should be easy after that.

 

Hope this helps.

Hey John,
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.

Correct, 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.

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

Hi,

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.

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.

Our devices are currently Hybrid Azure AD Joined and I am considering moving new devices over to Azure AD joined to simplify enrolment to Windows Hello for Business and Autopilot.

 

The only downsides I could see is as follows:

No login scripts will run at sign in when connected to the LAN
No Group Policy control
No granular control regarding local admin rights to the local device (it is all or nothing)

 

Just wondering if anyone has found any other disadvantages/benefits and what motivated you to consider making the change over to Azure AD Joined?

 

@Chris Yue With workforce scattered everywhere using on-prem creds is a challenge.  I am a fan of using MECM to enable comanagement and then at the next cycle redeploy the machines with AzureAD only using an autopilot Json file during OOBE to lock in the domain and make sure it is setup for MDM.  I have found replacements within Intune for most GPO  functions and not getting constantly hung up in whether they are doing sync or async processing simplifies things, especially with them not being on-prem much at the moment.

@0--O1  There is a Microsoft article on this.  When you unjoin a computer from an AD Domain and move it to a workgroup, Windows will use the domain name as the workgroup name.  Then when you try to Azure AD Join the computer, the computer will start looking for the AD domain.  It will stop looking in 3 hours (times-out).  To work around this, when you unjoin the computer from AD, change the workgroup name to anything else that is not the name of the AD (e.g., change it to Workgroup).  Then when you Azure AD Join the computer, it happens in real time.