About the ServiceNow Integration
The ServiceNow integration pushes Apple device inventory from Iru Endpoint to ServiceNow in real time so your ServiceNow records stay current. If your ServiceNow tenant is licensed for Software Asset Management Professional (SAM Pro), you can also send application installation and usage data nightly.How It Works
The integration connects Iru Endpoint to your ServiceNow instance over OAuth 2.0 with a dedicated service account. Authentication: OAuth 2.0 with a service account in ServiceNow. Data sync: Iru Endpoint discovers managed Apple devices and syncs fields such as serial number, model, OS version, and assigned user to ServiceNow. With SAM Pro, you can also send application inventory and usage data nightly.Setup Overview
Follow these steps at a glance.1
Install ServiceNow App
Install the Kandji ServiceNow app in the ServiceNow integration hub.
2
Configure OAuth Client
Configure an OAuth client app so Iru Endpoint can call the ServiceNow Import Set API.
3
Create ServiceNow User
Create a ServiceNow user account that can access the ServiceNow API.
4
Set up the integration in Iru Endpoint
In Iru Endpoint, finish the ServiceNow integration using the OAuth app and service account you created.
High-Level Data Flow
When a device enrolls in Iru Endpoint or its record changes, the integration does the following:1
Detect Changes
Iru Endpoint detects changes to device inventory. If you turned on SAM Pro app sync in Iru Endpoint, app inventory and usage are prepared nightly.
2
Push to Staging Tables
Iru Endpoint pushes these changes to ServiceNow staging tables via the ServiceNow Import Set API.
3
Transform Data
For device data, ServiceNow runs a transform map to map staging columns to target tables. Application data uses an ETL definition with the Robust Transform Engine.
4
Update Records
ServiceNow then creates or updates device and MDM records, and can also update software install and usage records when SAM Pro data sync is enabled.
ServiceNow Tables
The following tables are used in the Iru Endpoint integration with ServiceNow.Iru Endpoint Device Attributes
Iru Endpoint sends the device asset fields below. Additional fields may be added over time.Table: cmdb_ci_computer
Table: x_kandj_kandji_mdm
Table: cmdb_sam_sw_install
Table: samp_sw_usage
Application Inventory
When application inventory is enabled, Iru Endpoint still sends removed apps to ServiceNow with
active set to false. ServiceNow keeps those install rows for history instead of deleting them when the app leaves the device.Considerations
Assigned users in ServiceNow
For the computer record in ServiceNow to show the user assigned in Iru Endpoint, that person must already exist in ServiceNow.
Device inventory sync
Device inventory syncs in real time. App inventory and usage data syncs nightly when that option is enabled.
Application inventory
SAM Pro must be licensed in ServiceNow, and you must enable the option in Iru Endpoint integration settings. Removed apps still sync with
active = false so ServiceNow keeps historical install rows instead of deleting them.Credential expiry and re-authentication
When ServiceNow OAuth credentials are approaching expiry, Iru Endpoint displays a banner in the tenant and sends email reminders to Team Members with Admin or Account Owner permissions starting 30 days before expiry. Re-authenticate from the ServiceNow integration details page in Iru Endpoint.
Tables in ServiceNow
The integration writes to built-in ServiceNow tables and custom Kandji tables so CMDB and MDM views stay complete.
Import Set API
Data moves through ServiceNow’s Import Set API and transform flows.
Related Articles
ServiceNow integration: ServiceNow configuration
Install the Kandji ServiceNow app, create an OAuth client and service account, and verify discovery source in ServiceNow.
ServiceNow integration: Iru Endpoint configuration
Connect Iru Endpoint to your tenant, enter OAuth and service account credentials, and optionally enable nightly app inventory and usage for SAM Pro.