Forum Discussion
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
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.
Python and R visuals mandate the use of a personal (not enterprise) gateway. That disqualifies them for most scenarios.
5 Replies
- Olufemi7Super User
Hello aimiller,
Subject: Python Visuals Not Rendering in Power BI ServiceHi [IT contact],
Python visuals in Power BI Service are failing with this error:
PythonScriptVisualRenderingUnsupportedErrorI 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? - Tenant‑level Python scripting settings in the Power BI admin portal:
- rohit1991Super 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.
- lbendlinSuper User
Python and R visuals mandate the use of a personal (not enterprise) gateway. That disqualifies them for most scenarios.
- v-sgandrathiCommunity 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! - v-sgandrathiCommunity 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.