Intune Integration issues
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2022 11:20 AM
We set up an the Intune service graph connector in our DEV instance. We entered the credentials. When we select test 20 records we get the following message:
Name: Import Processor
State: Cancelled
Completion Code: Success
Message: org.mozilla.javascript.JavaScriptException: Error: Unable to make a connection to Intune via Graph API call. Please check your credential configuration. Check system log for more details. HTTP return status code was 401 (sys_data_source.59d993927721101077b22344681061c2.data_loader; line 39)
Based on the message I went to KB0996780. Based on the article, I had this configured on the Azure side:
Change the following Permissions to "Application" type.
DeviceManagementApps.ReadWrite.All
DeviceManagementManagedDevices.PrivilegedOperations.All
DeviceManagementManagedDevices.ReadWrite.All
DeviceManagementManagedDevices.Read.All
After this was done and I re tested the 20 records, I am still getting the 401 error. Any idea what can be still preventing this from working?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2022 11:24 AM
I am not familiar with the Intune Connector. What type of credential is it using? If it is OAuth, did you do the Test step in the setup of the credential that establishes the token? I would need to see how that connector is setup, I have done a lot of this for other connectors, just need to know a bit more about the setup of Intune.
Aoife
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2022 11:42 AM
Its OAuth. Is the test step on the Intune side or the ServinceNow side. I do not see an option to test the credential.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2022 12:04 PM
It is on the Credential setup, not on the OAuth setup itself. There is a related link, Get OAuth Token. It runs a script to connect and logon the first time and get the token.
Aoife