<?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 PowerBI get subscription ID after authentication (Oauth) in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/PowerBI-get-subscription-ID-after-authentication-Oauth/m-p/4291584#M11797</link>
    <description>&lt;P&gt;I need to obtain the &lt;STRONG&gt;subscriptionID&lt;/STRONG&gt; for the plan that the user is associated.&lt;/P&gt;&lt;P&gt;I am using the&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;acquireAADTokenService&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;to get the token and the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;licenseManager&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;to get the plans associated. Both are working correctly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is that I need to know who is the &lt;STRONG&gt;subscriptionID&lt;/STRONG&gt; associated with the plans. How can I achieve this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Nov 2024 16:55:19 GMT</pubDate>
    <dc:creator>Túlio</dc:creator>
    <dc:date>2024-11-19T16:55:19Z</dc:date>
    <item>
      <title>PowerBI get subscription ID after authentication (Oauth)</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/PowerBI-get-subscription-ID-after-authentication-Oauth/m-p/4291584#M11797</link>
      <description>&lt;P&gt;I need to obtain the &lt;STRONG&gt;subscriptionID&lt;/STRONG&gt; for the plan that the user is associated.&lt;/P&gt;&lt;P&gt;I am using the&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;acquireAADTokenService&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;to get the token and the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;licenseManager&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;to get the plans associated. Both are working correctly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is that I need to know who is the &lt;STRONG&gt;subscriptionID&lt;/STRONG&gt; associated with the plans. How can I achieve this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2024 16:55:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/PowerBI-get-subscription-ID-after-authentication-Oauth/m-p/4291584#M11797</guid>
      <dc:creator>Túlio</dc:creator>
      <dc:date>2024-11-19T16:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI get subscription ID after authentication (Oauth)</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/PowerBI-get-subscription-ID-after-authentication-Oauth/m-p/4296217#M11819</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="791161" data-lia-user-login="Túlio" class="lia-mention lia-mention-user"&gt;Túlio&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I understand the one that you are looking for, I think that this Rest API will be the one to use:&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/admin/users-get-user-subscriptions-as-admin" target="_blank"&gt;Admin - Users GetUserSubscriptionsAsAdmin - REST API (Power BI Power BI REST APIs) | Microsoft Learn&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 02:17:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/PowerBI-get-subscription-ID-after-authentication-Oauth/m-p/4296217#M11819</guid>
      <dc:creator>collinq</dc:creator>
      <dc:date>2024-11-22T02:17:12Z</dc:date>
    </item>
  </channel>
</rss>

