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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
webportal
Impactful Individual
Impactful Individual

Integration with Python Jupyter Notebooks

Hello,

 

I'm trying the new integration with Jupyter Notebooks.

 

My code looks like this:

pip install powerbiclient
 
from powerbiclient import Report, models
 
# Import the DeviceCodeLoginAuthentication class to authenticate against Power BI
from powerbiclient.authentication import DeviceCodeLoginAuthentication

# Initiate device authentication
device_auth = DeviceCodeLoginAuthentication()
 
group_id = "xxx"
report_id = "yyy"
 
report = Report(group_id=group_id, report_id=report_id, auth=device_auth)
report
 
It all looks good, the authentication works, double-checked the group and report ids.
 
But the report isn't displayed.
4 REPLIES 4
webportal
Impactful Individual
Impactful Individual

@V-lianl-msft @sarthak-sarbahi 

Any news?

 

Have you managed to get the report displayed?

 

Thanks for any help!

webportal
Impactful Individual
Impactful Individual

@V-lianl-msft 

thanks, but it didn't help.

I just followed the basic tutorial, so it should work.

V-lianl-msft
Community Support
Community Support

sarthak-sarbahi
New Member

++I also facing the same issue.

sarthak-sarbahi_0-1622711780775.png

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.