Azure AD Joined via PowerShell - Possible?

%3CLINGO-SUB%20id%3D%22lingo-sub-1350340%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20AD%20Joined%20via%20PowerShell%20-%20Possible%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1350340%22%20slang%3D%22en-US%22%3E%3CP%3EYou%20might%20be%20able%20do%20use%20%22dsregcmd%20%2Fjoin%22%2C%20although%20there's%20not%20much%20actual%20documentation%20on%20the%20executable.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1352090%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20AD%20Joined%20via%20PowerShell%20-%20Possible%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1352090%22%20slang%3D%22en-US%22%3EYOu%20could%20create%20a%20provisioning%20package%20(%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmem%2Fintune%2Fenrollment%2Fwindows-bulk-enroll%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmem%2Fintune%2Fenrollment%2Fwindows-bulk-enroll%3C%2FA%3E)%20and%20execute%20it%20through%20PS%20(%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fprovisioning%2Finstall-provisioningpackage%3Fview%3Dwin10-ps%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fprovisioning%2Finstall-provisioningpackage%3Fview%3Dwin10-ps%3C%2FA%3E)%3CBR%20%2F%3E%3CBR%20%2F%3EThere%20is%20no%20other%20way%20to%20my%20knowledge%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1349646%22%20slang%3D%22en-US%22%3EAzure%20AD%20Joined%20via%20PowerShell%20-%20Possible%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1349646%22%20slang%3D%22en-US%22%3E%3CP%3EIs%20it%20possible%20to%20use%20PowerShell%20to%20join%20a%20non%20regular%20domain%20device%20to%20Azure%20AD%20as%20AzureAD%20Joined%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20been%20looking%20around%20the%20web%20and%20cant%20seem%20to%20find%20anything%20about%20it%2C%20most%20say%20you%20cant%20do%20it%2C%20but%20wanted%20to%20ask%20to%20be%20sure.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1349646%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAccess%20Management%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAzure%20AD%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Contributor

Is it possible to use PowerShell to join a non regular domain device to Azure AD as AzureAD Joined?

 

I have been looking around the web and cant seem to find anything about it, most say you cant do it, but wanted to ask to be sure.

 

Thanks,

2 Replies

You might be able do use "dsregcmd /join", although there's not much actual documentation on the executable.