|
| 1 | +--- |
| 2 | +title: Perform data subject requests (DSRs) for Workflows agents |
| 3 | +description: Learn how to perform DSRs for Workflows agents, and admin features like export, delete, and reassign. |
| 4 | +author: sbasi19 |
| 5 | +ms.author: kisubedi |
| 6 | +ms.date: 04/07/2026 |
| 7 | +ms.topic: concept-article |
| 8 | +ms.service: microsoft-365-copilot |
| 9 | +ms.reviewer: v-aangie |
| 10 | +ms.update-cycle: 180-days |
| 11 | +--- |
| 12 | + |
| 13 | +# Perform data subject requests (DSRs) for Workflows agents |
| 14 | + |
| 15 | +Before performing a DSR, you must identify where the user's *Workflows* data resides. |
| 16 | + |
| 17 | +## Identify the scope |
| 18 | + |
| 19 | +1. Locate the Environment: Navigate to the [Power Platform admin center](https://admin.powerplatform.microsoft.com/), **Inventory**. |
| 20 | + |
| 21 | +1. Check two locations. Workflows artifacts are typically in one of two places: |
| 22 | + |
| 23 | + - The default environment of the tenant. |
| 24 | + - The user's Personal Development Environment (PDE). |
| 25 | + |
| 26 | +1. Go to **Inventory**, filter by the user's email, and make a note of the **Environment ID** where their Workflows agents are listed. |
| 27 | + |
| 28 | +Each Workflows agent's workflows are backed by specific Dataverse entities. Because these aren't surfaced in the standard Power Automate UI, you must use the following methods to locate them. |
| 29 | + |
| 30 | +## Method A: Web-based management (UI) |
| 31 | + |
| 32 | +For a manual, UI-based approach, navigate to the environment identified in [Identify the scope](#identify-the-scope) and use the **Tables** view in Power Apps or the maker portal. |
| 33 | + |
| 34 | +In the identified environment, refer to the following Dataverse entities on the environment to perform DSR export/delete. |
| 35 | + |
| 36 | +| Target data | Dataverse table | |
| 37 | +| :--- | :--- | |
| 38 | +| Process | Workflows (Category 5: Modern Flow *and* ModernFlowType: M365CopilotFlow) | |
| 39 | +| Process | AI Flows (Category 7: AI Flow) | |
| 40 | +| ConnectionReference | Connections | |
| 41 | +| AI Model | AI Prompts - AI Model | |
| 42 | +| AI Configurations | AI Prompt Prompt Data | |
| 43 | +| WorkflowMetadata | WorkflowMetadata | |
| 44 | +| FlowRun | Flow Run (If Flow Run Ingestion is enabled) | |
| 45 | +| AI FlowRun | Flow Run | |
| 46 | +| Approvals | Approvals (Subject to a 28-day automatic deletion retention policy) | |
| 47 | + |
| 48 | +## Method B: API-based management (bulk/automation) |
| 49 | + |
| 50 | +If you're handling multiple requests, use the environment-scoped APIs. |
| 51 | + |
| 52 | +| API | Notes | |
| 53 | +| :--- | :--- | |
| 54 | +| [Get Conversation Transcripts With Environment](/rest/api/power-platform/workflowsagent/dsr-compliance/get-conversation-transcripts-with-environment) | Get conversation transcripts for DSR export (environment-scoped). | |
| 55 | +| [Get Flow Run Actions With Environment](/rest/api/power-platform/workflowsagent/dsr-compliance/get-flow-run-actions-with-environment) | Get flow run actions for DSR export (environment-scoped). | |
| 56 | +| [Get Flow Runs (default/PDE)](/rest/api/power-platform/workflowsagent/dsr-compliance/get-flow-runs-non-singleton) | Get flow runs for DSR export (environment-scoped). | |
| 57 | +| [Get Run History Data (default/PDE)](/rest/api/power-platform/workflowsagent/dsr-compliance/get-run-history-data-non-singleton) | Get run history customer data for DSR export (environment-scoped). | |
| 58 | + |
| 59 | +### API permissions setup |
| 60 | + |
| 61 | +Learn more about permissions needed for API access in [Role-based access control (RBAC) permissions](/power-platform/admin/security/role-based-access-control). |
| 62 | + |
| 63 | +The following table provides specific permissions for Workflows agent DSR. |
| 64 | + |
| 65 | +| Role name | Role ID | Description | Assignable scope | |
| 66 | +| :--- | :--- | :--- | :--- | |
| 67 | +| Workflows agent Data Subject Rights Environment Reader | `38a014c1-0485-4e5e-b784-782ea373b34b` | Grants full access to perform read operations for Data Subject Rights requests for Workflows agent flows for a given environment. | `/tenants/{0}/environments/{1}` | |
| 68 | + |
| 69 | +Find a tutorial for customers in [Assign roles to service principals](/power-platform/admin/programmability-tutorial-rbac-role-assignment?tabs=PowerShell). |
| 70 | + |
| 71 | +### Export |
| 72 | + |
| 73 | +Admins can export all data pertaining to a user's usage on Workflows agents. Learn more in the following articles: |
| 74 | + |
| 75 | +- [List flows for a user](/connectors/flowmanagement/#list-flows-as-admin-(v2)) |
| 76 | +- [Get flow definition](/connectors/flowmanagement/#get-flow-as-admin) |
| 77 | + |
| 78 | +### Delete/Reassign |
| 79 | + |
| 80 | +Admins can delete/reassign Workflows agents created by a user. Learn more in [Reassign and copy the user's flows](/power-automate/privacy-dsr-delete#reassign-and-copy-the-users-flows). |
| 81 | + |
| 82 | +The following list contains resources about DSR requests: |
| 83 | + |
| 84 | +- [Responding to DSR delete requests for Microsoft Dataverse customer data](/power-platform/admin/dataverse-privacy-dsr-guide) |
| 85 | +- [Responding to DSR delete requests to delete Power Apps customer data](/power-platform/admin/powerapps-privacy-delete-dsr) |
0 commit comments