Microsoft Intune to JSM Assets
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:userId=userIdRef|WorkerID=${userId}
map:deviceName=deviceName
map:deviceModel=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 |
| The EmailAddress field containing email address of worker is mapped to JiraUser, which is an attribute of type “User”. Here OnLink 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 deviceModel property from Intune. Any field (string, boolean, date) from Intune API can be used as the source field. Here’s the list of fields: https://learn.microsoft.com/en-us/graph/api/resources/intune-devices-manageddevice?view=graph-rest-1.0#properties Here are some common fields: userId |
| 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.