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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Refresh PowerBI without prompt: Client id + client secret

Hello,

 

Do you know if there is a script that allows to refresh PowerBI without explicitly give username and password?

 

I have a user with MFA and I want to continue in that way. 

 

When I tried to generate the token with only client id and client secret the payload is almost half of the information of the token generated with a script that uses prompt (I have use Powershell)

 

Anyone knows a way to update a dataset without exposing user and password?

 

Related links:

Code:https://stackoverflow.com/questions/53762407/adal-python-to-refresh-powerbi-dataset

Description in depth: https://community.powerbi.com/t5/Developer/Python-Get-AccessToken-POST-Request-Multi-factor-Auth/m-p...

 

Regards,

0 REPLIES 0

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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