Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Feb 3, 2026

Problem

Impact Analysis app times out when exporting results for Strict DLP policies with large affected resource counts (>2,000 apps/flows). Both Canvas app and model-driven app exports fail due to platform delegation limits (2K records), Dataverse export caps (50K rows), and API throttling.

Solution

Add comprehensive troubleshooting documentation with 5 workaround approaches and a ready-to-use PowerShell export tool.

Documentation Added

  • docs/troubleshooting/dlp-impact-analysis-export-timeout.md (14KB)

    • Root cause analysis and platform limitations table
    • 5 complete solutions with step-by-step instructions:
      1. Power Automate batch export (5K record chunks)
      2. PowerShell script with FetchXML pagination
      3. Filtered subset exports (environment/date/status)
      4. Power BI direct integration (no export needed)
      5. Analysis scope optimization (prevention)
    • Decision matrix by record count and technical skill level
    • Prevention strategies and best practices
  • docs/troubleshooting/dlp-impact-analysis-export-timeout-quickref.md (3KB)

    • One-page summary with decision matrix
    • Quick links to detailed solutions
  • docs/ISSUE-RESPONSE-dlp-impact-analysis-export-timeout.md (7KB)

    • Response templates for maintainers
    • Common scenario guidance

Tools Added

  • docs/scripts/Export-DLPImpactAnalysis.ps1 (9KB)

    • Automated export with pagination handling
    • Filters: DLP policy name, date range
    • Progress indicators and summary statistics
    • Handles datasets of any size
  • docs/scripts/README.md (4KB)

    • Script usage documentation
    • Prerequisites and installation
    • Security considerations

Documentation Updates

  • docs/troubleshooting/README.md - Added DLP export timeout entry
  • docs/issue-response-templates.md - Added template reference

Usage Example

For users with large datasets (>50K records):

Install-Module Microsoft.Xrm.Data.PowerShell
.\Export-DLPImpactAnalysis.ps1 -EnvironmentUrl "https://org.crm.dynamics.com" -DLPPolicyName "Strict Policy"

For users with moderate datasets (2K-50K), the documentation provides step-by-step Power Automate flow creation instructions.

Impact

Users can now successfully export DLP Impact Analysis data regardless of size. Addresses common support question without requiring code changes to the app.

Original prompt

This section details on the original issue you should resolve

<issue_title>[CoE Starter Kit - BUG] Impact Analysis app export times out for Strict DLP policy (admin_dlpimpactanalysis)</issue_title>
<issue_description>### Does this bug already exist in our backlog?

  • I have checked and confirm this is a new bug.

Describe the issue

We are using the Impact Analysis app in the Power Platform CoE Starter Kit to assess the impact of applying a “Strict” DLP Policy.

When running the impact analysis for this policy, the app returns a very large number of impacted records. As a result, we are unable to retrieve the full dataset due to export timeouts.

We are encountering timeouts in both of the following scenarios:

Exporting impacts directly from the Impact Analysis app

Attempting to export the impact data from a model-driven app using the underlying Dataverse table

Based on our investigation, the impacted records appear to be stored in the Dataverse table:

admin_dlpimpactanalysis

Due to the volume of rows returned, neither export approach completes successfully, preventing us from reviewing the full impact or creating follow-up actions.

Expected Behavior

The Impact Analysis app should be able to:

Successfully export the full set of impacted apps and flows for large DLP policies or

Provide a supported mechanism (e.g. batching, background processing, or Power Automate) to retrieve the full dataset without timeouts

What solution are you experiencing the issue with?

Core

What solution version are you using?

4.50.8

What app or flow are you having the issue with?

Impact Analysis (Canvas App) / DLP Impact Analysis (admin_dlpimpactanalysis table)

What method are you using to get inventory and telemetry?

Data Export

Steps To Reproduce

  1. In a Power Platform environment with the CoE Starter Kit Core solution (v4.50.8) installed.
  2. Navigate to the Impact Analysis app.
  3. Select a DLP policy with a large scope (e.g. a "Strict" DLP Policy).
  4. Run the impact analysis to generate impacted apps and flows.
  5. Attempt to export the results from the Impact Analysis app.
  6. Alternatively, attempt to export records directly from the admin_dlpimpactanalysis Dataverse table via a model-driven app.
  7. Observe that the export operation times out and does not return the full dataset.

Anything else?

No response</issue_description>

<agent_instructions>Analyze why Impact Analysis app export times out for Strict DLP policy (admin_dlpimpactanalysis) and troubleshoot the issue and provide the solution for this issue</agent_instructions>

Comments on the Issue (you are @copilot in this section)

Custom agent used: CoE Custom Agent
Specialized agent for triaging and fixing issues in the CoE Starter Kit. Always consult the official CoE docs and the team’s SharePoint notes first, then mine prior GitHub issues and the CoE Common Responses playbook.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 3 commits February 3, 2026 05:05
…documentation

Co-authored-by: AmarSaiRam <220305901+AmarSaiRam@users.noreply.github.com>
Co-authored-by: AmarSaiRam <220305901+AmarSaiRam@users.noreply.github.com>
Co-authored-by: AmarSaiRam <220305901+AmarSaiRam@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix export timeout in Impact Analysis app for Strict DLP policy Add documentation and tools for DLP Impact Analysis export timeouts Feb 3, 2026
Copilot AI requested a review from AmarSaiRam February 3, 2026 05:11
@harini-2-y harini-2-y marked this pull request as ready for review February 4, 2026 06:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CoE Starter Kit - BUG] Impact Analysis app export times out for Strict DLP policy (admin_dlpimpactanalysis)

2 participants