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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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