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
Capounet
New Member

create a file if refresh failed or succeed

Ok i have a very sensible environement that forbid me from using any powerautomate, any cloud solution, etc..... so i need to start a refresh using a python script.

The script work has this:

1) get files from protected directory using specific credential, place it in a specific directory.
2) launch powerbi and launch the refresh
3) save the application.

My problem is that i need to create a file with a specific name depending on at least refresh success and if possible failure.

What process could i use ? Is there some kind of batch file that track the powerbi refresh process or a powerquerry that could create such a file ??

Thanks in advance for you help

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.

Top Solution Authors