Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Frequent Visitor

Access power bi through selenium python

I am trying to login to powerbi portal using selenium python code but keyboard is not reachable us the error i am facing.

Could you please hep me with it.

from selenium import webdriver
from webdriver_manager.firefox import GeckoDriverManager

driver = webdriver.Firefox(executable_path=GeckoDriverManager().install())

username = "************"
password = "***********"

# head to github login page
# find username/email field and send the username itself to the input field

Community Support
Community Support

Hi @DewCherian ,


Please make sure the account in your code has access to Power BI.

Here is an offical blog about Python package in Power BI. I hope it could help you solve your issue.

For reference: Create visuals by using Python packages in the Power BI service


Best Regards,
Rico Zhou


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.