Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
(Preview) Manage rule-based data policies and cross-tenant connection reports.
Commands
| Command | Description |
|---|---|
| pac governance create-cross-tenant-connection-report | (Preview) Generate or fetch a cross-tenant connection report. |
| pac governance create-enviornment-group-rule-based-assignment | (Preview) Creates a rule-based policy assignment for an environment group. |
| pac governance create-environment-rule-based-assignment | (Preview) Creates a rule-based policy assignment for an environment. |
| pac governance create-rule-based-policy | (Preview) Creates a rule-based policy with rule sets and metadata. |
| pac governance create-rule-set | (Preview) Creates the Rule Set for the environment group. |
| pac governance delete-rule-set | (Preview) Deletes the Rule Set. Only tenant admins can delete. |
| pac governance get-cross-tenant-connection-report | (Preview) Get a cross-tenant connection report by report ID for a tenant. |
| pac governance get-rule-based-policy-by-id | (Preview) Gets policy details by ID including rule sets and metadata. |
| pac governance get-rule-set | (Preview) Returns the Rule Set for the given environment group. |
| pac governance get-rule-set-list-for-tenant | (Preview) Returns all the Rule Sets under the given tenant with OData pagination support. |
| pac governance list-cross-tenant-connection-reports | (Preview) List cross-tenant connection reports for a tenant. |
| pac governance list-rule-assignments | (Preview) Lists rule assignments for a tenant with rule set details. |
| pac governance list-rule-assignments-by-environment-group-id | (Preview) Lists rule assignments for an environment group. |
| pac governance list-rule-assignments-by-environment-id | (Preview) Lists rule assignments for a specific environment. |
| pac governance list-rule-assignments-by-policy-id | (Preview) Lists rule assignments for a policy with rule set details. |
| pac governance list-rule-based-policies | (Preview) List rule based policies available in the tenant. |
| pac governance patch-rule-based-policy | (Preview) Allows adding or updating one or more rule sets to an existing policy. |
| pac governance remove-rule-from-rule-based-policy | (Preview) Removes a rule set from an existing policy. |
| pac governance update-rule-based-policy-by-id | (Preview) Updates a policy by ID including rule sets and metadata. |
| pac governance update-rule-set | (Preview) Updates the Rule Set. |
pac governance create-cross-tenant-connection-report
(Preview) Generate or fetch a cross-tenant connection report.
pac governance create-enviornment-group-rule-based-assignment
(Preview) Creates a rule-based policy assignment for an environment group.
Required Parameters for governance create-enviornment-group-rule-based-assignment
--group-id
The unique identifier of the environment group.
--policy-id
The unique identifier of the policy.
Optional Parameters for governance create-enviornment-group-rule-based-assignment
--assignment-overrides
List of policy assignment overrides. Provide the value as a JSON array.
pac governance create-environment-rule-based-assignment
(Preview) Creates a rule-based policy assignment for an environment.
Required Parameters for governance create-environment-rule-based-assignment
--policy-id
The unique identifier of the policy.
Optional Parameters for governance create-environment-rule-based-assignment
--assignment-overrides
List of policy assignment overrides. Provide the value as a JSON array.
--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 governance create-rule-based-policy
(Preview) Creates a rule-based policy with rule sets and metadata.
Optional Parameters for governance create-rule-based-policy
--name
The name of the policy.
--rule-sets
Provide the value as a JSON array.
pac governance create-rule-set
(Preview) Creates the Rule Set for the environment group.
Required Parameters for governance create-rule-set
--group-id
The unique identifier of the environment group.
Optional Parameters for governance create-rule-set
--environment-filter-type
The type of environment filter.
Use one of these values:
NotSpecifiedIncludeExclude
--environment-filter-values
The environment information. Provide the value as a JSON array.
--id
The ID of the Rule Set.
--last-modified
The last modified timestamp.
--parameters
The Rule Set parameters. Provide the value as a JSON array.
pac governance delete-rule-set
(Preview) Deletes the Rule Set. Only tenant admins can delete.
Required Parameters for governance delete-rule-set
--rule-set-id
The unique identifier of the Rule Set.
pac governance get-cross-tenant-connection-report
(Preview) Get a cross-tenant connection report by report ID for a tenant.
Required Parameters for governance get-cross-tenant-connection-report
--report-id
The report ID.
Optional Parameters for governance get-cross-tenant-connection-report
--columns
Comma-separated list of response properties to include in table output. Use --json for the complete response.
pac governance get-rule-based-policy-by-id
(Preview) Gets policy details by ID including rule sets and metadata.
Required Parameters for governance get-rule-based-policy-by-id
--policy-id
The unique identifier of the policy.
Optional Parameters for governance get-rule-based-policy-by-id
--columns
Comma-separated list of response properties to include in table output. Use --json for the complete response.
pac governance get-rule-set
(Preview) Returns the Rule Set for the given environment group.
Required Parameters for governance get-rule-set
--group-id
The unique identifier of the environment group.
Optional Parameters for governance get-rule-set
--columns
Comma-separated list of response properties to include in table output. Use --json for the complete response.
pac governance get-rule-set-list-for-tenant
(Preview) Returns all the Rule Sets under the given tenant with OData pagination support.
Optional Parameters for governance get-rule-set-list-for-tenant
--columns
Comma-separated list of response properties to include in table output. Use --json for the complete response.
--expand
OData expand query option.
--filter
OData filter query option.
--select
OData select query option.
--skiptoken
OData skip token for pagination.
--top
OData top query option to limit results.
pac governance list-cross-tenant-connection-reports
(Preview) List cross-tenant connection reports for a tenant.
Optional Parameters for governance list-cross-tenant-connection-reports
--columns
Comma-separated list of response properties to include in table output. Use --json for the complete response.
pac governance list-rule-assignments
(Preview) Lists rule assignments for a tenant with rule set details.
Required Parameters for governance list-rule-assignments
--include-rule-set-counts
Flag to include rule set counts in the response.
Optional Parameters for governance list-rule-assignments
--columns
Comma-separated list of response properties to include in table output. Use --json for the complete response.
pac governance list-rule-assignments-by-environment-group-id
(Preview) Lists rule assignments for an environment group.
Required Parameters for governance list-rule-assignments-by-environment-group-id
--environment-group-id
The unique identifier of the environment group.
--include-rule-set-counts
Flag to include rule set counts in the response.
Optional Parameters for governance list-rule-assignments-by-environment-group-id
--columns
Comma-separated list of response properties to include in table output. Use --json for the complete response.
pac governance list-rule-assignments-by-environment-id
(Preview) Lists rule assignments for a specific environment.
Required Parameters for governance list-rule-assignments-by-environment-id
--include-rule-set-counts
Flag to include rule set counts in the response.
Optional Parameters for governance list-rule-assignments-by-environment-id
--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 governance list-rule-assignments-by-policy-id
(Preview) Lists rule assignments for a policy with rule set details.
Required Parameters for governance list-rule-assignments-by-policy-id
--include-rule-set-counts
Flag to include rule set counts in the response.
--policy-id
The unique identifier of the policy.
Optional Parameters for governance list-rule-assignments-by-policy-id
--columns
Comma-separated list of response properties to include in table output. Use --json for the complete response.
pac governance list-rule-based-policies
(Preview) List rule based policies available in the tenant.
Optional Parameters for governance list-rule-based-policies
--columns
Comma-separated list of response properties to include in table output. Use --json for the complete response.
pac governance patch-rule-based-policy
(Preview) Allows adding or updating one or more rule sets to an existing policy.
Required Parameters for governance patch-rule-based-policy
--policy-id
The unique identifier of the policy.
Optional Parameters for governance patch-rule-based-policy
--name
The name of the policy.
--rule-sets
Provide the value as a JSON array.
pac governance remove-rule-from-rule-based-policy
(Preview) Removes a rule set from an existing policy.
Required Parameters for governance remove-rule-from-rule-based-policy
--policy-id
The unique identifier of the policy.
Optional Parameters for governance remove-rule-from-rule-based-policy
--name
The name of the policy.
--rule-sets
Provide the value as a JSON array.
pac governance update-rule-based-policy-by-id
(Preview) Updates a policy by ID including rule sets and metadata.
Required Parameters for governance update-rule-based-policy-by-id
--policy-id
The unique identifier of the policy.
Optional Parameters for governance update-rule-based-policy-by-id
--name
The name of the policy.
--rule-sets
Provide the value as a JSON array.
pac governance update-rule-set
(Preview) Updates the Rule Set.
Required Parameters for governance update-rule-set
--rule-set-id
The unique identifier of the Rule Set.
Optional Parameters for governance update-rule-set
--environment-filter-type
The type of environment filter.
Use one of these values:
NotSpecifiedIncludeExclude
--environment-filter-values
The environment information. Provide the value as a JSON array.
--id
The ID of the Rule Set.
--last-modified
The last modified timestamp.
--parameters
The Rule Set parameters. Provide the value as a JSON array.
See also
Microsoft Power Platform CLI Command Groups
Microsoft Power Platform CLI overview