Forum Discussion
aditya9074
Jul 14, 2025Copper Contributor
Automate eDiscovery export download in Fabric container
Hi, I am new to fabric and currently my automated solution downloads data from eDiscovery cases export using PowerShell script to a local server. I want to upgrade it to Fabric GCP using JAVA. I ...
AS1522
Microsoft
Jul 18, 2025Hi aditya9074 Let me know if this helps.
Setup Overview
- Authentication: Register an app in Microsoft Entra ID with app-only access. Assign MicrosoftPurviewEDiscovery API permissions.
- Export Access: Use the Microsoft Graph API to list eDiscovery cases and retrieve export URLs.
- Download Logic: In Java, you can use HttpClient or OkHttp to download the export package from the URL.
- GCP Upload: Use the Google Cloud Storage SDK for Java to push the downloaded data into your Fabric container.
🔗 Helpful Resources(mentioned above)
- Microsoft Learn: Export and Download from eDiscovery (Standard)
- Getting Started with eDiscovery APIs
1. Getting started with the eDiscovery APIs | Microsoft Community Hub
Getting started with the eDiscovery APIs | Microsoft Community Hub
This guide walks you through:
- App Registration: Register your app in Entra ID with app-only access using client secrets or certificates.
- API Permissions: Assign MicrosoftPurviewEDiscovery permissions for programmatic export downloads.
- Authentication: Use PowerShell or Java SDKs to authenticate via Microsoft Graph.
- Export Access: Once authenticated, you can list cases, initiate exports, and download packages using the MicrosoftPurviewEDiscovery API.
2. Export and Download from eDiscovery (Standard)
Export and download content from an eDiscovery (Standard) case | Microsoft Learn
This article explains:
- Export Workflow: Search results are transferred to Azure Storage and must be downloaded within 14 days.
- Deduplication Option: You can enable deduplication to avoid redundant email exports.
- Download Process: Use the Exports tab in the Purview portal or automate via API.