Intune Import Devices

Handian Sudianto 7,656 Reputation points
2026-11-17T06:23:14.62+00:00

I have integrated FortiNAC with Microsoft Intune using an App Registration with the required API permissions to read Intune-managed devices.

However, the integration imports all device types, including Windows, Android, macOS, and iOS/iPadOS devices.

My requirement is to import only Windows devices into FortiNAC.

Is it possible to configure a filter through the API permissions so that only Windows devices are retrieved from Intune?

User's image

Microsoft Security | Microsoft Graph
0 comments No comments

1 answer

Sort by: Newest
  1. AI answer

    2026-11-17T06:24:21.4133333+00:00

    API permissions cannot restrict Intune access to Windows devices; use FortiNAC’s Microsoft Intune Device Filtering feature, when available in your FortiNAC release, and apply the Graph filter operatingSystem eq 'Windows'.

    Microsoft Graph permissions define which resources and operations an application may access—not row-level criteria such as a device operating system. DeviceManagementManagedDevices.Read.All therefore permits reading managed devices generally; it has no Windows-only variant.^1^ ^2^

    Configure the FortiNAC connector

    Fortinet documents Microsoft Intune Device Filtering as a connector feature that applies a Microsoft Graph filter during the MDM poll. The retrieved Intune device records include operating-system information.^3^ ^4^

    1. Check the exact FortiNAC/FortiNAC-F version installed.
    2. If the integration exposes Microsoft Intune Device Filtering, edit the Microsoft Intune connector and enter:
    operatingSystem eq 'Windows'
    
    1. Save the connector configuration and run the next MDM poll/import.
    2. Confirm that the imported records contain only devices whose operatingSystem value is Windows.

    Microsoft documents operatingSystem as the managed-device OS field and explicitly supports the eq filter operator for it.^5^

    The equivalent Graph request is:

    GET https://graph.microsoft.com/v1.0/deviceManagement/managedDevices?$filter=operatingSystem eq 'Windows'
    Authorization: Bearer {token}
    Accept: application/json
    

    In an actual HTTP client, the query string may be URL-encoded automatically. Microsoft recommends retaining the $ prefix and notes that query-parameter support varies by endpoint and API version.^6^

    If FortiNAC does not expose Device Filtering

    The Fortinet material identifies the dedicated filtering capability as introduced in FortiNAC 7.6.8. If the installed release is older or its Intune connector has no filtering field:

    • Upgrade to a release supporting Microsoft Intune Device Filtering, following the relevant Fortinet upgrade path.
    • Alternatively, ask Fortinet Support whether that FortiNAC release supports supplying a custom $filter to the Intune managed-device request.
    • Do not change or reduce the app registration permissions expecting that to filter by OS; removing the managed-device read permission would prevent retrieval rather than restrict it to Windows.

    Intune assignment filters are unrelated: they control policy or application assignment targeting and do not filter the records returned to FortiNAC.


    References

    1. Overview of Microsoft Graph permissions
    2. List managedDevices
    3. Microsoft Intune Device Filtering | FortiNAC-F 7.6.0 | Fortinet ...
    4. Microsoft InTune | FortiNAC-F 7.6.0 | Fortinet Document Library
    5. Create managedDevice
    6. Customize Microsoft Graph responses with query parameters
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.