Forum Discussion
Download a file from a PowerBI report by calling a rest api
Each order has a file (PDF file representing the order). This file can be retrieved using another REST API.
Your report users cannot initiate API calls. These files must be pre-fetched, and stored in a secure location (unless you are ok with everybody seeing all order details). That location must then be directly visible from the Power BI Service. You would think that a SharePoint fits the bill. Sort of, but only if you give access to this sharepoint to the Power BI Service, ie "everyone on the interwebs". Which flies in the face of the security.
Possible? Yes. Sustainable? No.
Thank you. The report is used only internally within the company and only by certain users. However if I understand correctly, it is not possible to do a direct download of the file from the report as if I had a normal web page, but I always have to go through sharepoint. Is this interpretation correct?