An API that connects multiple Microsoft services, enabling data access and automation across platforms
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^
- Check the exact FortiNAC/FortiNAC-F version installed.
- If the integration exposes Microsoft Intune Device Filtering, edit the Microsoft Intune connector and enter:
operatingSystem eq 'Windows'
- Save the connector configuration and run the next MDM poll/import.
- Confirm that the imported records contain only devices whose
operatingSystemvalue isWindows.
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
$filterto 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