<?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 Re: How to manage report subscriptions in Power BI cloud version using Power BI API? in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/How-to-manage-report-subscriptions-in-Power-BI-cloud-version/m-p/4250636#M57954</link>
    <description>&lt;P&gt;Vote this two idea for this topic.&lt;BR /&gt;&lt;A href="https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=1889bc7a-763a-eb11-8fed-0003ff52cdee" target="_blank"&gt;Microsoft Idea&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=206c3e91-45ba-eb11-89ee-501ac50a7898" target="_blank"&gt;Microsoft Idea&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 21 Oct 2024 10:49:07 GMT</pubDate>
    <dc:creator>felaray</dc:creator>
    <dc:date>2024-10-21T10:49:07Z</dc:date>
    <item>
      <title>How to manage report subscriptions in Power BI cloud version using Power BI API?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-manage-report-subscriptions-in-Power-BI-cloud-version/m-p/4248050#M57921</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I’m currently trying to manage report subscriptions in the cloud version of Power BI using the Power BI API. However, I haven't been able to find the correct API endpoint to achieve this. While searching through the documentation, I found that there are APIs available for managing subscriptions on Power BI Report Server (on-premises), but those are not applicable to the cloud service.&lt;/P&gt;&lt;P&gt;Has anyone successfully found the API endpoint for managing report subscriptions specifically on the Power BI cloud service (SaaS)? Any guidance or examples would be greatly appreciated!&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 09:34:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-manage-report-subscriptions-in-Power-BI-cloud-version/m-p/4248050#M57921</guid>
      <dc:creator>felaray</dc:creator>
      <dc:date>2024-10-18T09:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to manage report subscriptions in Power BI cloud version using Power BI API?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-manage-report-subscriptions-in-Power-BI-cloud-version/m-p/4250151#M57944</link>
      <description>&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Hi,&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/821847"&gt;@felaray&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;" lang="zh-CN"&gt;I think your idea is great! However, currently, there is no direct API to automate Power BI service subscriptions. But you can try using Power Automate to automatically create and send emails. This method still has some limitations, so you can choose based on your needs:&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;&lt;SPAN&gt;1.&lt;/SPAN&gt;&lt;SPAN&gt;First, log in to Power Automate and create a new flow. Choose an appropriate trigger, such as "When a new item is created" in a SharePoint list or "When an email arrives" in Outlook.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;" lang="zh-CN"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;&lt;SPAN&gt;2.&lt;/SPAN&gt;&lt;SPAN&gt;Next, add the necessary actions to your flow. For example, you can use the "Send an email" action to automate the email sending process. You can also include conditions to check specific criteria before sending the email.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;" lang="zh-CN"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;&lt;SPAN&gt;3.&lt;/SPAN&gt;&lt;SPAN&gt;Finally, test your flow to ensure it works as expected, then save and activate it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vlinyulumsft_0-1729491875914.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1186165iFBBE4AB845E696F1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vlinyulumsft_0-1729491875914.png" alt="vlinyulumsft_0-1729491875914.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;&lt;SPAN&gt;4.&lt;/SPAN&gt;&lt;SPAN&gt;For more details, you can refer to the following link:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/collaborate-share/service-automate-power-bi-report-export" target="_blank"&gt;&lt;SPAN&gt;Export and email a report with Power Automate - Power BI | Microsoft Learn&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;A href="https://learn.microsoft.com/en-us/power-automate/email-top-scenarios" target="_blank"&gt;&lt;SPAN&gt;Create flows for popular email scenarios in Power Automate - Power Automate | Microsoft Learn&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;&lt;SPAN&gt;5.&lt;/SPAN&gt;&lt;SPAN&gt;I also found the API for exporting files, which I hope will be helpful to you:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;" lang="zh-CN"&gt;First, you can use the following API to generate the export ID:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;POST https://api.powerbi.com/v1.0/myorg/groups/{groupId}/reports/{reportId}/ExportTo&lt;/LI-CODE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vlinyulumsft_1-1729491875915.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1186164iF87A8F2C1E77BA3A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vlinyulumsft_1-1729491875915.png" alt="vlinyulumsft_1-1729491875915.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/reports/export-to-file-in-group#export" target="_blank"&gt;Reports - Export To File In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;" lang="zh-CN"&gt;Next, use the following API to retrieve the exported file:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;GET https://api.powerbi.com/v1.0/myorg/groups/{groupId}/reports/{reportId}/exports/{exportId}/file&lt;/LI-CODE&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;" lang="zh-CN"&gt;For more details, please refer to:&lt;/P&gt;
&lt;P style="margin: 0in;"&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/reports/get-export-to-file-status-in-group" target="_blank"&gt;&lt;SPAN&gt;Reports - Get Export To File Status In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you feel that performance needs to be improved, you can also submit an idea on&lt;/P&gt;
&lt;P&gt;&lt;A href="https://ideas.fabric.microsoft.com/" target="_blank"&gt;https://ideas.fabric.microsoft.com/&lt;/A&gt; and wait for users with the same needs as you to vote for you and help you realize the idea as soon as possible. Many features of our current products are designed and upgraded bed on customers’ feedback.&amp;nbsp; With requirements like this increase, the problem may well be released in the future.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your understanding.&lt;/P&gt;
&lt;P style="margin: 0in;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Best Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Leroy Lu&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider Accept it &lt;EM&gt;&lt;STRONG&gt;as the solution &lt;/STRONG&gt;&lt;/EM&gt;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 06:30:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-manage-report-subscriptions-in-Power-BI-cloud-version/m-p/4250151#M57944</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-10-21T06:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to manage report subscriptions in Power BI cloud version using Power BI API?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-manage-report-subscriptions-in-Power-BI-cloud-version/m-p/4250601#M57953</link>
      <description>&lt;P&gt;@Anonymous&lt;/a&gt;&amp;nbsp;Thanks for getting back to me and for the detailed solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried this approach before, but I noticed that the email formats from Power BI report subscriptions are different from those sent via Power Automate. With Power BI, you get a thumbnail image that you can click to see a larger version, while Power Automate just sends the PDF as an attachment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, since the user has already set up a bunch of rules in the report, it would be way easier to enable or disable those through a RESTful API (if that’s available). Using Power Automate would mean rewriting all the logic for the report subscriptions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The format issues might be solved with the Report Export File API, but the real headache is managing those subscription rules. So, having an API that can handle subscription management would be the best solution.&lt;/P&gt;&lt;P&gt;Anyway, thanks again for your detailed explanation and for confirming my tests! I spent a week looking for different ways to tackle this, and even tried the Fabric API. I really hope Microsoft will recognize this problem that so many users are facing and come up with a solution.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 10:29:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-manage-report-subscriptions-in-Power-BI-cloud-version/m-p/4250601#M57953</guid>
      <dc:creator>felaray</dc:creator>
      <dc:date>2024-10-21T10:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to manage report subscriptions in Power BI cloud version using Power BI API?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-manage-report-subscriptions-in-Power-BI-cloud-version/m-p/4250636#M57954</link>
      <description>&lt;P&gt;Vote this two idea for this topic.&lt;BR /&gt;&lt;A href="https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=1889bc7a-763a-eb11-8fed-0003ff52cdee" target="_blank"&gt;Microsoft Idea&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=206c3e91-45ba-eb11-89ee-501ac50a7898" target="_blank"&gt;Microsoft Idea&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 10:49:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-manage-report-subscriptions-in-Power-BI-cloud-version/m-p/4250636#M57954</guid>
      <dc:creator>felaray</dc:creator>
      <dc:date>2024-10-21T10:49:07Z</dc:date>
    </item>
  </channel>
</rss>

