Edit

pac workflows-agent

(Preview) Fulfill DSR export and delete requests for Power Automate and agent data.

Commands

Command Description
pac workflows-agent delete-approval (Preview) Deletes an approval and associated records for DSR compliance.
pac workflows-agent delete-connection (Preview) Deletes a connection for DSR compliance.
pac workflows-agent delete-flow (Preview) Deletes a flow in the M365 Copilot workflows environment for DSR compliance.
pac workflows-agent delete-prompt (Preview) Deletes an AI model prompt for DSR compliance.
pac workflows-agent get-approvals (Preview) Returns approval records for DSR compliance export.
pac workflows-agent get-connections (Preview) Returns user connections for DSR compliance export.
pac workflows-agent get-flow-runs-non-singleton (Preview) Returns flow run records for a flow in an environment.
pac workflows-agent get-flow-runs-singleton (Preview) Returns flow run records for a flow for DSR export.
pac workflows-agent get-flows (Preview) Returns flows owned by the calling user for DSR export.
pac workflows-agent get-prompts (Preview) Returns AI prompt records for DSR compliance export.
pac workflows-agent get-run-history-data (Preview) Returns run history customer data for a flow run.
pac workflows-agent get-run-history-data-non-singleton (Preview) Returns run history data for a flow run in an environment.

pac workflows-agent delete-approval

(Preview) Deletes an approval and associated records for DSR compliance.

Required Parameters for workflows-agent delete-approval

--approval-id

The approval ID.

delete-approval remarks

You can also invoke this command using the Power Platform REST API Dsr Compliance - Delete Approval.

pac workflows-agent delete-connection

(Preview) Deletes a connection for DSR compliance.

Required Parameters for workflows-agent delete-connection

--connection-identifier

The connection identifier in apiName/connectionName format.

delete-connection remarks

You can also invoke this command using the Power Platform REST API Dsr Compliance - Delete Connection.

pac workflows-agent delete-flow

(Preview) Deletes a flow in the M365 Copilot workflows environment for DSR compliance.

Required Parameters for workflows-agent delete-flow

--flow-id

The flow ID.

delete-flow remarks

You can also invoke this command using the Power Platform REST API Dsr Compliance - Delete Flow.

pac workflows-agent delete-prompt

(Preview) Deletes an AI model prompt for DSR compliance.

Required Parameters for workflows-agent delete-prompt

--prompt-id

The AI model prompt ID.

delete-prompt remarks

You can also invoke this command using the Power Platform REST API Dsr Compliance - Delete Prompt.

pac workflows-agent get-approvals

(Preview) Returns approval records for DSR compliance export.

Optional Parameters for workflows-agent get-approvals

--continuation-token

Continuation token for paging.

get-approvals remarks

You can also invoke this command using the Power Platform REST API Dsr Compliance - Get Approvals.

pac workflows-agent get-connections

(Preview) Returns user connections for DSR compliance export.

Optional Parameters for workflows-agent get-connections

--continuation-token

Continuation token for paging.

get-connections remarks

You can also invoke this command using the Power Platform REST API Dsr Compliance - Get Connections.

pac workflows-agent get-flow-runs-non-singleton

(Preview) Returns flow run records for a flow in an environment.

Required Parameters for workflows-agent get-flow-runs-non-singleton

--flow-id

The flow ID.

Optional Parameters for workflows-agent get-flow-runs-non-singleton

--continuation-token

Continuation token for paging.

--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.

get-flow-runs-non-singleton remarks

You can also invoke this command using the Power Platform REST API Dsr Compliance - Get Flow Runs Non Singleton.

pac workflows-agent get-flow-runs-singleton

(Preview) Returns flow run records for a flow for DSR export.

Required Parameters for workflows-agent get-flow-runs-singleton

--flow-id

The flow ID.

Optional Parameters for workflows-agent get-flow-runs-singleton

--continuation-token

Continuation token for paging.

get-flow-runs-singleton remarks

You can also invoke this command using the Power Platform REST API Dsr Compliance - Get Flow Runs Singleton.

pac workflows-agent get-flows

(Preview) Returns flows owned by the calling user for DSR export.

Optional Parameters for workflows-agent get-flows

--continuation-token

Continuation token for paging.

get-flows remarks

You can also invoke this command using the Power Platform REST API Dsr Compliance - Get Flows.

pac workflows-agent get-prompts

(Preview) Returns AI prompt records for DSR compliance export.

Optional Parameters for workflows-agent get-prompts

--continuation-token

Continuation token for paging.

get-prompts remarks

You can also invoke this command using the Power Platform REST API Dsr Compliance - Get Prompts.

pac workflows-agent get-run-history-data

(Preview) Returns run history customer data for a flow run.

Required Parameters for workflows-agent get-run-history-data

--flow-id

The flow ID.

--run-id

The run ID.

Optional Parameters for workflows-agent get-run-history-data

--continuation-token

Base64-encoded continuation token for paging.

get-run-history-data remarks

You can also invoke this command using the Power Platform REST API Dsr Compliance - Get Run History Data.

pac workflows-agent get-run-history-data-non-singleton

(Preview) Returns run history data for a flow run in an environment.

Required Parameters for workflows-agent get-run-history-data-non-singleton

--flow-id

The flow ID.

--run-id

The run ID.

Optional Parameters for workflows-agent get-run-history-data-non-singleton

--continuation-token

Base64-encoded continuation token for paging.

--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.

get-run-history-data-non-singleton remarks

You can also invoke this command using the Power Platform REST API Dsr Compliance - Get Run History Data Non Singleton.

See also

Microsoft Power Platform CLI Command Groups
Microsoft Power Platform CLI overview