- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2024 11:50 PM
I got a requirement, I have to import laptop data from intune to servicenow.
How I can do it?
Please let me know the procedure.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2024 12:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2024 05:40 AM
There is an app for this in the ServiceNow Store:
And here is the corresponding product documentation:
https://docs.servicenow.com/csh?topicname=cmdb-integration-intune.html&version=latest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2024 05:44 AM
To import laptop data from Microsoft Intune to ServiceNow, you can follow these steps:
1. Set Up API Access in Intune:
- Register an Application in Azure AD:
- Go to the Azure portal and navigate to Azure Active Directory > App registrations.
- Register a new application and note down the Application (client) ID and Directory (tenant) ID.
- Under Certificates & Secrets, create a new client secret and note it down.
- Assign API Permissions:
- In the API permissions section, add the necessary permissions for Microsoft Graph API, specifically for reading device and Intune data (e.g.,
Device.Read.All,DeviceManagementManagedDevices.Read.All). - Grant admin consent for these permissions.
- In the API permissions section, add the necessary permissions for Microsoft Graph API, specifically for reading device and Intune data (e.g.,
2. Create a Data Source in ServiceNow:
- Navigate to System Import Sets > Data Sources.
- Create a new Data Source for the Intune API.
- Set the Type to REST.
- Configure the REST parameters:
- Endpoint URL: Use the Microsoft Graph API endpoint to retrieve laptop/device data, e.g.,
https://graph.microsoft.com/v1.0/deviceManagement/managedDevices. - Authentication: Use OAuth 2.0 with the client credentials you obtained from Azure AD.
- Endpoint URL: Use the Microsoft Graph API endpoint to retrieve laptop/device data, e.g.,
3. Create a Transform Map:
- After setting up the data source, you need to create a Transform Map to map the data from Intune to the appropriate ServiceNow tables (e.g.,
cmdb_ci_computerfor laptop data). - Navigate to System Import Sets > Transform Maps.
- Define the field mappings between the Intune data fields and ServiceNow fields.
Mark Helpful !!
Thanks
Ravi Gaurav
MVP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2024 10:22 PM
Hi @Ravi Gaurav
Thank you for responding!
Could you please elaborate, I need to use JDBC type with SQL to upload data.
Regards,
Sameeksha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2024 12:16 AM