Forum Discussion
Caffrey1125
Oct 02, 2021Copper Contributor
New to intune struggling to apply profile to device
I've just taken over a small tenant, and I'm struggling to see how my predecessor imported devices as there were no handover notes at all. I can successfully obtain the csv and import it fine, but t...
- Oct 02, 2021HI, maybe looking at these websites
https://vmlabblog.com/2020/03/use-group-tag-to-change-autopilot-deployment-profile/
And
https://rahuljindalmyit.blogspot.com/2021/06/a-quick-way-to-edit-autopilot-csv-file.html
Maybe it helps you
Caffrey1125
Oct 02, 2021Copper Contributor
I'm trying to work out how they did it before I start changing anything - don't want to run into any landmines. Looking at the current fleet they have different group tags for some reason
It is possible that this fleet predates when the assign profile button was removed though
Oct 02, 2021
In ths blogs I posted you have noticed you could assign a profile tag when importing the device or by adding a column in the csv to create the device tag. That device tag is the same as the dynamic group (rule) which is assigned at the autopilot profile to target those devices.
- Caffrey1125Oct 02, 2021Copper ContributorI read through those and saw no mention of profiles, just group tags - I've done a lot of reading lately and I'm assuming the previous admin had it set up differently. It has enlightened me a bit 🙂
From what I can tell the previous admin, didn't use the group tags
E.g. the AAD group dynamic rule is :-
(device.enrollmentProfileName -eq "AutoEnrol")
Autoenrol is the enrollment profile name
I will need to change this according to your links to
(device.devicePhysicalIds -any _ -eq "[OrderID]:MYGroupTag") instead ?- Caffrey1125Oct 02, 2021Copper Contributor
You know, I could buy you a beer, this has really helped and made things click with me.
I assigned an OR device.devicePhysicalIds -any _ -eq "[OrderID]:MYGroupTag"
Added the group tag to the device and the profile assigned fine. I'm guessing my predecessor didn't update anything.
I can relax now 🙂- Oct 02, 2021Hahaha just read the reply 🙂 Glad that you got it all working now...