This deviceid is used when it reaches out to manage.microsoft.com (intune)https://r.manage.microsoft.com/devicegatewayproxy/cimhandler.ashx
In the request you will notice the DevId:
An unique device identifier. An application-specific global unique device identifier is provided in this node.
UseHWDevID node of the DMAcc configuration service provider can be used to modify the return value to instead return a hardware device ID as follows:
For GSM phones, the IMEI is returned.
For CDMA phones, the MEID is returned.
For dual SIM phones, this value is retrieved from the UICC of the primary data line.
For Windows 10 for desktop editions (Home, Pro, Enterprise, and Education), an application specific global unique identifier (GUID) is returned irrespective of the value of UseHWDevID.
https://learn.microsoft.com/en-us/windows/client-management/mdm/devinfo-csp
You can also use the localmdm tool to fetch it...
Send-LocalMDMRequest -OmaUri ./DevInfo/DevId
CmdId : 1
Cmd : Get
Status : 200
OmaUri : ./DevInfo/DevId
Data : idfromtheregistry :)