At the time of writing this article, HoloLens support within Intune is fairly limited. Even at the point of Autopilot profile creation.
One good way of looking at this is that it means its difficult to get this bit wrong.
The first recommendation would be to create a target group, for the Autopilot profile we will create. The recommendation would be to define this group in such a way, that the profile can be automatically assigned, based on the query we supply.
Login to Azure Active Directory and click on Groups from the left menu.
Choose to create a New Group
The Group type should be Security, enter a meaningful Group Name and description. And change the membership type to Dynamic Device, then click on the newly displayed Add Dynamic Query link.
Under Dynamic Membership Rules, click Edit towards the lower right hand side.
In the Rule Syntax blade that pops out, enter the following query exactly as written. Double check that the speech marks have not been altered if copying and pasting.
(device.devicePhysicalIds -any (_ -eq “[OrderID]:HoloLens”))
Click OK, then Save the Query.
Click Create for the Security Group to be created.
With the group successfully created, switch over to the Endpoint Manager console.
and from the left Menu click on Devices.
Select Enroll Devices
Within, choose Deployment Profiles under the Windows Autopilot Deployment Program section.
Click Create Profile and from the drop down, select HoloLens.
Complete the Profile Wizard as required. Start by giving the profile a meaningful name and description, click next.
In the next step, you will be asked to define the Out of Box Experience (OOBE), here, a lot of the configuration options are unavailable/predefined. At the time of writing you literally have the option of selecting the Keyboard Language and choosing whether or not to use a device naming template.
For examples sake, we will define a naming scheme, as shown below. Providing you don’t use a naming scheme that would give your device a hostname of over 15 characters, and you have no syntax errors, it’s difficult to get this bit wrong.
In this example, HoloLens devices being enrolled using this Autopilot Profile will join AAD with the name JAMESV-9387 (4 random characters).
Under Assignments, Select the Security Group to include.
In this example, we will use the Security Group we made at the start of this process, that is specific for HoloLens devices. (Autopilot-HoloLens Enrolled Devices) – Click Select once you’ve chosen your group, and then Next.
Under Review + Create, double check everything looks ok and click Create.
The newly created Profile should then be visible, and show as Assigned: Yes