
## Set up Microsoft Purview for migration

URL: https://docs.atlan.com/get-started/references/purview-migration/set-up-purview

> Register an app in Microsoft Entra and grant it the two read-only Purview roles that Migration Studio needs to read your Purview estate.

# Set up Microsoft Purview for migration 

Create a service principal that Migration Studio uses to read your Purview estate, and grant it read-only access to the Purview Data Map and Unified Catalog.

## Prerequisites

Before you begin, make sure you have:

- Access to Purview migration, which is in private preview. Contact your Atlan account team to request access.
- A Microsoft Entra administrator to register the app and grant API permissions.
- A Purview administrator to assign the Purview roles.

## Register app in Microsoft Entra

1. In the [Microsoft Entra admin center](https://entra.microsoft.com), go to **Applications**, then **App registrations**, and click **New registration**.
2. Enter a name, for example `atlan-purview-migration`, keep the default single-tenant account type, and click **Register**.
3. From the app's **Overview** page, copy the **Application (client) ID** and the **Directory (tenant) ID**. Migration Studio asks for both.
4. Go to **Certificates & secrets**, click **New client secret**, choose an expiry, and click **Add**.
5. Copy the secret **Value** right away and store it securely.

> **Warning**
>
> The secret value is shown only once. If you lose it, create a new secret.

## Grant Data Map role

Grant **Data Reader**, the read-only role for the Purview Data Map. Grant it on the root collection to cover every collection below it. A grant on a sub-collection limits the migration to that branch.

1. In the [Microsoft Purview portal](https://purview.microsoft.com), open **Data Map**, then **Domains and collections**.
2. Select the root collection and open the **Role assignments** tab.
3. Next to **Data readers**, click the add icon, search for the app you registered, select it, and click **OK**.

## Grant Unified Catalog role

Grant **Global Catalog Reader**, the read-only role for the Unified Catalog.

1. In the Purview portal, click the settings icon at the top right, then **Solution settings**, then **Unified Catalog**.
2. On the **Roles and permissions** tab, next to **Global Catalog Readers**, click the add icon, search for the app, select it, and click **Save**.

Global Catalog Reader covers published items only. To migrate draft items, publish them before you run the migration, or grant the app **Governance Domain Reader** on each domain, or **Data Governance Administrator**. See [Why are draft items missing from my migration?](https://docs.atlan.com/llms/platform/get-started/purview-migration-permissions/llms.txt).

## Grant Microsoft Graph permissions

These permissions are optional. With them, Migration Studio resolves Purview owners and experts to their names and emails during extraction and matches them to Atlan users. Without them, see [What happens if I don't grant Microsoft Graph permissions?](https://docs.atlan.com/llms/platform/get-started/purview-migration-permissions/llms.txt).

1. In the Microsoft Entra admin center, open your app registration and go to **API permissions**.
2. Click **Add a permission**, choose **Microsoft Graph**, then **Application permissions**.
3. Select `User.Read.All` and `GroupMember.Read.All`, and click **Add permissions**.
4. Click **Grant admin consent** for your tenant. A Microsoft Entra administrator must do this step.

## Next steps

- [Run Purview migration](https://docs.atlan.com/llms/platform/get-started/migrate-from-purview/llms.txt): Create a Purview migration in Migration Studio. The [pre-flight checks](https://docs.atlan.com/llms/platform/get-started/what-migrates-from-purview/llms.txt) confirm these grants before extraction starts.

_Last updated: 26 November 2026._

---

> **Using an AI agent?** The Atlan Docs MCP server lets it search these docs directly. Setup for each client: https://docs.atlan.com/skills/install-docs-mcp.md
