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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
DewCherian
Frequent Visitor

Access power bi through selenium python

Hi,
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
driver.get("https://app.powerbi.com")
# find username/email field and send the username itself to the input field
driver.find_element_by_id("email").send_keys(username)

1 REPLY 1
v-rzhou-msft
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

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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