We are pre-configuring our mobile device fleet through Apple DEP into our hybrid InTune / SCCM instance.
We have a few different enrolment profiles based on what the device is used for. With this, we also have policies and apps that we want to apply based on what enrolment profile is used.
I can't for the life of me find anything that can be used in a query that can provide that information!
If you click 'Show assigned devices' it shows a dynamic collection with the devices, but you can't see what the query is as 'Properties' just takes you to the Profile properties.