Defender for Endpoint - RBAC group filter not working on export APIs

Berlin Russel 0 Reputation points
2026-09-02T17:54:57.63+00:00

Hi team,

We're ingesting vulnerability/asset data from Defender for Endpoint for a single tenant segmented into multiple RBAC device groups (one group per business unit).

We're attempting to filter by RBAC group ID/name, but the assessment export APIs (SoftwareVulnerabilitiesByMachine, SoftwareVulnerabilityChangesByMachine) don't honor RbacGroupId/RbacGroupName as a filter parameter - it's silently ignored. As a result, we're pulling the full tenant snapshot (all assets and vulnerabilities across all business units) for every single ingest, which is multiplying our call volume and pushing us into rate limits.

We found this Microsoft Q&A thread confirming the same behavior: https://learn.microsoft.com/en-us/answers/questions/5834828/rbacname-filter-not-working-for-export-software-vu. Microsoft's response there points to scoping the calling credentials themselves (via Unified RBAC role assignment on the app/service principal) so the API returns only that device group's data, rather than filtering client side.

We'd like to go this route, but with one specific question: our clients require certificate-based authentication for app-only access (they're pushing back on client secrets due to rotation overhead). Does Unified RBAC device-group scoping actually apply to app-only tokens authenticated via certificate, or does group enforcement only apply to delegated/user-context tokens? If it does apply to app-only/cert auth, could you point us to the exact configuration steps to scope a certificate-authenticated app registration to a specific device group?

We're currently doing full-tenant pulls with client-side filtering, which works but is heavy at our scale, and the file-based export doesn't return enough data for our use case - so this credential-scoping path is our preferred fix if it's supported.

Happy to share request/response samples if useful, or hop on a call if that's easier to work through.

Thanks,

Berlin

Microsoft Security | Microsoft Defender | Microsoft Defender for Cloud

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.