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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Delete the Endpoint Request after exporting the Paginated report to file using Power BI Rest API

Hello,

 

I'm working on power bi rest api's to export my paginated report to a file. I'm able to download the file but when I bulk run the reports, the memory consumption in the premum capacity workspace is high and stable for 24 hours. Later we realized that the generated url that we use to export to file contains the data and the data is available for 24 hours. Is there any method to delete the request after downloading the report using powershell or any other programing language.

Status: New
Comments
v-yuta-msft
Community Support

@Anonymous ,

 

Have you used the connection closing statement in your script? For example, if you use powershell, it should be like below:

$connection.Close();
$connection.Dispose();

 

Regards,

Jimmy Tao