CIPP.app icon

CIPP.app

Manage Microsoft 365 tenants via CIPP.app

Actions619

Policy → List Assignment Filter Templates

AI-generated

Summary

List assignment filter templates for a specified tenant, optionally filtering by a specific template ID, and control the number of returned results.

Inputs

  • Tenant (required) — The tenant to perform the operation on, selectable from a list or specified by domain.
  • Return All — Whether to return all results or only up to a given limit.
  • Limit — Maximum number of results to return when 'Return All' is false.
  • Template ID — Filter the list to a specific assignment filter template by its ID.

Output shape

a list of assignment filter template objects, each representing an assignment filter template available to the specified tenant.

Results will be paginated or limited based on the 'Return All' and 'Limit' parameters; if 'Return All' is true, all available templates are returned, otherwise up to the specified limit. Filtering by 'Template ID' restricts results to that template only.

Examples

Example 1: Get up to 50 assignment filter templates for tenant 'contoso.onmicrosoft.com'.

Set 'Tenant' to 'contoso.onmicrosoft.com', 'Return All' to false, and 'Limit' to 50.

Example 2: Retrieve all assignment filter templates belonging to a tenant.

Set the 'Tenant' to the desired tenant and 'Return All' to true.

Links

Discussion