Step-by-Step Guide: Creating an Azure Synapse Link for Dataverse
What is Dataverse
Dataverse is a cloud-based storage space formerly known as the Common Data Service (CDS). It allows users to securely store data within sets of tables. We can use Dataverse as a data source for business applications such as the Power Platform and Dynamics 365.
What is Azure Synapse Link for Dataverse?
Azure Synapse Link for Dataverse allows you to easily analyze your Dataverse data using Azure Synapse Analytics without needing to move the data around or use complex processes. It makes data analysis simpler and faster.
Once the link is established, Azure Synapse Link for Dataverse will export all the initial data and continuously sync any new changes. This allows customers to gain near real-time insights from their data stored in Microsoft Dataverse.
Note : Azure Synapse Link for Dataverse was formerly known as Export to data lake.
1. Prerequisites
Before establishing a link between Dataverse and Azure Synapse Analytics, several prerequisites must be met:
Make sure your Azure Resource Group, Storage Account, and Azure Synapse Analytics Workspace are in the same tenant and region.
Resource Group:
You need the Reader role for the resource group.
Azure Data Lake Storage Gen2:
- You need an Azure Data Lake Storage Gen2 account.
- Ensure you have Owner and Storage Blob Data Contributor role access.
- Enable Hierarchical namespace.
- Recommended replication setting: Read-Access Geo-Redundant Storage (RA-GRS).
Azure Synapse Analytics:
- You must possess a Synapse workspace.
- Obtain Service administrator role access within Synapse Studio.
- Provision the Synapse workspace in the same region as your Azure Data Lake Storage Gen2 account.
- Provision the Synapse workspace in the same resource group as your Azure Data Lake Storage Gen2 account.
- Add the storage account as a linked service within Synapse Studio.
Dataverse:
- Both the Azure Data Lake Storage Gen2 account and Synapse workspace must be created in the same Azure Active Directory (Azure AD) tenant as your Power Apps tenant.
- Ensure they are created in the same Azure Active Directory (Azure AD) region as your Power Apps environment.
- You must have the Dataverse System Administrator security role.
Note: Only tables with change tracking enabled can be exported.
Here is the summarized graphic about prerequisites.
Common Issue:
Unable to access storage account. This may be transient as permissions for the application may need time to propagate. Please wait for some time and try again later. If the issue persists, please ensure the storage account is on network accessible by our service and you have the correct role access as described in our documentation.
The issue arises when attempting to connect Dataverse and Azure Synapse Link. To resolve this, ensure the following:
- Grant the user Owner and Storage Blob Data Contributor role access for the Storage Account.
- Assign the user the Service Administrator role access for the Synapse Workspace.
By ensuring these roles are assigned correctly, users should be able to connect Dataverse and Azure Synapse Link without encountering the issue.
2. Connect Dataverse to Synapse workspace
- Sign in to https://make.powerapps.com and select your environment.
- In the left navigation pane, Click More
- Then Click Discover All
- Under Data Management Section, Select Azure Synapse Link
- Click on the "New link" button located in the middle of the page or on the command bar.
- In Select Azure Resource Screen,
- Select the checkbox to Connect to your Azure Synapse Analytics workspace.
- Choose Your Subscription.
- Choose Your Resource group.
- Choose Your Workspace name.
- Choose Your Storage account.
- Click Next.
- In Add Tables Screen,
- Select the tables that you want to export.
- Click Save.
- Now you can see your Synapse Links in the Azure Synapse Link for Dataverse screen.
- You can also view your Dataverse data in the Azure Synapse Analytics Workspace.
For More Visit Microsoft Official Documentation - https://learn.microsoft.com/en-us/power-apps/maker/data-platform/export-to-data-lake
Invaluable insights merging Power Platform, Microsoft 365, and SharePoint - a must-read for developers.
ReplyDeletekeep up the excellent work!
Thanks for sharing your valuable words
Delete