Advise Required: Multi SCCM Integration

Sumit Maheshwar
Tera Contributor

While doing SCCM Integration, Resource ID of SCCM plays an important Role as an Unique Key (Correlation ID) to populate data in CMDB, In case we are using multiple SCCM and both are having similar Resource ID, Is it possible to modify criteria to make Correlation ID as combination of Resource ID and Site Code, so data populated by multiple SCCM has a unique Key? @Rahul Priyadars.

 

If Yes, Could you please help on how to configure the same using Service Graph connector?

8 REPLIES 8

AJ-TechTrek
Giga Sage
Giga Sage

Hi @Sumit Maheshwar ,

 

Yes you can modify the Unique value correlation ID to Resource ID and Site code, but you can you need to check Mapping using the Integration HUB- ETL for that.

 

installed the Integration Hub- ETL from Store and use that to check the mapping and modified the mapping, This will help you alot.

 

Please appreciate the efforts of community contributors by marking appropriate response as Mark my Answer Helpful or Accept Solution this may help other community users to follow correct solution in future.

 

Thank You

AJ - TechTrek with AJ

Linkedin:- https://www.linkedin.com/in/ajay-kumar-66a91385/

YouTube:- https://www.youtube.com/@learnitomwithaj

ServiceNow Community Rising Star 2024

Ashish37
Mega Guru

Hi @Sumit Maheshwar ,

 

You are correct, Resource ID is the first thing that SG SCCM Integration uses in pre-IRE step to find a match before it actually calls IRE API. Service Graph connector for SCCM creates entries for all the records in sys_object_source with Resource ID | Connection ID and target sys_id and uses this record to find a match, if it does not finds match then it calls IRE and then create record in sys_object_source  to use it for future updates.

Now even if you have multiple instances of SCCM Databases configured in your environment it fine because Resource ID | Connection ID is always going to be unique as Connection ID is unique for each SCCM instance. So in case you have Service Graph connector for SCCM then you don't have to worry about having same Resource Id in multiple SCCM instance. 

-----------------------------------------------------------------

Now if you are still using SCCM 2012 old plugin and you have 2 Data sources and transform maps connecting 2 SCCM Databases then you have to modify your Computer Identity Data sources SQL to concatenate Site ID to be able to keep it unique.

We had old plugin with 2 instances and below is the select column which worked for us for many years (now we are using SGC) 

Ashish37_0-1718096786200.png

In addition to this change you have to also add below Join condition as this new table is not part of OOTB query:

Ashish37_1-1718097399571.png

You have to do this in both Comp identity datasources.

 

Hope this helps. Do mark this Helpful or Accept Solution if it helps you resolve your issue.

 

Thanks,

Ashish

 

 

In case we don't have 2012 SCCM, is it possible to make unique key using Site Code and Correlation ID as a PRE IRE Step to make record unique?

Are you using Service Graph connector for SCCM with 2 instances of SCCM ?