<?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: Power API - Embedded in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Power-API-Embedded/m-p/327158#M9656</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="46289" data-lia-user-login="shaileng" class="lia-mention lia-mention-user"&gt;shaileng&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Need a suggestion:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My requirement -&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In my ASP.NET + Embedded &lt;STRONG&gt;Power BI application if a user belongs to group A then I have to show Report A and if he belongs to group B then I have to show Report B&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In order to control which user belongs to which group&lt;STRONG&gt; I can either create a web page in my asp.net application which simply lists user with option to select him to add to group A.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively I was thinking to create a role in PowerBi.com and add users to this group and programatically detect if user belongs to this group and if so programatically launch report A or report B accordingly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However as I understand Embedded Power BI API &lt;STRONG&gt;does not support detecting&lt;/STRONG&gt; whether a user belongs to certain group or not.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any idea or alternative ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Anonymous&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If user refers to Power BI users, then it is the&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/embedding#embedding-for-your-customers" target="_self"&gt;Embedding for your organization&lt;/A&gt;&amp;nbsp;scenario. In this scenario, you can define groupA and groupB in your application and embed reportA and reportB individually, however those reportA and reportB have to be accessible for those users in Power BI. Power BI detects the users after login.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If user refers to your App users, then&amp;nbsp;it is&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/embedding#embedding-for-your-customers" target="_self"&gt;Embedding for your customers&lt;/A&gt;&amp;nbsp;scenario. In this case, you just publish reports to Power BI services and embed with a master account. All access control is customized by yourself, the users even don't have to be&amp;nbsp;aware of Power BI. &lt;SPAN&gt;y&lt;/SPAN&gt;&lt;SPAN&gt;ou can define groupA and groupB in your application and embed reportA and reportB individually, every user has access to the embedding page can view the reports. No detection from Power BI(actually Power BI detects your master account) at all.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Dec 2017 00:58:57 GMT</pubDate>
    <dc:creator>Eric_Zhang</dc:creator>
    <dc:date>2017-12-21T00:58:57Z</dc:date>
    <item>
      <title>Power API - Embedded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-API-Embedded/m-p/326795#M9651</link>
      <description>&lt;P&gt;Need a suggestion:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My requirement -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my ASP.NET + Embedded Power BI application if a user belongs to group A then I have to show Report A and if he belongs to group B then I have to show Report B&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In order to control which user belongs to which group I can either create a web page in my asp.net application which simply lists user with option to select him to add to group A.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternatively I was thinking to create a role in PowerBi.com and add users to this group and programatically detect if user belongs to this group and if so programatically launch report A or report B accordingly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However as I understand Embedded Power BI API does not support detecting whether a user belongs to certain group or not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea or alternative ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2017 12:55:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-API-Embedded/m-p/326795#M9651</guid>
      <dc:creator>shaileng</dc:creator>
      <dc:date>2017-12-20T12:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: Power API - Embedded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-API-Embedded/m-p/327109#M9654</link>
      <description>&lt;P&gt;I think you're going to want to control visibility of the links to the reports within your application. With Embedded, the server just know about the groupid &amp;amp; reportid and has no idea what rights a user, logged into your application, has.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2017 21:45:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-API-Embedded/m-p/327109#M9654</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-20T21:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Power API - Embedded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-API-Embedded/m-p/327158#M9656</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="46289" data-lia-user-login="shaileng" class="lia-mention lia-mention-user"&gt;shaileng&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Need a suggestion:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My requirement -&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In my ASP.NET + Embedded &lt;STRONG&gt;Power BI application if a user belongs to group A then I have to show Report A and if he belongs to group B then I have to show Report B&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In order to control which user belongs to which group&lt;STRONG&gt; I can either create a web page in my asp.net application which simply lists user with option to select him to add to group A.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively I was thinking to create a role in PowerBi.com and add users to this group and programatically detect if user belongs to this group and if so programatically launch report A or report B accordingly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However as I understand Embedded Power BI API &lt;STRONG&gt;does not support detecting&lt;/STRONG&gt; whether a user belongs to certain group or not.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any idea or alternative ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Anonymous&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If user refers to Power BI users, then it is the&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/embedding#embedding-for-your-customers" target="_self"&gt;Embedding for your organization&lt;/A&gt;&amp;nbsp;scenario. In this scenario, you can define groupA and groupB in your application and embed reportA and reportB individually, however those reportA and reportB have to be accessible for those users in Power BI. Power BI detects the users after login.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If user refers to your App users, then&amp;nbsp;it is&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/embedding#embedding-for-your-customers" target="_self"&gt;Embedding for your customers&lt;/A&gt;&amp;nbsp;scenario. In this case, you just publish reports to Power BI services and embed with a master account. All access control is customized by yourself, the users even don't have to be&amp;nbsp;aware of Power BI. &lt;SPAN&gt;y&lt;/SPAN&gt;&lt;SPAN&gt;ou can define groupA and groupB in your application and embed reportA and reportB individually, every user has access to the embedding page can view the reports. No detection from Power BI(actually Power BI detects your master account) at all.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2017 00:58:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-API-Embedded/m-p/327158#M9656</guid>
      <dc:creator>Eric_Zhang</dc:creator>
      <dc:date>2017-12-21T00:58:57Z</dc:date>
    </item>
  </channel>
</rss>

