<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic python example for a REST API power bi report server request in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/python-example-for-a-REST-API-power-bi-report-server-request/m-p/4380170#M39409</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please someone has a python example of how using the REST API and interacting with some dashboard inside Power BI Report server?&lt;/P&gt;&lt;P&gt;(I mean write a code to refresh automatically a dashboard or something like that using python outside of POwer BI)&lt;BR /&gt;&lt;BR /&gt;It could work in a internal wnvironment (Virtual machine)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Fri, 24 Jan 2025 16:47:17 GMT</pubDate>
    <dc:creator>mlospi</dc:creator>
    <dc:date>2025-01-24T16:47:17Z</dc:date>
    <item>
      <title>python example for a REST API power bi report server request</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/python-example-for-a-REST-API-power-bi-report-server-request/m-p/4380170#M39409</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please someone has a python example of how using the REST API and interacting with some dashboard inside Power BI Report server?&lt;/P&gt;&lt;P&gt;(I mean write a code to refresh automatically a dashboard or something like that using python outside of POwer BI)&lt;BR /&gt;&lt;BR /&gt;It could work in a internal wnvironment (Virtual machine)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2025 16:47:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/python-example-for-a-REST-API-power-bi-report-server-request/m-p/4380170#M39409</guid>
      <dc:creator>mlospi</dc:creator>
      <dc:date>2025-01-24T16:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: python example for a REST API power bi report server request</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/python-example-for-a-REST-API-power-bi-report-server-request/m-p/4381520#M39421</link>
      <description>&lt;P&gt;Hi,&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="918809" data-lia-user-login="mlospi" class="lia-mention lia-mention-user"&gt;mlospi&lt;/a&gt; .I am glad to help you.&lt;BR /&gt;Even though I'm not very good at python, I want to give you help.&lt;/P&gt;
&lt;P&gt;When you use the API to refresh Power BI reports/dashboards. You broadly need to be aware of the following&lt;BR /&gt;1. the type of Rest API used.&lt;BR /&gt;For Power BI Service and for Power BI report server, the type of api used is different and you need to choose the appropriate api type&lt;BR /&gt;2. The use of the API requires the user to hold the corresponding level of license and execution rights.&lt;BR /&gt;3. For the api that performs refresh operations, you need to consider the data source access rights (expiration time of the token, periodic updates, etc.).&lt;/P&gt;
&lt;P&gt;I've found some articles that present relevant code examples, hopefully they will be helpful to you&lt;BR /&gt;URL:&lt;BR /&gt;&lt;A href="https://dev.to/luca1iu/accessing-power-bi-data-with-python-using-the-power-bi-rest-api-ajl" target="_blank"&gt;Accessing Power BI Data with Python Using the Power BI REST API - DEV Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;BR /&gt;&lt;BR /&gt;Processes to keep in mind when using the API&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://monocroft.com/power-bi-rest-apis-in-python-the-complete-guide/" target="_blank"&gt;Power BI REST APIs in Python – The Complete Guide - Monocroft&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/report-server/rest-api" target="_blank"&gt;Develop with the REST APIs for Power BI Report Server - Power BI | Microsoft Learn&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.&lt;BR /&gt;Best Regards,&lt;BR /&gt;Carson Jian,&lt;BR /&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 01:58:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/python-example-for-a-REST-API-power-bi-report-server-request/m-p/4381520#M39421</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-01-27T01:58:38Z</dc:date>
    </item>
  </channel>
</rss>

