Share via

how to fix Underlying Error: PythonScriptVisualRenderingUnsupportedError

Pribadi Januar 0 Reputation points
2026-05-13T06:28:57.8033333+00:00

Underlying Error: PythonScriptVisualRenderingUnsupportedError

Activity ID: [Moderator note: personal info removed] 

Correlation ID: [Moderator note: personal info removed] 

Request ID: [Moderator note: personal info removed] 

Time: Wed May 13 2026 13:23:12 GMT+0700 (Western Indonesia Time)

Service version: [Moderator note: personal info removed] 

Client version: 2604.4.29254-train

Cluster URI: https://wabi-east-asia-a-primary-redirect.analysis.windows.net/

Microsoft 365 and Office | Visio | Other | Windows

2 answers

Sort by: Most helpful
  1. Dora-T 13,745 Reputation points Microsoft External Staff Moderator
    2026-05-13T07:07:50.87+00:00

    Please note that our forum is a public platform, and we will modify your question to hide your personal information in the description. Kindly ensure that you hide any personal or organizational information the next time you post an error or other details to protect personal data. 

    Hi Pribadi Januar

    Thank you for sharing the detailed error information. 

    Based on my research, Python visuals are not supported for rendering in Power BI Service due to security and sandbox limitations, which is why you see PythonScriptVisualRenderingUnsupportedError. They only run in Power BI Desktop, and in Service they are either disabled by tenant policy or not executed at all, so there is no detailed traceback available. 

    You can also refer to these links for more information: 

    Solved: Python Visuals not available on service? Internal ... - Microsoft Fabric Community 

    Create Power BI visuals using Python in Power BI Desktop - Power BI | Microsoft Learn 

    Since this forum does not currently have a dedicated Power Platform tag, for future Microsoft Fabric or Power BI related questions, I would recommend posting in the Microsoft Fabric Community. It is a dedicated space with many knowledgeable members and specialists who may be able to provide more detailed guidance for your scenario: Power BI forums - Microsoft Fabric Community.  

    I hope this information helps. 


    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?

    1 person found this answer helpful.

  2. AI answer

    2026-05-13T06:29:08.8233333+00:00

    The error PythonScriptVisualRenderingUnsupportedError indicates that the environment where the report is being viewed does not support rendering visuals that use Python scripts.

    To address this, use the following checks and workarounds based on how Python is being used in Microsoft products:

    1. Verify Python feature support and requirements
      • For Excel-based scenarios, ensure that the account, license, and app version meet the requirements for Python features. If requirements are not met, Python-related calculations or visuals will be blocked.
      • If the environment shows BLOCKED or similar errors for Python features, this typically means the license, version, or account type does not support Python features and the environment must be changed (for example, use a supported Microsoft 365 subscription and account type).
    2. Check for unsupported environments or account types
      • If signed in with an unsupported account type, sign out and sign in with a supported work or school account that has the correct license.
      • If using an environment where Python is not supported (for example, certain web or mobile endpoints), open the report or workbook in a supported desktop or web client that supports Python visuals.
    3. Remove or replace Python visuals
      • If the target audience cannot use a Python-enabled environment, replace Python visuals with standard visuals that do not depend on Python scripts.
    4. General Python error handling
      • If Python code is involved in Excel (Python in Excel), and errors appear as #PYTHON!, review the Python formulas and initialization settings. Fix any Python execution errors or initialization issues before publishing or sharing content that depends on Python.

    If the error persists in a fully supported and correctly licensed environment, capture the full error details (including Activity ID, Correlation ID, and time) and provide them to Microsoft support through the appropriate support channel for further investigation.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

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