Forum Discussion

bastianmunoz's avatar
bastianmunoz
New Member
7 months ago
Solved

Issue with Python Data Source: Extension{"extensionDataSourceKind":"Python"} in Power BI Service

Dear Microsoft Support / Power BI Development Team,
I am writing to report a persistent limitation regarding the use of Python scripts as a data source in Power BI Service, specifically for web scraping tasks.
Currently, when publishing a report that uses Python scripts, the service returns the following error during scheduled refresh:
Extension{"extensionDataSourceKind":"Python","extensionDataSourcePath":"Python"}.
The only known workaround is using the On-premises Data Gateway (Personal Mode). However, this is not a viable solution for enterprise-level environments for the following reasons:
  1. Dependency on local hardware: It requires a specific user's computer to be powered on and connected.
  2. Scalability: It lacks the robustness and centralized management of the Standard (Enterprise) Gateway.
  3. Security and Maintenance: Maintaining individual Python environments on local machines is inefficient.
As of 2025, Python has become a fundamental tool for data engineering and scraping. I kindly request that Microsoft considers:
  • Enabling Python execution support within the Standard (Enterprise) Gateway.
  • Providing a native cloud environment for Python script execution within the Power BI Service/Fabric capacity.
Improving this integration would significantly enhance the flexibility and reliability of the Power BI platform.
I look forward to hearing about any planned updates regarding this feature.
Best regards,
  • lbendlin's avatar
    lbendlin
    7 months ago

    Python is not necessary for this. Consider using the standard web connection and Power Query transforms instead.

6 Replies

  • Since you are asking on the Fabric Platform forum, what are you hoping to achieve with the Python scripts? Is it something that could actually be orchestrated in a fabric workspace beforehand which would speed up the report?

    • bastianmunoz's avatar
      bastianmunoz
      New Member

      Thank you for your response!

      To clarify: I'm using Python to connect to our ISO management platform (Kawak -
      https://kawak.com.co), which provides an API for accessing non-conformities,
      corrective actions, and audit findings data.

      **Current workflow:**
      1. Python script authenticates to Kawak API (POST to /login endpoint)
      2. Retrieves paginated data from /api/v1/accionesMejora endpoint
      3. Consolidates all pages into a single dataset
      4. Power BI Desktop consumes this as a table for our compliance dashboard

      **The challenge:**
      The script works perfectly in Power BI Desktop, but fails in Power BI Service
      due to Python data source limitations. The data needs to refresh daily to track
      overdue corrective actions across multiple ISO certifications (9001, 14001,
      45001, etc.).

      • lbendlin's avatar
        lbendlin
        Super User

        Python is not necessary for this. Consider using the standard web connection and Power Query transforms instead.