Power Automate - Unable to create an OAuth connection - Cannot connect to a data source

Dave Henshall 0 Reputation points Microsoft Employee
2024-06-25T12:15:15.8966667+00:00

As part of training for 'Use process mining in Power Automate web portal' I am trying to import the sample data.

When attempting to create a new data source connection I get the following error: "Unable to create an OAuth connection. Reason: "Connection could not be created due to a connection API Policy violation. Policies may be adjusted in the Power Platform admin center. (Session ID: 9dd7f980-32d3-11ef-befa-4302d6413a14, Region: usfr)".

I am logged in to my Microsoft Org account.

This question is related to the following Learning Module

Microsoft Power Platform Training
Microsoft Power Platform Training
Microsoft Power Platform: An integrated set of Microsoft business intelligence services.Training: Instruction to develop new skills.
196 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. VarunTha 5,200 Reputation points Microsoft Vendor
    2024-06-26T06:43:26.87+00:00

    Hi Dave Henshall,
    Thank you for reaching out to us on the Microsoft Q&A forum.

    I understand you're encountering an error message "Unable to create an OAuth connection" in Power Platform due to a connection API Policy violation. This message indicates a security policy is blocking the creation of the connection.

    Here are couple of reasons that might be causing the issue.

    Check Data Loss Prevention (DLP) Policies: The error suggests a DLP policy might be restricting the connection. DLP policies help prevent sensitive data leaks. Contact your IT administrator to understand the DLP policies applied to your environment. They can explain if there are restrictions on connecting to specific services or sharing data outside the organization. 

    Verify Permissions in Power Platform Admin Center: The Power Platform admin center allows managing access and permissions for various services. If you have admin privileges, access the Power Platform admin center and navigate to the specific connection you're trying to create. Check if there are any permission limitations preventing the connection. You might need to adjust settings or request access from an administrator.

    For more details please refer: Set a policy to help prevent data loss - Power Automate | Microsoft Learn

    If you encounter any future issues, please feel free to contact us, and we will be pleased to assist you further.

    If you have found the answer provided to be helpful, please click on the "Upvote and Accept Answer" button so that it is useful for other members in the Microsoft Q&A community.