Forum Discussion
karthikajoy
Jul 20, 2021Copper Contributor
How to get the Hash ID for device which is already added to intune.
HI, I have a device in my tenant, for which i need to find the Hash id.
giladkeidar
Brass Contributor
why do you need the hash? is it to register it to autopilot? id so not needed - when assigning an Intune enrolled device to an existing or new autopilot profile it will automatically enroll / register this device to autopilot (just make sure to check the "Convert all targeted devices to Autopilot" option within your autopilot profile).
karthikajoy
Nov 25, 2021Copper Contributor
giladkeidar I have two tenant test and prod inside. I need the Hash ID for change b/w the tenants.
- giladkeidarNov 25, 2021Brass Contributortry this
https://github.com/microsoftgraph/powershell-intune-samples/tree/8b4f760a460839de6ee1726c3159a48478385edc/ManagedDevices
but you might need to re format the csv before importing to your other tenant.
if you use SCCM you can do it there also- Nov 25, 2021Hi,
Didnt knew the manageddevices graph uri shows the hardware HASH.. so far as I know it only shows hardware information and not the needed hash?- giladkeidarNov 25, 2021Brass Contributoryes you are right, I forgot it doesn't give the actual hash - so I believe the only way is using the "WindowsAutoPilotInfo" PS module.
If all devices are already enrolled to Intune I believe you can deploy a script which will export those settings and upload the data to Sharepoint list or any other online storage.