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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
icassiem
Post Prodigy
Post Prodigy

Is Python scripts using PyJWT librabry Allowed in power bi service?

Hi,

I am trying to replicate the javascript library & function "KJUR.jws.JWS.sign(PS256, head, payload, secret)" using Python within PBI, 

I have until Friday to get this going else my project will be canceled as not paying for a NetSuite connector

 

ChatGPT i have read i could replicate the function in PBI Desktop but Not in PBI Services, which i find very odd as to whats the point of PBI having a Python Script as Source but unable to deploy and refresh in services.

Please anyone some guidance on this and really hoping pything scipt using PyJWT for Json functionalities are possible in PBI Services?

 

Kinldy provide links/examples on Python version of KJUR.jws.JWS.sign

 

Regards

1 ACCEPTED SOLUTION
sergej_og
Super User
Super User

Python script does not work for refresh in Service within a semantic model.
Tried it a few months ago. No chance.
If you can try to use Fabric capabilities - use Notebooks in Fabric.

Regards.

View solution in original post

3 REPLIES 3
sergej_og
Super User
Super User

Python script does not work for refresh in Service within a semantic model.
Tried it a few months ago. No chance.
If you can try to use Fabric capabilities - use Notebooks in Fabric.

Regards.

Thank You so Much! 

Disappointing and now I have to revert to getting javascript working within these 2 days 😞

I wasted roughly 3 days on python

icassiem
Post Prodigy
Post Prodigy

Below Post says it's not possible but this is 2018, Gosh This will be Terrible if not fixed 😞   

Solved: Using custom Python in PowerBI Service? - Microsoft Fabric Community

 

‎08-30-2018 04:20 AM

Hi @dhorrall

I'm afraid it doesn't support Python in the PowerBI service currently, and it is not possible to refresh data.

a list of Python packages are supported in Power BI Desktop, but they aren't supported in Power BI Service.

Power BI Team are currently looking into how to support this"

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

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.

Top Kudoed Authors