Those are Intune-related properties and are poorly documented as the whole Intune/device management API is still finding its way to the Graph.
Graph api for Azure AD Devices.
Hi,
While exploring the device graph endpoint, the properties domainName, sourceType and externalSourceName always returns value as null.
I wanted to know what these properties refer to.
Microsoft Security Microsoft Entra Microsoft Entra ID
2 answers
Sort by: Most helpful
-
Vasil Michev 119.5K Reputation points MVP Volunteer Moderator
2022-10-07T06:54:31.487+00:00 -
Akshay-MSFT 17,951 Reputation points Microsoft Employee Moderator
2022-10-07T10:22:58.97+00:00 Hello @Anonymous ,
As per https://learn.microsoft.com/en-us/graph/api/resources/device?view=graph-rest-beta#properties:
domainName refers to The on-premises domain name of Hybrid Azure AD joined devices. This property is set by Intune.
So, your devices must be hybrid AD joined to have the domainName updated.
However, I am digging more through this what are the other conditions to require to have this property updated. Also I am checking more on other two attributes to see correlation i.e., sourcetype and externalSourceName.
Suggestion from Intune Engineering team on this:
- Firstly, can you try making an explicit GraphAPI call to the device record (device ID) rather than a list return because we purposefully do not populate some attributes in the list return which would be returned when querying the object directly. -There should be two AAD records for this device because it is hybrid AADJ - can you check both objects please.
Thanks,
Akshay KaushikPlease "Accept the answer" if the information helped you. This will help us and others in the community as well.