Microsoft Intune plugin
Click the following link for additional content such as blogs, videos, use cases, and more:
Monitor Intune managed devices, apps, compliance policies, configuration profiles and Windows updates.
Adding a data source
To add a data source, open the relevant workspace and then click on the + next to Data Sources on the left-hand menu in SquaredUp. Search for the data source and click on it to open the Add data source page.
Before you start
- Will SquaredUp need to connect to this data source via a relay agent?
- Create an app registration
- Configure the data source in SquaredUp
Will SquaredUp need to connect to this data source via a relay agent?
This plugin is a hybrid plugin, meaning it can connect to either a cloud or an on-prem data source.
- If your data source is available on the internet, then you do not need to connect via a relay agent.
- If your data source is on a private network and is not publicly accessible, then you will need to configure a relay agent before you configure the plugin. See Deploying a relay agent.
This feature is available with an Enterprise plan
Relay agents allow you to securely connect to data sources inside your own network (on-prem).
A relay agent is installed on a server on your internal network, and has access to your data source.
When a plugin uses a relay agent it means that you don't need to open your firewall to allow SquaredUp access to the data source.
If you have already created a relay agent in SquaredUp that can access this data source, then you can skip this step and choose Connect via relay agent when Configuring the data source.
Create an app registration
The plugin signs in to Microsoft Graph as an app registration in Microsoft Entra ID, using a client secret. Your tenant needs an Intune license. The person who grants admin consent needs a role that can consent to Microsoft Graph application permissions, such as Privileged Role Administrator or Global Administrator.
- Sign in to the Microsoft Entra admin center and go to Entra ID > App registrations.
- Click New registration, enter a name such as
SquaredUp Intune, leave Supported account types as Accounts in this organizational directory only, and click Register. No redirect URI is needed. - On the app's Overview page, copy the Directory (tenant) ID and the Application (client) ID.
- Go to API permissions > Add a permission > Microsoft Graph > Application permissions, and add the permissions in the table below. Use application permissions, not delegated permissions.
- Click Grant admin consent for your tenant and confirm. Each permission's Status should show a green Granted tick.
- Go to Certificates & secrets > Client secrets > New client secret, enter a description and an expiry, and click Add. Copy the secret's Value straight away because it is only shown once. Do not copy the Secret ID.
Client secrets expire, after 24 months at most. When the secret expires, every check and tile fails with an authentication error. Before the expiry date shown under Certificates & secrets, create a new secret and paste it into the Client secret field of this data source.
Configuring the data source
Display name:
Enter a name for your data source. This helps you to identify this data source in the list of your data sources.Connect via relay agent:
If you are connecting to an on-prem data source, select this toggle so you can use a relay agent to connect securely.Then, select the Agent Group that contains the agent(s) you want to use. Agent groups are managed from Settings > Data > Relay.
- Directory (tenant) ID: Enter the ID of the Microsoft Entra tenant that holds your Intune data. Find it on the app registration's Overview page.
- Application (client) ID: Enter the ID of the app registration the plugin signs in as. Find it on the app registration's Overview page.
- Client secret: Enter the secret Value you copied when you created the client secret.
- Index users: Enable to import Microsoft Entra ID users and relate each one to the managed devices they own. This needs the
User.Read.Allpermission. Restrict access to this data source:
Optionally, enable this toggle if you only want certain users/groups to have access to the data source, or those with the permission to link it to new workspaces. See data source access control for more information.Click Test and add to validate the data source configuration. SquaredUp will now attempt to connect using the provided authentication method.
- Testing passed – a success message will be displayed and then the configuration will be saved.
- Testing passed with warnings – warnings will be listed and potential fixes suggested. You can still use the data source with warnings. Select Save with warnings if you believe that you can still use the data source as required with the warnings listed. Alternatively, address the issues listed and then select Rerun tests to validate the data source configuration again. If the validation now passes, click Save.
- Testing failed – errors will be listed and potential fixes suggested. You cannot use the data source with errors. You are able to select Save with errors if you believe that a system outside of SquaredUp is causing the error that you need to fix. Alternatively, address the issues listed and then select Rerun tests to validate the data source configuration again. If the validation now passes, click Save.
You can edit data source configurations at any time from Settings > Data Sources.
Testing and troubleshooting
If you encounter an error, refer to the guidance or contact our support team in-app or via SquaredUp Support
For errors on dashboard tiles see Troubleshooting tiles.
When you click Test and add, SquaredUp runs five separate checks. Choose from:
- Managed devices: Needs
DeviceManagementManagedDevices.Read.All. - Policies: Needs
DeviceManagementConfiguration.Read.All. - Users: Needs
User.Read.All, and passes automatically when Index users is off. - Autopilot and enrollment: Needs
DeviceManagementServiceConfig.Read.All. - Apps: Needs
DeviceManagementApps.Read.All.
A warning on one check means that permission is missing or has no admin consent. The rest of the data source still works, and only the objects, dashboards and data streams that use that permission are affected. A warning on every check usually means the tenant ID, client ID or client secret is wrong, or the secret has expired.
Next steps
Once the data source is connected, explore the imported objects and use the data streams to build tiles on your dashboards.
Dashboards
The following pre-built dashboards are installed with this plugin:
- Overview: The state of the whole tenant.
- Enrollment and Apple Connectors: Autopilot, enrollment configurations, and the expiry of Apple certificates and tokens.
- Apps: Which apps are failing or pending installation.
- Patching: Update rings, update profiles and update status.
Each Managed Device, Compliance Policy and Configuration Profile also gets a perspective, and each App gets an App Status perspective.
Imported objects
When Index users is on, each user links to the managed devices they own.
Data streams
You can use these data streams to create new tiles to show data, or if there are preconfigured dashboards installed you can copy or edit those.
Data streams are named queries targeted at a data source, typically mapped to a specific API endpoint. They define how SquaredUp retrieves live data. By standardizing information from diverse formats into a simple table, data streams provide a consistent starting point regardless of the original source system.
Each plugin includes its own set of data streams. When editing a tile or exploring data, the data stream you choose acts as the entry point to the objects and records within that data source.
Scoped data streams allow you to specify which objects you want to pull data for. Global data streams return general information that is not tied to objects.
Some data streams are configurable, meaning you can configure additional settings on the Parameters tab of the tile editor to create a bespoke query.
When you're creating a tile, you can tweak data streams by grouping or aggregating specific columns.
See Data Streams for more information.
The following data streams are installed with this plugin.
Monitor several tenants
Each data source connects to one Microsoft Entra tenant. To monitor customer tenants, register one multi-tenant app, set Supported account types to accounts in any organizational directory, and grant admin consent in each customer tenant. Then add one data source per tenant with that tenant's Directory (tenant) ID and the same client ID and secret.
Move from the Microsoft 365 plugin
This plugin replaces the Intune option of the Microsoft 365 plugin. It uses its own object types and data streams, so tiles and dashboards built on the Microsoft 365 Intune data do not move across automatically.
- Add this data source, following the steps above.
- Rebuild any custom tiles with this plugin's data streams, using the table below.
- Turn off Enable Intune on the Microsoft 365 data source so the same devices and policies are not imported twice.
Objects are indexed again under new types, so scopes and dashboard variables need pointing at the new Managed Device, Compliance Policy, Configuration Profile and User objects. If the Microsoft 365 data source still indexes users, turning on Index users here imports a second copy of each user.
Other differences to expect. Choose from:
- Complete lists: Device lists and policy device statuses page through every result. The Microsoft 365 plugin stopped at 500 rows.
- Managed Devices columns: A fixed set of columns, filterable by compliance state and operating system, replaces the list of device properties you could pick. Phone number, IMEI and MEID are no longer returned.
- New coverage: Apps, enrolled device counts, Autopilot, Apple connectors and patching have no equivalent in the Microsoft 365 plugin.
Known limitations
- Configuration profiles: Template-based profiles are imported. Settings catalog and endpoint security policies are not.
- Windows updates: Update rings, update profiles and tenant-wide update status are available. Per-device update status is not.
- Overview dashboard: The policy tiles show the first 50 compliance policies and configuration profiles by name.