Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
aimiller
New Member

Python Visuals not available on service? Internal IT unable to give a correct answer

Hi all, 

I am trying to leverage Python visuals in Power BI Service. At this point I have been unable to get any visuals to load. 

Is there a way to get more detailed error messages or tracebacks for why this might be happening? I believe it was functioning last year, but unfortunately I don't have that test visual anymore. 

 

The only information I get when it fails is

"Underlying Error: PythonScriptVisualRenderingUnsupportedError"

 

Is there a proper way to frame the question to my IT department such that I can get a satisfying answer? Is there a policy that can be changed to disable python in service? Is there a license or customer restriction? I am just trying to get a legitimate answer and so far it has only been guesswork. 

 

If it is literally impossible then I will take that. I just want to understand why it would have worked and then stopped. 

Thank you

Aaron

2 ACCEPTED SOLUTIONS
rohit1991
Super User
Super User

Hii @aimiller 

 

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.


Did it work? ✔ Give a Kudo • Mark as Solution – help others too!

View solution in original post

lbendlin
Super User
Super User

Python and R visuals mandate the use of a personal (not enterprise) gateway. That disqualifies them for most scenarios.

View solution in original post

5 REPLIES 5
v-sgandrathi
Community Support
Community Support

Hi @aimiller,

 

I wanted to follow up on our previous suggestions regarding the issue. We would love to hear back from you to ensure we can assist you further.

 

Thank you.

v-sgandrathi
Community Support
Community Support

Hi @aimiller,

 

Thank you @Olufemi7 @lbendlin @rohit1991 for your quick answers to thw query.

we haven't heard back from you regarding our last response and wanted to check if your issue has been resolved.

Should you have any further questions, feel free to reach out.
Thank you for being a part of the Microsoft Fabric Community Forum!

Olufemi7
Solution Sage
Solution Sage

Hello @aimiller,
Subject: Python Visuals Not Rendering in Power BI Service

Hi [IT contact],

Python visuals in Power BI Service are failing with this error:
PythonScriptVisualRenderingUnsupportedError

I need to understand if this is a policy, configuration, or license issue. Can you check:

  • Tenant‑level Python scripting settings in the Power BI admin portal:
    Admin portal → Tenant settings → “Use Python visuals”
    Ensure this is enabled for the relevant workspaces.
  • Workspace restrictions that might block Python visuals.
  • Any service or audit logs that explain why the visual fails to render.

Per Microsoft documentation:

  • Python visuals in Power BI Desktop work locally, but support in the Power BI Service depends on tenant settings and licensing (Pro, Premium Per User, or Premium) and whether Python visuals are enabled:
    Create Python visuals in Power BI
  • Python visuals can be disabled at the tenant level in the admin portal (“Use Python visuals” setting). Reports in workspaces without permission will fail to render:
    Power BI tenant settings for Python & R

It appears this may have worked last year but stopped, which suggests something changed in tenant settings, workspace licensing, or supported features.
Can you confirm whether Python visuals are currently permitted in our environment and if any settings were changed recently that affect this capability?

lbendlin
Super User
Super User

Python and R visuals mandate the use of a personal (not enterprise) gateway. That disqualifies them for most scenarios.

rohit1991
Super User
Super User

Hii @aimiller 

 

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.


Did it work? ✔ Give a Kudo • Mark as Solution – help others too!

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.

Top Solution Authors