Intune Integration with Servicenow

Bharath Kumar A
Mega Sage

Intune Integration with ServiceNow

 

Part 1: Microsoft Azure application registration configuration

 

Microsoft Intune is a cloud-based endpoint management solution. It manages user access and simplifies app and device management across your devices, including mobile devices, desktop computers, and virtual endpoints.

 

Intune Integration with ServiceNow provides sync between Intune device data and ServiceNow CMDB CI data.

 

Step 1: Sign in to Azure portal (portal.azure.com)

 

Step 2: Click on Azure Active Directory and select App Registration

 

BharathKumarA_17-1683535890017.png

Note: If you are unable to find this application on home page, use the global search by typing “App registrations”.

 

Step 3: Create a new registration to communicate with Intune devices and users.

 

BharathKumarA_18-1683535890022.png

 

 

 

Step 4. Provide a suitable name for application and select multi-tenant azure account support then click on Register.

 

BharathKumarA_19-1683535890031.png

 

Step 5: Generate client certificate secret key by clicking on Certifications and Secrets in the left panel.

 

BharathKumarA_20-1683535890038.png

 

Step 6: Click on New client secret to generate new key.

 

BharathKumarA_21-1683535890043.png

 

Step 7: Give a proper name for key and select expiration date.

 

Step 8: Store the secret key value as it will not be available later.

 

BharathKumarA_22-1683535890048.png

 

Step 9: Click on Overview on the left panel, collect the Application (Client) ID and Directory (Tenant) ID.

 

BharathKumarA_23-1683535890055.png

 

Step 10: Click on API Permissions on left panel and click on configure menu and remove existing default permissions on application.

 

Step 11: Add below permissions to application to read devices and users from Intune App.

  • DeviceManagementManagedDevices.Read.All
  • Directory.ReadWrite.All
  • Reports.Read.All
  • User.Read.All

For adding the permissions, please follow the steps below,

I.  Click on Add a permission and select Microsoft Graph.

BharathKumarA_24-1683535890059.png

II. Select Application permissions and search for the permissions from search bar and check the select box.

BharathKumarA_25-1683535890061.png

 Note: Repeat this step to add all above permissions

III. Similarly do the same for all the permissions under Delegated permissions.

IV. Verify all the following permission added and Click on Grant admin consent for MSFT

BharathKumarA_26-1683535890065.png

That's the end of part 1.  Don't forget to collect Client ID, Tenant ID and Secret value.

In the Part 2 i will discuss how to write a scripted data source to collect data to from Intune to ServiceNow Import set table using OAuth security. Then create a new IntegrationHub ETL record to map value to required CMDB Tables.

20 REPLIES 20

Gr_goire H_
Tera Contributor

Very interesting. did you post part 2 already ? Where can I find it ? 

MAR2
Tera Contributor

Hello, Thank you so much ! 

Part 2 Please 

 

Suresh Kumar Ta
Tera Contributor

follow this link for the complete setup of Intune integration

https://www.youtube.com/watch?v=nhPvnIcdk9o

Guided Setup for Service Graph connector for Microsoft Intune with steps to create Azure Application with permissions to pull Devices, Computers and Software into de CMDB. Azure Application Registry - portal.azure.com - Azure Active Directory Permissions - DeviceManagementApps.Read.All - ...

sandeshkumb
Kilo Contributor

Thank you so much for creating this Article! Can anything be done to automate the removal of device entries from ServiceNow once the devices become reset/remove/delete in Intune?

Bhagaban Mohapa
Tera Contributor

Nice article ..