Having issue associating SCCM info to a user

jesse-csu
Giga Contributor

We are using SCCM (integration 3.0) to feed into Service Now. SN is pulling in the data from SCCM correctly but we are having an issue associating the ci's to a user. SCCM is pulling in the users attached to a ci as domain\userid, but our users are already imported from LDAP and pull in as userid (not domain\userid). We are having a hard time trying to match the domain\userid to our users so that SN thinks they are one user instead of two. We have an "assigned to" field that we would like to populate with the ci they are associated with according to SCCM.   I think we just need a tweak to the transform map but I cannot figure out how to tie the two together. Long story short, we just want ci's pulled from SCCM attached to a userid loaded from ldap. Any help is greatly appreciated.

6 REPLIES 6

jesse-csu
Giga Contributor

I wanted to post an update....



We ended up removing the mapping for "u_v_gs_compute_stem_username0" to the "assigned to" field. After this was done, the users are being associated to the ci's correctly and without the domain.



Thanks again for the responses.


sapna_sagar
Kilo Expert

Can somebody please post on wiki about GlideUser API??



      target.assigned_to = GlideUser.getSysId("user_name", userName);