C# unable to enroll a device using graph

  • Thread starter Thread starter Guillaume Auger1
  • Start date Start date
G

Guillaume Auger1

Guest
I hava a powershell function that calss a C# function app to enroll a device in Autopilot. I can't get it to work. I quite sure the problem lies with the hardware identifier binary blob. I tried every string format but I always get the same errorHere's how the hardware identifier is retreived in powershell $devDetail = (Get-CimInstance -CimSession $session -Namespace root/cimv2/mdm/dmmap -Class MDM_DevDetail_Ext01 -Filter "InstanceID='Ext' AND ParentID='./DevDetail'") if ($devDetail -and (-not $Force)) { &nb

Continue reading...
 
Back
Top