Skip to main content
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

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


Helpful resources

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.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.