Setup Guide
Microsoft Purview supports two connection methods:- Data Map (service principal): Your users connect their Purview data catalog with an Entra service principal. Workflow actions, ActionKit tools and Data Map API requests use this connection.
- Microsoft Graph (OAuth): Your users sign in with their Microsoft account to access Purview compliance APIs in Microsoft Graph, such as eDiscovery cases, retention labels and sensitivity labels. Managed Sync eDiscovery pipelines use this connection.
Connect with the Data Map
When your users connect with the Data Map method, they enter the following credentials:- Entra tenant ID: The Directory (tenant) ID or domain that issues the Data Map token, for example
contoso.onmicrosoft.com. - Catalog endpoint:
https://api.purview-service.microsoft.comfor the organization-wide catalog, orhttps://{account}.purview.azure.comfor a classic Purview account. Paragon rejects any other host. - Client ID: The Application (client) ID of an Entra service principal that has the Data Curator or Data Catalog Curator role on the catalog. Use a dedicated app, not a client registered for Microsoft Graph or Dynamics.
- Client secret: A client secret for the same Entra application.
https://purview.azure.net resource with the client credentials grant. See Microsoft’s guide to authenticating to the Data Map REST APIs for how to create the service principal and assign its catalog role.
Connect with Microsoft Graph
The Microsoft Graph method uses an app registered in the Microsoft Azure Portal. See Microsoft’s guide to registering an application for how to create one. You’ll need the following information to set up your Microsoft Purview app with Paragon Connect:- Client ID
- Client Secret
- Scopes Requested
Prerequisites
- A Microsoft Azure account
Add the Redirect URL to your Microsoft Purview app
Paragon provides a redirect URL to send information to your app. To add the redirect URL to your Microsoft Purview app:- Copy the link under “Redirect URL” in your integration settings in Paragon. The Redirect URL is:
- Log in to the Microsoft Azure Portal using your Microsoft account.
- Navigate to All Services > App Registrations and select your application.
- Select Authentication from the sidebar.
- Under Platform configurations, press the “Add a platform” button.
- Select the Web platform.
- Paste the Redirect URL from Step 1 under Redirect URIs.
- Press the Save button at the top of the page.
Generate a Client Secret
To create a Client Secret for your application:- Navigate to Manage > Certificates & secrets in the sidebar.
- Under Client Secrets, press the + New client secret button.
- Name your client credentials and select an expiry that works best for your application. Press Add to create your credentials.
- Copy the displayed Client Secret under the Value column.
You will need to periodically create a new Client Secret and update it in Paragon as it expires for all Microsoft integrations.
Add your Microsoft Purview app to Paragon
- Select Microsoft Purview from the Integrations Catalog.
- Under Integrations > Connected Integrations > Microsoft Purview > App Configuration > Configure, fill out your credentials in their respective sections:
- Client ID: Found under Essentials > Application (client) ID on your Microsoft Azure Portal app page.
- Client Secret: Found under Manage > Certificates & secrets on your Microsoft Azure Portal app page.
- Prompt for Tenant ID: Enable this to ask your users for their Entra domain or tenant ID (for example,
contoso.com) before they connect. Use this when your users’ accounts can belong to multiple tenants. When disabled or left blank, Paragon signs users in through thecommonendpoint. - Permissions: Select the scopes your integration needs. Paragon requests
User.Read,offline_accessandeDiscovery.Read.Allby default. AddeDiscovery.ReadWrite.Allto manage eDiscovery cases,RecordsManagement.Read.AllorRecordsManagement.ReadWrite.Allfor retention labels, andSensitivityLabel.Readfor sensitivity labels.
Connecting to Microsoft Purview
Once your users have connected their Microsoft Purview account, you can use the Paragon SDK to access the Microsoft Purview APIs on behalf of connected users. With the Data Map connection, request paths are relative to the catalog endpoint your user entered. See the Data Map data plane REST API reference for the full API reference. With the Microsoft Graph connection, request paths are relative tohttps://graph.microsoft.com/v1.0. See the Microsoft Graph eDiscovery API overview for compliance endpoints.
JavaScript
Building Microsoft Purview workflows
Once your Microsoft Purview account is connected with the Data Map method, you can add steps to perform the following actions:- Assets: Search Assets, Get Asset, Create Asset, Update Asset Attribute, Assign Classification
- Glossary: Search Glossary Terms, Get Glossary Term, Create Glossary Term
- Lineage: Get Lineage
- Types: List Types
{{ to invoke the variable menu.