Add new SCCM attribute to SG-SCCM Service Graph connector

Sumant Servesh
Tera Contributor

Hi, We are using Service Graph Connector for Microsoft SCCM to consume End User Computer machine records in ServiceNow. There is a requirement to add below field as well to the data received.
1) "LastHeartBeatTime" in SCCM - To see when all machines were last online.
2) "VUMR.UniqueUserName" in SCCM - To show who the last logged on user is.

There is a complex query shown in Data source for "Computer Identity" and we need to know whats best way to get this data.

1 REPLY 1

Matthew_13
Mega Sage

Hi my Friend

Dont modify the OOTB Computer Identity query. It’s complex by design and tightly coupled to IRE/CMDB matching.

My Recommended approaches for you:

  • Extend the payload and mapping, not the identity query.

  • If SCCM exposes LastHeartBeatTime and VUMR.UniqueUserName through the same endpoint, add them as additional attributes and map them to custom CMDB fields.

  • Keep them out of identification rules.

If the fields come from different SCCM views 

  • Create a separate SCCM enrichment data source.

  • Match on a stable key (ResourceID / device GUID).

  • Update only:

    • Last heartbeat (Date/Time)

    • Last logged-on user (String or Reference)

Basically Avoid:

  • Editing the OOTB Computer Identity query directly (upgrade risk, fragile, harder to support).

This keeps the connector upgrade-safe while still enriching the CI with the data you need.

 

@Sumant Servesh - Please mark Accepted Solution and Thumbs Up if you found Helpful!!