Notiz
Zougrëff op dës Säit erfuerdert Autorisatioun. Dir kënnt probéieren, Iech unzemellen oder Verzeechnesser ze änneren.
Zougrëff op dës Säit erfuerdert Autorisatioun. Dir kënnt probéieren, Verzeechnesser ze änneren.
(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.
create-cross-tenant-connection-report remarks
You can also invoke this command using the Power Platform REST API Cross Tenant Connection Reports - Create 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.
create-enviornment-group-rule-based-assignment remarks
You can also invoke this command using the Power Platform REST API Rule Based Policies - Create Enviornment Group Rule Based Assignment.
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.
create-environment-rule-based-assignment remarks
You can also invoke this command using the Power Platform REST API Rule Based Policies - Create Environment Rule Based Assignment.
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.
create-rule-based-policy remarks
You can also invoke this command using the Power Platform REST API Rule Based Policies - Create Rule Based Policy.
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.
create-rule-set remarks
You can also invoke this command using the Power Platform REST API Rule Sets - Create Rule Set.
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.
delete-rule-set remarks
You can also invoke this command using the Power Platform REST API Rule Sets - Delete 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.
get-cross-tenant-connection-report remarks
You can also invoke this command using the Power Platform REST API Cross Tenant Connection Reports - Get Cross Tenant Connection Report.
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.
get-rule-based-policy-by-id remarks
You can also invoke this command using the Power Platform REST API Rule Based Policies - Get Rule Based Policy By ID.
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.
get-rule-set remarks
You can also invoke this command using the Power Platform REST API Rule Sets - Get Rule Set.
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.
get-rule-set-list-for-tenant remarks
You can also invoke this command using the Power Platform REST API Rule Sets - Get Rule Set List For Tenant.
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.
list-cross-tenant-connection-reports remarks
You can also invoke this command using the Power Platform REST API Cross Tenant Connection Reports - List Cross Tenant Connection Reports.
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.
list-rule-assignments remarks
You can also invoke this command using the Power Platform REST API Rule Based Policies - List Rule Assignments.
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.
list-rule-assignments-by-environment-group-id remarks
You can also invoke this command using the Power Platform REST API Rule Based Policies - List Rule Assignments By Environment Group Id.
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.
list-rule-assignments-by-environment-id remarks
You can also invoke this command using the Power Platform REST API Rule Based Policies - List Rule Assignments By Environment Id.
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.
list-rule-assignments-by-policy-id remarks
You can also invoke this command using the Power Platform REST API Rule Based Policies - List Rule Assignments By Policy Id.
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.
list-rule-based-policies remarks
You can also invoke this command using the Power Platform REST API Rule Based Policies - List Rule Based Policies.
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.
patch-rule-based-policy remarks
You can also invoke this command using the Power Platform REST API Rule Based Policies - Patch Rule Based Policy.
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.
remove-rule-from-rule-based-policy remarks
You can also invoke this command using the Power Platform REST API Rule Based Policies - Remove Rule From Rule Based Policy.
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.
update-rule-based-policy-by-id remarks
You can also invoke this command using the Power Platform REST API Rule Based Policies - Update Rule Based Policy By ID.
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.
update-rule-set remarks
You can also invoke this command using the Power Platform REST API Rule Sets - Update Rule Set.
See also
Microsoft Power Platform CLI Command Groups
Microsoft Power Platform CLI overview