I’am currently working on a project where we want to AzureAD join some Windows 10 devices after we have deployed them with SCCM.

In our test the uninstall of the SCCM client failed – and it resulted in a error code 8018000a when AzureAD joining the device.

Is seems normal until after user sign in to AzureAD for the AzureAD domain join in the Windows OOBE.

AzureAD_error1

The the error “Something went wrong” shows

AzureAD_error2

It is because it is not possible to AzureAD join a device with the SCCM client installed.

Solutions:

Uninstall the SCCM client with this command “c:\windows\ccmsetup\ccmsetup.exe /uninstall”

Then run c:\windows\system32\sysprep\sysprep.exe /oobe

Now it is possible to AzureAD join the device.