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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.