Edit

pac authorization

(Preview) Manage Power Platform RBAC role definitions and scoped role assignments.

Commands

Command Description
pac authorization create-environment-group-role-assignment (Preview) Creates a new role assignment for the specified environment group. Preview.
pac authorization create-environment-role-assignment (Preview) Creates a new role assignment for the specified environment. Preview.
pac authorization create-role-assignment (Preview) Creates a new role assignment. Preview.
pac authorization delete-environment-group-role-assignment (Preview) Deletes a role assignment by ID for the specified environment group. Preview.
pac authorization delete-environment-role-assignment (Preview) Deletes a role assignment by ID for the specified environment. Preview.
pac authorization delete-role-assignment (Preview) Deletes a role assignment by ID. Preview.
pac authorization list-environment-group-role-assignments (Preview) Retrieves a list of role assignments for the specified environment group. Preview.
pac authorization list-environment-role-assignments (Preview) Retrieves a list of role assignments for the specified environment. Preview.
pac authorization list-role-assignments (Preview) Retrieves a list of role assignments. Preview.
pac authorization list-role-definitions (Preview) Retrieves a list of role definitions. Preview.

pac authorization create-environment-group-role-assignment

(Preview) Creates a new role assignment for the specified environment group. Preview.

Required Parameters for authorization create-environment-group-role-assignment

--environment-group-id

The unique identifier of the environment group.

Optional Parameters for authorization create-environment-group-role-assignment

--principal-object-id

The Id of the principal to assign

--principal-type

The type of the principal

--role-definition-id

The Id of the role definition

--scope

The assignment scope

pac authorization create-environment-role-assignment

(Preview) Creates a new role assignment for the specified environment. Preview.

Optional Parameters for authorization create-environment-role-assignment

--environment -env

Specifies the target Dataverse. The value may be a Guid or absolute https URL. When not specified, the active organization selected for the current auth profile will be used.

--principal-object-id

The Id of the principal to assign

--principal-type

The type of the principal

--role-definition-id

The Id of the role definition

--scope

The assignment scope

pac authorization create-role-assignment

(Preview) Creates a new role assignment. Preview.

Optional Parameters for authorization create-role-assignment

--principal-object-id

The Id of the principal to assign

--principal-type

The type of the principal

--role-definition-id

The Id of the role definition

--scope

The assignment scope

pac authorization delete-environment-group-role-assignment

(Preview) Deletes a role assignment by ID for the specified environment group. Preview.

Required Parameters for authorization delete-environment-group-role-assignment

--environment-group-id

The unique identifier of the environment group.

--role-assignment-id

The unique identifier of the role assignment.

pac authorization delete-environment-role-assignment

(Preview) Deletes a role assignment by ID for the specified environment. Preview.

Required Parameters for authorization delete-environment-role-assignment

--role-assignment-id

The unique identifier of the role assignment.

Optional Parameters for authorization delete-environment-role-assignment

--environment -env

Specifies the target Dataverse. The value may be a Guid or absolute https URL. When not specified, the active organization selected for the current auth profile will be used.

pac authorization delete-role-assignment

(Preview) Deletes a role assignment by ID. Preview.

Required Parameters for authorization delete-role-assignment

--role-assignment-id

The unique identifier of the role assignment.

pac authorization list-environment-group-role-assignments

(Preview) Retrieves a list of role assignments for the specified environment group. Preview.

Required Parameters for authorization list-environment-group-role-assignments

--environment-group-id

The unique identifier of the environment group.

Optional Parameters for authorization list-environment-group-role-assignments

--columns

Comma-separated list of response properties to include in table output. Use --json for the complete response.

pac authorization list-environment-role-assignments

(Preview) Retrieves a list of role assignments for the specified environment. Preview.

Optional Parameters for authorization list-environment-role-assignments

--columns

Comma-separated list of response properties to include in table output. Use --json for the complete response.

--environment -env

Specifies the target Dataverse. The value may be a Guid or absolute https URL. When not specified, the active organization selected for the current auth profile will be used.

pac authorization list-role-assignments

(Preview) Retrieves a list of role assignments. Preview.

Optional Parameters for authorization list-role-assignments

--columns

Comma-separated list of response properties to include in table output. Use --json for the complete response.

pac authorization list-role-definitions

(Preview) Retrieves a list of role definitions. Preview.

Optional Parameters for authorization list-role-definitions

--columns

Comma-separated list of response properties to include in table output. Use --json for the complete response.

See also

Microsoft Power Platform CLI Command Groups
Microsoft Power Platform CLI overview