<?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: Divert to page index project app owns data in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Divert-to-page-index-project-app-owns-data/m-p/2456627#M35542</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/371585"&gt;@apenaranda&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please review the following links, hope they can help you get the solution.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/embedded/embedded-row-level-security" target="_self"&gt;Row-level security with Power BI Embedded&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Developer/Power-BI-Embedded-Row-Level-Security/m-p/454443" target="_self"&gt;&lt;SPAN&gt;Power BI Embedded Row Level Security&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Since the "App Owns Data" only use one Power BI account, we can't identify the end users (your application users) with Power BI accounts.&lt;/P&gt;
&lt;P&gt;1. No, the users are your application users.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. In one words, there is only one Power BI account in this scenario. The end users are identified by the tokens. So it won't work here that we assign roles in Power BI Service. Please refer to:&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/embedded-row-level-security#considerations-and-limitations" target="_self" rel="nofollow noopener noreferrer"&gt;#considerations-and-limitations&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;gt;&amp;gt;Assignment of users to roles within the Power BI service does not affect RLS when using an embed token.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. Yes, if we assign roles to users in the Service, they must be Power BI users. But this won't be necessary in this scenario. Please refer to the item 2 above for reasons.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;A href="https://docs.loomesoftware.com/publish/integration/power-bi/embedding/app-owns-data/" target="_self"&gt;APP OWNS DATA&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
    <pubDate>Thu, 14 Apr 2022 07:16:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-04-14T07:16:55Z</dc:date>
    <item>
      <title>Divert to page index project app owns data</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Divert-to-page-index-project-app-owns-data/m-p/2448712#M35455</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I expose data:&lt;BR /&gt;I use the App Owns Data project, a basic project, since it doesn't ask for user/pwd and creates the embed whoever it is.&lt;BR /&gt;In homcontroller.cs:&lt;BR /&gt;There is the basic structure where is index:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;public ActionResult Index(string nombre) {
            return View();
    }&lt;/LI-CODE&gt;&lt;P&gt;There is also the report part:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;public async Task&amp;lt;ActionResult&amp;gt; Dashboard() {
      DashboardEmbeddingData embeddingData = await PbiEmbeddingManager.GetDashboardEmbeddingData();
      return View(embeddingData);
    }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The question is, is there a chance for it to show Dashboard if it meets a requirement?&lt;/P&gt;&lt;P&gt;Something similar to an if…&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;if (login == "pepe")
            {
                DashboardEmbeddingData embeddingData = await PbiEmbeddingManager.GetDashboardEmbeddingData();
                return View(embeddingData);
            }
            return View();&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Basically make it only go to the Dashboard page if it meets, if it doesn't meet I would like it to go to the Index page&lt;BR /&gt;Thank you very much&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 07:39:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Divert-to-page-index-project-app-owns-data/m-p/2448712#M35455</guid>
      <dc:creator>apenaranda</dc:creator>
      <dc:date>2022-04-11T07:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: Divert to page index project app owns data</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Divert-to-page-index-project-app-owns-data/m-p/2456627#M35542</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/371585"&gt;@apenaranda&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please review the following links, hope they can help you get the solution.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/embedded/embedded-row-level-security" target="_self"&gt;Row-level security with Power BI Embedded&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Developer/Power-BI-Embedded-Row-Level-Security/m-p/454443" target="_self"&gt;&lt;SPAN&gt;Power BI Embedded Row Level Security&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Since the "App Owns Data" only use one Power BI account, we can't identify the end users (your application users) with Power BI accounts.&lt;/P&gt;
&lt;P&gt;1. No, the users are your application users.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. In one words, there is only one Power BI account in this scenario. The end users are identified by the tokens. So it won't work here that we assign roles in Power BI Service. Please refer to:&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/embedded-row-level-security#considerations-and-limitations" target="_self" rel="nofollow noopener noreferrer"&gt;#considerations-and-limitations&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;gt;&amp;gt;Assignment of users to roles within the Power BI service does not affect RLS when using an embed token.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. Yes, if we assign roles to users in the Service, they must be Power BI users. But this won't be necessary in this scenario. Please refer to the item 2 above for reasons.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;A href="https://docs.loomesoftware.com/publish/integration/power-bi/embedding/app-owns-data/" target="_self"&gt;APP OWNS DATA&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2022 07:16:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Divert-to-page-index-project-app-owns-data/m-p/2456627#M35542</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-04-14T07:16:55Z</dc:date>
    </item>
  </channel>
</rss>

