How to connect to Microsoft Dataverse in Power Automate Flow using Service principal?

In this article, will explain you the step-by-step process to connect to Microsoft Dataverse in the Power Automate Flow using Service Principal.

Prerequisites:

  1. Click on the below article link and create a Microsoft Edge or Google Chrome Profile.

    Create a Profile in Microsoft Edge and Google Chrome

  2. Click on the below article link to create Power Apps Trial.

    Create Microsoft Power Apps 30 days Online Trial Version

  3. Click on the below article link to Register an App in Azure Active Directory.

    Register an App in Azure Active Directory for Dataverse environment

  4. Click on the below article link to create an Application user in a Dataverse Environment.

    Create an Application user in Dataverse Environment

Follow the below steps after the Prerequisites.

Step 1: Click here to Open Power Apps Maker Portal

Or

If you are using US GCC Cloud, then follow the below article for Power Apps Maker Portal URL.

Power Apps US Government service URLs

Step 2: Choose the required Environment.

Step 3: Click on Flows and Click on Automated Cloud flow.

Step 4: Provide a Flow name and enter text Dataverse in the Choose your flow’s trigger.

Step 5: Choose When a row is added, modified or deleted, Dataverse Trigger.

Step 6: Click on in the Trigger and Click on Add new connection.

Step 7: Click on Connect with service principal.

Step 8: Provide Connection name, Client ID, Client Secret and Tenant‘s data and Click on Create.

Note: Follow the below article Step 7 to Step 11 to get all the Connection details.

How to Register an App in Azure Active Directory for Dynamics 365 CE Online?

If Dataverse connection is established successfully, then it will not show any message.

Step 9: Click on to see the Dataverse App User connection.

Step 10: Click on More and Click on Connections.

You can see your Service principal connection here.

Hope you have successfully connected to the Dataverse Environment in the Power Automate Flow using Service Principal.

Please like, share and follow my blog for more interesting articles.

Below are my earlier articles that you can have a look.

How to Enable Copilot (Preview) feature in Canvas Apps?

How to Debug a Dataverse Plugin without Installing the Profiler in the Plugin Registration Tool?

How to Enable the Licenses (Preview) feature for a Power Platform Environment?

How to Enable Maker Welcome Content (preview) in Power Apps Maker Portal?

How to Enable Managed Environments for a Dataverse Environment?

How to Enable the Modern Controls (Preview feature) in the Canvas Apps?

How to Enable 2023 Release Wave 1 updates in the Dataverse Environment?

How to Deploy Enterprise Applications in the new Dataverse Environment?

What is Preview, Experimental and Retired features in Canvas Apps?

How to Enable the New Power Fx Formula Bar in Power Apps Studio?

Writing Power Fx formulas with natural language

Power Fx Formula Columns in Dataverse

Generating Power Fx formulas from examples

How to Create Dynamics 365 Marketing 30 Days Trial Version Online?

How to disable Multi-Factor Authentication (MFA) on Dynamics 365 Login?

How to Create Microsoft Power Apps 30 days Online Trial Version and an Environment?

How to Update the URL of the Dynamics 365 CE Environment?

Power Apps US Government service URLs

How to Download Microsoft Power Platform Icons?

Microsoft Dataverse and Postman articles

Microsoft Dynamics 365 Online regions list

How to Install, Connect to Microsoft Dataverse and Use XrmToolBox?

How to take the Back-Up of Dynamics 365 Online environment?

How to restore Database Backup in Dynamics 365 Online?

How to recover a deleted Environment in Dynamics 365 CRM Online?

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.