Unable to access Azure Databricks workspace from external applications like Power Apps

Aqil, Abdul 0 Reputation points
2025-08-07T13:44:00.75+00:00

I am unable to access our Azure Databricks workspace from external applications like Microsoft Power Apps and Power Automate.

Steps taken:

  • Generated a Personal Access Token (PAT) from the Databricks workspace.
  • Attempted REST API call using the token from Power Platform.
  • Verified token is valid and URL is correct.
  • API requests result in error (e.g., 403 Forbidden).
  • Connection works fine when using Postman or curl.

Workspace: https://<your-workspace>.azuredatabricks.net

Region: <East US or whatever your region is>

Component: Workspace API access via external applications

We would like assistance identifying if this is due to network restrictions, authentication requirements, or additional configuration needed on Azure or Databricks to allow access from Power Apps/Power Automate.

Please let me know if logs or additional details are needed.

Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Venkat Reddy Navari 5,255 Reputation points Microsoft External Staff Moderator
    2025-08-07T14:46:36.6666667+00:00

    Hi Aqil, Abdul Thanks for outlining the troubleshooting steps. Based on your description, the issue likely relates to the following:

    1. Network Restrictions

    If your Databricks workspace uses Private Link or is behind a secure VNet, Power Platform services may not be able to reach it. Ensure firewall rules, NSGs, or Private Endpoints are configured to allow inbound traffic.

    1. Authentication Flow (PAT)

    While a Personal Access Token (PAT) works for tools like Postman, it’s not supported directly in Power Apps/Automate. Instead, use OAuth or service principal authentication via the Azure Databricks connector.

    1. CORS/Direct API Access

    If calling Databricks APIs directly from Power Apps, CORS policies may block the request. Power Apps isn’t designed for direct API calls using raw tokens.

    Recommendation

    Switch to the Azure Databricks connector for seamless integration. For custom calls, use an Azure Function as a proxy to securely connect to Databricks.


    Hope this helps. If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.