api
62 TopicsAPI wont refresh at scheduled refresh
I get an error anytime I try o refresh the API on power bi. It refreshes fine on desktop. Data source error: Information is needed in order to combine data. Please specify a privacy level for each data source.;Information about a data source is required.. The exception was raised by the IDbCommand interface. Cluster URI: WABI-UK-SOUTH-redirect.analysis.windows.net Activity ID: 00000000-0000-0000-0000-000000000000 Request ID: d90e8d24-a4f0-4e47-9725-db135026c7df Time: 2026-07-30 06:09:03ZSolved144Views0likes2CommentsIssue Exporting Power BI Paginated Report via API Using Service Principal
Hello Power BI Community, I’m currently facing an issue with automating Paginated report exports in Power BI using the REST API with a service principal. Everything seems to be working fine when I use a master user, but I’m running into issues when trying to use a service principal for the same task. Here’s a brief overview of what I’ve done so far: Set up a Service Principal in Azure Active Directory and granted it the necessary API permissions (e.g., Report.Read.All, Dataset.ReadWrite.All, etc.) for Power BI. Used the OAuth2 client credentials flow to authenticate and obtain an access token for the service principal. Successfully created a dataset using the Power BI API. Created paginated reports based on this dataset. Attempted to use the Export to File in Group API to export the report. When I try to export the report using the service principal, I’m encountering the following error: { "status": "Failed", "error": { "code": "Connection_Error_General", "message": "RootActivityId(4780ea99-6f13-4c9d-a18f-6f935b2ce05f): There was an error communicating with Analysis Services. Please verify that the data source is available and your credentials are correct.", "details": [] } } The export works perfectly fine when I use a master user for authentication, so the issue seems to be related to service principal authentication. Any help or pointers would be greatly appreciated! Thanks in advance for your help!Solved1.2KViews1like5CommentsAPI Call - Help with "Add Cache Refresh Plan"
I'd like to be able to programmatically create a Cache Refresh Plan attached to a particular report hosted on our Report Server. I can manually create a plan under "Scheduled refresh" when I manage the report via the Report Server web portal. I have found documentation for the API here: https://learn.microsoft.com/en-us/rest/api/power-bi-report/cache-refresh-plans/add-cache-refresh-plan ... However, there doesn't seem to be a sample body or template which I can model my own API call, and I don't seem to be able to catch the call in my browser network-watch dev tool . I have successfully done a few other API commands, like deleting and adding Power BI Reports. Is there a location I can look for more thorough documentation, or can someone provide me with a sample?Solved1.9KViews0likes4CommentsExport a report to PDF via APIs on the PowerBI Report Server
Hi guys, I own a PowerBI Server and can upload some .pbix reports and view them in the browser. Now, I need to export them as PDFs automatically and send them out via email. As you know, the PowerBI Server doesn't support the subscription for .pbix report, I'm wondering if there is an API that can be leveraged. I refer to the document: https://app.swaggerhub.com/apis/microsoft-rs/PBIRS/2.0#/PowerBIReports/GetPowerBIReport, but honestly, I haven't found one API that can satisfy this requirement. Also, there is another guidance, https://learn.microsoft.com/en-us/power-bi/developer/embedded/export-to, but it seems that this API only supports PowerBI Service instead of PowerBI Server. If someone can guide me or share me with some experience, much appreciate it.1.4KViews0likes3CommentsRetrieve image from app into report
Hi all! I am a non-developer and stuck with my current report! I am retrieving data from a mobile app that allows you to capture pictures. From the database I can see a "media link" which looks like a url but I can see it relates to an api as it has api. In the text. I know how to retriev an api key from the app for authentication, but that is it! anyone that can guide me on how to buld a report that pulls a specific image in based on an api-type url? thank you in advanceintegrate the power bi report in the intranet without login and not accessible from the internet
Hello everybody, I would like to integrate a power bi report into a web page on my intranet, however I would like this report not to be accessible from outside my network, and for it to be accessible without connection for people on my intranet . anyone have an idea how to do it thanks in advance Best regards1.7KViews1like7Comments