Reftab can integrate with Microsoft Intune to populate your Reftab account with managed devices like Laptops and Desktops. Devices can be automatically checked out to users in Reftab. By doing so, you’ll have a convenient, single pane of glass to see all devices together in one application.
In this guide, we’ll cover:
- Setting up the integration
- Syncing asset data fields from Intune to Reftab
- Syncing device owners to automatically assign assets to users
- Types of devices to import
- Move assets to different locations after sync (optional)
- Using serial numbers as asset ID’s in Reftab / Updating asset ID’s
Setting up the Integration
You’ll need a Reftab account on the Business plan or an account on trial of Business Plan to set this up.
- Log into MS Intune and click “App Registrations” > “New Registration“
2. Click “Add” > “App Registration“
3. Next, name the app “Reftab” and click “Register“
4. Next, on the left side under Manage , click “API Permissions“
5. Next, select “Microsoft Graph“
6. Next, select the option “Application Permissions”.
8. Click the button “Grant admin consent confirmation”. And click “yes”.
9. Next, click “Add a permission” and search for “Device.read.all” and click the check box to add.
10. Finally, you’ll need another API Application Permission of “Directory.Read.All“. Enable this permission the same as steps above.
11. Next, on the left side under manage click, “Certificates & secrets“
12. Click “New client secret”. Then, on the right, name it “Reftab key” and set expires to “24 months”. Then click “Add” at the bottom.
13. A value will appear. We will need it later, copy it to a text document for now. This is the only time it will be visible.
14. Click “Overview” on the left side. And click “Endpoints”. Then, copy the token on the second line, “OAuth 2.0 token endpoint (v2)” paste this value into a text document.
15. Next, log into Reftab as an administrator. Click “Settings” > “Integrations“. Click “Configure” next to ‘Microsoft Intune’.
In the window that appears, paste in the OAuth 2.0 token endpoint (v2).
Paste in the Application (client) ID. (This value can be found in your Intune Dashboard under App Registration. Click “Reftab” then click Overview and look for Application (client) ID.)
Paste in the Client Secret value. (note: you’re pasting in the value, not the client secret ID)
Next, choose a Reftab location the Intune devices should be saved to. Then, choose a category for the devices.
NOTE: The category you choose must have a text field called, “Azure AD Device ID” saved into it for the integration to work.
If you don’t have this field, click cancel and click “Asset Categories” and create a new field titled “Azure AD Device ID” with a type of “text” and save it to your category for Intune devices. Then, come back to this page.
Once all options are selected, click “Save” and then click, “Test“
If the test is successful, you’ll see a response of the data that MS Intune is sending to Reftab.
Syncing Fields from Intune to Reftab
Click “Show fields” next to “Default Category”. You will see at least one green field for Azure AD Device ID. Any other field in green are fields that will be mapped into Reftab. Fields shown in red will not. If you want one of the fields displaying in red to be mapped into Reftab, you’ll need to create a field for each of them in Reftab.
For example, if “Lenovo Laptops” is used as the category for Intune devices, you can save a text field named, “Operating System” on this category:
Back on the Intune configuration page in Reftab settings, I see Operating System now highlighted in green. This means it will be mapped.
Syncing Device Owners to Auto Assign Assets from Intune
You can automatically assign assets to users after enabling the “Auto Assign Assets” option. Reftab will look for a user via the “emailAddress” attribute sent from Intune. If that email address is found for a user in Reftab, the asset with be checked out to them indefinitely.
NOTE: Setting up a SCIM integration is ideal for this scenario to automatically add users from Azure. See this guide here: https://www.reftab.com/faq/scim-azure-active-directory/
If an asset is already checked out in Reftab, it will not be checked out again even if a value for the emailAddress attribute is sent from Intune.
Types of Devices to Import
Reftab allows you to choose which types of devices to sync. This is helpful if you have some staff who have personally owned devices registered in Intune and you don’t need to track them in Reftab.
- Company Devices – owned by company
- Personal Devices – personal devices
- Company and Personal Devices – both personal and company owned
NOTE: By default the asset names that display in Reftab are mapped from the Intune field of: “Management Name”. The values for management name can be edited in MS Endpoint Manager by clicking “Devices” and “Windows Devices”.
However, you can choose to map the asset title to other fields from Intune.
Options for Setting Asset IDs / Changing Asset ID’s after Sync
By default, assets will be created in Reftab with Azure’s AD Device ID value as the Asset ID.
However, Reftab provides a setting called, “Use ‘Serial Number’ for Asset ID“. Turn that on and newly created assets will be saved into Reftab with the Serial Number instead.
After assets are synced into Reftab, you may manually change an asset’s ID. Find the asset and click “Edit” > “Override and Change Barcode” (note, only Reftab administrators can do this.)
Move assets to different locations after sync
By default, Reftab’s Intune integration saves assets into one location. However, you can configure workflows to moving assets based on all sorts of criteria to other locations. See our workflow page here: https://www.reftab.com/faq/can-reftab-automatically-move-assets-to-different-locations/
Moving assets into a new category after sync
You may also move the asset into a new category. However, keep in mind the fields that are populated are based upon the fields present in the assigned category. To change an asset’s category, see our FAQ page here: https://www.reftab.com/faq/how-to-change-an-assets-category/
Assign Assets Alternative Mode
If assets aren’t being checked out to the correct users in Reftab, you can try enabling this setting. This will parse the data from Intune in an alternative manner to find users.
Notes on changing primary user in Intune
As of writing this article, if you change the primary user in Intune, the asset will not check out to the new user in Reftab.
The recommended way is to simply scan the asset’s barcode or pull up the asset on screen and check-in the device. Then when the device is enrolled to a new user in Intune, it will automatically check out the device to that new user in Reftab. (We are developing a setting to enable / disable this behavior for a future update)
For help email “help@reftab.com”.