Autopilot profile is not assigned if a device already registered Azure AD

Copper Contributor

When import device information for Autopilot, if the devices already registered to Azure AD, the profile status in Windows Autopilot devices have not changed from ”Not Assigned”.

 

After deleting the device from both Autopilot devices and Azure AD, and import again, it has changed to ”Assigned”.

 

It is the same behavior at import csv file, which created by PowerShell script manually or use Autopilot profile to convert targeted devices.

 

Note that we had not applied Autopilot enrollment to all devices, and we use a security group referring ”ZTDId”. And a security group specified Azure AD devices for convert.

 

And, it seems when import csv file to Autopilot, devices register to Azure AD automatically. If we remove it from Azure AD, the device information will not re-register automatically. Or will it work with the security group of all Azure AD device?

 

I want to know:
1. Import Autopilot information of devices that already registered to Azure AD does it work?
2. With the security group reference ZTDId, does it work?
3. The best practice to register Autopilot information, that device already registered to Azure AD and Intune

 

Thank you for reading. If you know anything about it, please teach me.

23 Replies

Having the same issues here (UK) 

When importing Devices into the Autopilot, any devices using the [ZTDId] are not having profiles assigned. 

 

I have also noted the 'sync', is roughly instant, this is abnormal as usually, it takes a few minutes before successful sync is reported

@Nayuta 

Hi Nayuta,

This is normal behavior, if you importing the devices using csv file, you need to make sure that the devices do not exist in Azure AD at all. If you have existing devices and you want to apply Auto Enrollment Deployment Profile, you just need hit yes on ‘Convert all Targeted device to Auto Pilot’.

Hope I’m understanding your scenario correctly!

Moe

https://www.google.com/amp/s/secureinfra.blog/2019/10/31/convert-all-targeted-devices-to-autopilot/a...

@Moe_Kinani 

 

In my instance, the property 'Convert all targeted devices to Autopilot' is already configured to yes. 

 

However, Devices registered for autopilot are not pulling a profile. 

 

Thanks 

@LurkingMedal140 

 

Could you add the PCs to regular Security group and assign them to the deployment profile? It might be the dynamic group somehow dropping the PCs.

 

Moe

@Moe_Kinani

 

So I have raised this as an MS Support Ticket, they have informed me that currently there is various region issues with profile deployment using Windows Auto-Enrollment. These are backend issues and are currently being resolved. 

 

Although I have not seen any public comms from MS for this. 

Fyi, Just tried it on my test tenant and worked fine.

Moe
Did you manage to resolve this?
I notice this is over a year old - but I am still encountering the same issue. Did anyone get a definitive fix - or is it still a known issue?
Hi scubaAI,

In my environment, it works fine.

Currently, I convert devices by autopilot profile and use groups to assign autopilot profiles. Profiles assignment needs some wait time.

Nayuta

@scubaAl I also still encounter the same issue. A workaround that mostly works is deleting the device from the tenant first, registering it for Autopilot (using csv or graph api), then doing a local windows reset on the device.

I think I just realized how to solve this issue.
I went to the deployment profile (with the dynamic group), click to edit the basics information, add some text there in description box and save. The deployment will reload and update devices in autopilot table. Now all are assigned. For me it worked.

@Marcos_PaulaHoly crap, you just saved a whole day of manually uploading 200 devices that seemed to be "corrupt". Even MS-support recommended deleting the devices and re-adding them.

 

Just editing the description on the profile re-applied it correctly.

 

Thank you so so much.

@Marcos_Paula Thanks for your suggestion - just testing this now, have the same issue. If it works, fantastic - but so strange. 

 

Basically we have devices in SCCM and co-managed that I would like to be able to autopilot reset. So on one of the test deployment profiles I enabled 'convert to autopilot' and targeted a dynamic azure group with the test devices. They appear in autopilot devices, but profile never gets assigned. 

Hopefully this change to description will fix that. But it's a big hassle. Do you need to change EVERY single time you add new clients ? 

Hi.. Could you share some more information about seemed to be "corrupt" ... not assigned or just devices that weren't retreiving the autopilot profile?
Well this still happens from time to time. We utilize multiple autopilot profiles with multiple different group tags, and occasionally changing the grouptag on some devices never triggers them to switch to the correct autopilot profile. The solution we do is still just editing the profile that won’t apply, and then it begins updating all objects
Wow if this works for me this we be a great solution though a band aide. This really needs to get fixed. I have wasted hours trying to figure out what has gone wrong. Is this related to these issues people are having https://techcommunity.microsoft.com/t5/microsoft-intune/august-patch-is-breaking-intune-enrollment/m...?
THIS WORKS! I will this issue was solved once and for all. Editing the description of the deployment profile and saving so it updates. This will be a pain to have to always remember BUT it will save a ton of time in the long run. Thank you.
I posted above in a reply that this solution of changing the description of the deployment profile and SAVING to kick off an update to all the autopilot devices WORKS. Thanks all.
Spent a few hours on this one, boiling my noodle...
Trick is to: (with the device still in AutoPilot, not deleted)
Look in Windows Autopilot devices in MEM.
Search for the serial of your machine, select it.
When the side bar opens with all the info of the device, look at the Computer Name of the Associated Azure AD device.
Make a note of that..
Now you can delete the Serial in Windows Autopilot devices. Wait while that happens.
Go in to AzureAD - Devices. Search for the rouge Associated Azure AD device (from above)
Delete it. (You can delete it now the associated Windows Autopilot device has been deleted)
(If the delete button is not available then the associated Windows Autopilot devices still exists)

Now you can upload your device HWID back in to Windows Autopilot devices.
Wait for it to be associated, then do a build.

BA BA BA BA Bingo!!!
Hope it helps you guys.
Bish.