Search Intune policies
search_policiesSearch Intune policies and apps by query, category, and platform, returning IDs for assignment lookup. Handles non-unique display names and filters by admin permissions.
Instructions
Searches supported Intune policy and application categories through internally generated Microsoft Graph /beta requests. Every record returns an id and categoryId; pass those values as policyId and category to get_policy_assignments. Display names are not unique: never silently choose one record when multiple results match. Search isAssigned values are Graph-reported hints; get_policy_assignments reconciles them against the assignment collection. Results can be RBAC-filtered for the signed-in administrator.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | No | ||
| cursor | No | ||
| category | No | ||
| platform | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| records | Yes | ||
| coverage | Yes | ||
| tenantId | Yes | ||
| graphUsage | Yes | ||
| nextCursor | Yes | ||
| resultCount | Yes | ||
| schemaVersion | Yes |