Intune Integration
Introduction
The Intune integration pulls device data from Microsoft Intune into IT Glue. Tenants and device information will sync automatically, keeping your device information accurate and up to date.
Benefits of this integration include:
- Match data between Microsoft tenants and existing IT Glue organizations.
- Match data between Intune devices and existing IT Glue configurations.
- Ability to compare data between IT Glue and Microsoft Intune.
The field mappings are created automatically when you follow this knowledgebase article. For more information, refer to our Microsoft Field Mapping topic.
If you already have an existing Microsoft Integration, you may skip down to the section “Add Permissions” to simply update your existing API connection to include the permissions required for the Intune integration.
Co-Pilot Smart Relate
Co-Pilot Smart Relate, the AI engine of IT Glue, automatically links related documentation, saving you the hassle. Through the Microsoft 365 integration, Co-Pilot automatically relates the Intune device (stored as an IT Glue Configuration) with the assigned M365 User (IT Glue Contact).
Prerequisites
- Manager or Administrator access to IT Glue
- Microsoft Cloud Partner certified to offer delegated administration (optional)
- Delegated admin permissions to each of your clients' tenants through your own Microsoft admin portal, rather than direct logins to their admin portals (optional)
Configure Application
- Log in to your Microsoft Account.
- In the left-hand sidebar, click Admin centers > Azure Active Directory.
- In the new Dashboard window that opens, click Azure Active Directory > App registrations.
- Click + New registration.
- Complete the following actions in the Register an application screen.
- Name - Enter an application name that will be displayed to users of the app.
Supported account types - Select the Accounts in any organizational directory and personal Microsoft accounts option to map to Azure AD only multi-tenant.
Redirect URI (optional) - If desired, select Web in the drop-down menu and enter a URL for the app.
- Click the Register button at the bottom of the screen to access the newly created application.
Get Application ID and Tenant ID
- In the left-hand column, click Azure Active Directory > App registrations and then All applications. Click on your newly configured application in the list.
- Click the Copy to clipboard icon beside the Application ID and Directory ID (Tenant ID) and paste them into IT Glue. Refer to the Integrating Microsoft Intune with IT Glue section in this KB article.
Generate secret key
- In the left-hand column, click Certificate & secrets and then + New client secret. An Add a client secret screen will appear.
- Add a description for your client secret, select 24 months under Expires and then Add.
- In the Value column, click the Copy to clipboard icon beside the secret key and paste it in to IT Glue. Refer to the Integrating Microsoft with IT Glue section in this KB article.
Add Permissions
You will need to set up Microsoft API permissions to complete the process.
- Click API permissions in the left-hand menu.
IMPORTANT You will see that Microsoft Graph has already assigned a default User.Read. permission. Click this permission and then Remove permission. Click Yes, remove to delete this permission.
- Once the default permission is removed, click the + Add a permission button.
- In the Request API permissions screen, click the Microsoft Graph button.
- Click Application permissions and complete the following actions for each of the subsections:
- Directory - Check the box beside Directory.ReadWrite.All.
- Reports - Check the box beside Reports.Read.All
- User - Check the box beside User.Read.All
- Devices - Check the box beside DeviceManagementManagedDevices.Read.All
- Save the changes by clicking Add permissions at the bottom of the screen.
- In the API permissions main screen, click the Grant admin consent for Company button.
NOTE If you have a parent tenant, please update the application permission in the parent tenant to include all the Device/DeviceManagement permissions. Be sure to also grant admin consent.
- In the confirmation pop-up, click Yes.
Once consent is granted, you will see a confirmation banner at the top of the screen and that all permissions in the Status column reflect the same.
IMPORTANT To recap, please ensure that you select the Directory.ReadWrite.All permission for Microsoft Graph (step 4).
Integrating Microsoft Intune with IT Glue
- In IT Glue, navigate to Admin > Integration and click the + New button. Then, click on the Microsoft button.
- Enter the information you copied from the "Get Application ID and Tenant ID" and "Generate secret key" sections of this KB article and click Connect.
- After you enter your Microsoft login information in IT Glue, you'll be taken to the Sync your data with Microsoft screen. In the Intune tab, select the Sync Intune Devices option.
NOTE The functionality to create configurations automatically will be available only after a full sync is done.
- Click the Save and continue button. The sync will be automatically queued in the Active Integrations main screen.
- By default, newly queued syncs are scheduled to take place at a later time. Use the manual sync option to prioritize the sync to start sooner. Click Actions and then Start Manual Sync.
- From the Active Integrations screen, you can see the overall sync status. When the sync is complete, the Status column changes from Syncing... to OK.
View synced Devices
IT Glue discovers tenants and devices and tries to match them to your data in your account based on the following logic:
Rule |
Matches On |
Organization |
Tenant name |
Configuration |
Intune Device Name, MAC, Serial. |
If no organization can be matched automatically, suggestions will be made based on name similarity. If no suggestions can be made, you will have the option to create a new organization.
Standard rules are used to associate RMM data to data that is already in your account. The sync will discover and attempt to associate data coming from your RMM to data in IT Glue (PSA, imported, or manually entered data) based on the following rules recorded mentioned in RMM Field Mappings.
- From Admin > Integrations, click on Actions and then Matching.
- Start with the Unmatched filter to review unmatched organizations.
- If you're happy with the suggested match, click Accept Suggestion to accept it. You can also search and select a different organization using the Match To column. You can also choose to ignore organizations, which means they won't count as unmatched items in subsequent syncs.
IMPORTANT Warning. If you don't see an organization, click Actions > Create Organization to create (import) it. Make sure you don't have an existing organization with a different name that you should match with first.
- Review all your unmatched organizations until they are all unmatched.
- If you change your mind about any of the matches, click Actions, select Change Match, and then manually search for and choose a different organization.
- Once all organizations have been matched, the same process should be followed for any unmatched configurations. From the Matched tab, select an organization that has unmatched configurations, click the Actions button, and select Match Devices.
- For any unmatched configurations, you can either accept the suggested match, search for an IT Glue configuration by entering the name in the Match To column, or create a new configuration by clicking Actions > Create Configuration.
- Once everything is matched, you will need to start a new manual sync. Navigate to Admin > Integration > Actions > Start Manual Sync. This second manual sync will sync all contacts and organizations into IT Glue now that you've matched your organizations.
- When the sync is complete, click on any matched tenant to take you to the relevant organization. Then, click Configurations from the sidebar.
- Click on any Configuration that has corresponding Intune data and you will be able to see the additional data overlay.
-
Once everything is matched, the RMM setup is complete. At any time, you can come back to these instructions to discover and match new organizations and configurations from your RMM.