- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
In this example, we will be adding a field from Intune device pull called 'chassisType' and map it to 'Chassis type'(chassis_type) in the 'cmdb_ci_handheld_computing' class in CMDB.
Changes to the data stream action:
1. Open up Flow Designer
2. Find out which data stream action is being called in the SG-Intune Devices data source. In this case, it will be 'mobiledevices'
3. Open up the 'mobiledevices' action
4. Click on 'Script Parser step' section
5. Add the following line to the bottom of the script:
outputs.targetObject.chassisType = record.chassisType;
6. Click on 'Outputs' section
7. Click on 'Edit Outputs' for editing
8. Click on the arrow on the left to expand the targetObject
9. Click on the '+' sign on the top right of the targetObject to create another item under there
9. Add the following record to the object:
Label: chassisType
Name: chassisType
Type: String
10. Save the action
11. Run a 'Test' to test the changes
12. Click on 'Your test has finished running. View the action execution details' to see the output
13. Click on 'mobiledevices Data Stream' to see the details
14. Click on the 'Outputitems' under the Output data
15. You must see the 'chassisType' in the payload with a value
16. If there are no issues and the data got pulled in, click 'Publish' to publish the action
Changes to mapping using IH-ETL:
1. Open up IH-ETL application and select 'SG-Intune Devices'
2. Click on the down arrow and do a 'Auto pull a new import set' and click 'Save'
3. Wait for a few seconds so it populates the drop down with a new import set
5. Click 'Mark as Complete'
6. Click on 'Preview and Prepare Data'
7. If you are not seeing the new column, try to repeat steps 2-6 couple of times for it to take effect
8. Click 'Mark as Complete'
9. Select 'Select CMDB Classes to Map Source Data'
10. Click on 'Edit Mapping' under 'Handheld Computing Device 1' entity which is the
'cmdb_ci_handheld_computing' class that we want to target
11. Click on 'Add Attribute' at the top to add a CMDB class field to the map
12. Choose 'Chassis Type' from the drop down list and hit 'Save'
13. This newly added class column will show up at the bottom, ready to be mapped
14. Pick the 'u_chassistype' from the data on the right and drop it in the 'Source Column' for Chassis type
to map it
15. Click the browser back button and click 'Mark as Complete'
16. Click on 'Add Relationsips' and mark that as complete as we are not adding any new relationships
17. Click on 'Test and Rollback Integration Results'
18. Click on 'Run Integtration'
19. You must see the new column called 'Chassis type' in the output under the
'Handheld Computing Device' tab
20. If you cannot see it in this output, you can go to the table listing and verify if the column got
populated by doing 'cmdb_ci_handheld_computing.list'
You are done mapping a custom field from Intune to CMDB.
Note:
There is an attachment which captures some screen shots to illustrate this process
- 12,015 Views
- « Previous
-
- 1
- 2
- 3
- Next »
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.