Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe'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
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
Solved! Go to Solution.
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.
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.
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!
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:
Per Microsoft documentation:
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?
Python and R visuals mandate the use of a personal (not enterprise) gateway. That disqualifies them for most scenarios.
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.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.