powerplatform_security_roles (Data Source)

Fetches the list of Dataverse security roles for a given environment and business unit. For more information see About security roles and privileges

Schema

Required

  • environment_id (String) Id of the Dynamics 365 environment

Optional

  • business_unit_id (String) Id of the business unit to filter the security roles
  • id (String) Id of the read operation
  • timeouts (Attributes) (see below for nested schema)

Read-Only

Nested Schema for timeouts

Optional:

  • read (String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.

Nested Schema for security_roles

Read-Only:

  • business_unit_id (String) Id of the business unit
  • is_managed (Boolean) Is the security role managed
  • name (String) Security role name
  • role_id (String) Security role id