Not able to fetch Ownership and ManagedBy field values, Service Graph Connector for Microsoft Intune

KOON
Tera Contributor

Hi @Palani Chockali,

We have verified all your previous posts but couldn't understand how to fetch values from fields that were not included in the OOB.

In the DataStream -> Computers, inside the Script Parser step, I used the following line:

gs.info('The record is: ' + JSON.stringify(record));

However, inside the payload, I am unable to find the "Managed By" and "Ownership" attributes. Could you please guide us?

 

3 REPLIES 3

Kieran Anson
Kilo Patron

Have you extended the API calls to fetch those values from the Microsoft Graph API?

No, I haven't. 
Could you please let me know how to do that?

Kieran Anson
Kilo Patron

You'd need to work with your MS Intune administrator to understand whether these additional attributes are part of the managed device object, or somewhere else. Below is a link to the available values and "Managed By" and "Ownership" aren't there.

 

https://learn.microsoft.com/en-us/graph/api/resources/intune-devices-manageddevice?view=graph-rest-1...