Microsoft Intune to JSM Assets
Import devices, applications, users and other attributes from Intune to JSM Assets.
Connect OnLink to Entra (Azure AD) using instructions here https://onwardb.atlassian.net/wiki/spaces/ONLINK/pages/24870947/Entra+ID+formerly+Azure+AD. This connection helps OnLink connect to Intune as well.
Here’s a demo video showing integration between Microsoft Intune and JSM Assets:
Please review instructions here to get started with setting up an Assets import configuration. You can then access OnLink app from the “Manage your apps” menu to further configure and set the field level mapping. Here’s an example configuration:
Set a descriptive name for this map
Set source system to Microsoft Intune
Asset Schema is pre-filled. This is the schema in JSM Assets on which you started the configuration.
Select the Object Type within your schema.
Select schedule frequency
Attribute mapping - see below for more details.
Sample Intune Object Schema
Here’s the associated mapping
key:id=id
map:userId=userId
map:emailAddress=Jira User
map:deviceName=deviceName
map:model=deviceModel
map:operatingSystem=operatingSystem
map:complianceState=complianceState
map:managementAgent=managementAgent
Below is a detailed breakdown of each of the mapping items:
Key or Map | Description |
---|---|
| The keyword “key” refers to using id (from Intune) as a unique identifier. This allows OnLink to update the record. |
| Maps userId from Intune userId text attribute; additional details about user can be imported from Entra ID. |
| The emailAddress field containing email address of user associated with the device is mapped to Jira User. Jira User is an attribute of type “User” - OnLink automatically looks-up the Atlassian User object based on the email address. |
| This maps userId from Intune to user object. WorkerID is the unique ID on the user object. |
| Maps model property from Intune. Any field (string, boolean, date) from Intune API can be used as the source field. Here’s the list of fields: managedDevice resource type - Microsoft Graph v1.0 Here are some common fields: userId |
| Create an object for Apps with AppID, AppName and Devices fields. Devices can be a reference to your existing Devices object. Create an OnLink importer with this mapping. This imports all apps with devices that have those apps installed.
|
| Optional parameter to add filter to list devices; any valid filter expression can be used here |
| Optional parameter to limit the number of users to pull from Intune. This can be used for initial testing. |
OnLink processes data in two steps - Get Data and Import Data. To manually test, you can click on Get Data first and then wait until you see “No more pending records. Data will be imported on next Import run.” message in Job Logs. Then, click on Import. Production runs are fully automated based on the schedule you choose.
Ensure the application you register in Azure AD has the below permissions.