Forum Discussion
Mykey
Jun 27, 2023Brass Contributor
intune Autopilot deployment profile get not assigned
Hi all, my first question and certainly not my last. I am currently testing to get my first local devices into the AAD. So far everything has worked, the join and the policies are assigned, unde...
- Jun 27, 2023Sounds to me your Autopilot registration is taking place after the enrollment and a result of ‘convert existing devices to autopilot’ in the Autopilot profile. It should be other way round. You need to register your devices in Autopilot using HWhashid before the provisioning process. Are you registering the HWhashids?
rahuljindal
Jun 28, 2023Bronze Contributor
I personally use something like -
PowerShell.exe -ExecutionPolicy Bypass
Install-Script -name Get-WindowsAutopilotInfo -Force
Set-ExecutionPolicy -Scope Process -ExecutionPolicy RemoteSigned
Get-WindowsAutopilotInfo -Online -Grouptag xxxxx
PowerShell.exe -ExecutionPolicy Bypass
Install-Script -name Get-WindowsAutopilotInfo -Force
Set-ExecutionPolicy -Scope Process -ExecutionPolicy RemoteSigned
Get-WindowsAutopilotInfo -Online -Grouptag xxxxx
Mykey
Jun 28, 2023Brass Contributor
OK, thanks. I will try.