<?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: Paginated report embedded for your customer, RLS and CUSTOMDATA() in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Paginated-report-embedded-for-your-customer-RLS-and-CUSTOMDATA/m-p/3931893#M34985</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="565248" data-lia-user-login="mora11" class="lia-mention lia-mention-user"&gt;mora11&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;What will change after token generation?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You must currently be generating a token for the embedding to be work, you just need to push the value you are injecting into the CustomData into the User value for the token.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="565248" data-lia-user-login="mora11" class="lia-mention lia-mention-user"&gt;mora11&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Should I generate token for each and every user?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Yes, you should be doing this already&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="565248" data-lia-user-login="mora11" class="lia-mention lia-mention-user"&gt;mora11&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;I just need to know who is logged to my custom web application. Thanks&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Your app should already know this as it should be doing it's own authentication. What you need to do to get the RLS to work with a paginated report is to push the value you want to use for filtering in your RLS rule into the User field so that this can be passed on from the paginated report to the dataset UserName() function.&lt;/P&gt;</description>
    <pubDate>Mon, 20 May 2024 08:58:50 GMT</pubDate>
    <dc:creator>d_gosbell</dc:creator>
    <dc:date>2024-05-20T08:58:50Z</dc:date>
    <item>
      <title>Paginated report embedded for your customer, RLS and CUSTOMDATA()</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Paginated-report-embedded-for-your-customer-RLS-and-CUSTOMDATA/m-p/3908884#M34863</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm using Power BI Premium and additional web application with its own authentication. I have published Power BI report and I am using service principal to communicate Power BI service wit web application. I am passing a parameter from web app to PBI service to know, who is logged in and I am reading that information using CUSTOMDATA() for RLS purposes. It works perfectly well.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;However, I have published Paginated Report with very same set up and it turned out CUSTOMDATA() retreives null, USERPRINCIPALNAME() and USERNAME() both retreive my login as a report publisher for each logged in user and built in (native) Report Builder function UserID retreives the same string for each logged user as well (it may be my GUID). &lt;STRONG&gt;Question&lt;/STRONG&gt;: How to retreive in Paginated Report who is logged in to web app? How to get the same information like CUSTOMDATA() in Power BI but in Report Builder?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2024 12:50:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Paginated-report-embedded-for-your-customer-RLS-and-CUSTOMDATA/m-p/3908884#M34863</guid>
      <dc:creator>mora11</dc:creator>
      <dc:date>2024-05-10T12:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: Paginated report embedded for your customer, RLS and CUSTOMDATA()</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Paginated-report-embedded-for-your-customer-RLS-and-CUSTOMDATA/m-p/3911386#M34869</link>
      <description>&lt;P&gt;Paginated Reports do not have a CustomData property that can be passed on to the semantic model's CustomData property. You need to use the UserID to tunnel custom RLS information if you are using Paginated Reports as documented here&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/embedded/paginated-reports-row-level-security" target="_blank"&gt;Use row-level security when embedding paginated reports with Power BI embedded analytics content - Power BI | Microsoft Learn&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 12 May 2024 00:54:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Paginated-report-embedded-for-your-customer-RLS-and-CUSTOMDATA/m-p/3911386#M34869</guid>
      <dc:creator>d_gosbell</dc:creator>
      <dc:date>2024-05-12T00:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: Paginated report embedded for your customer, RLS and CUSTOMDATA()</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Paginated-report-embedded-for-your-customer-RLS-and-CUSTOMDATA/m-p/3913094#M34876</link>
      <description>&lt;P&gt;Thanks for your answer. I have read that article and I don't quite get that part about token generation. Currently in my case UserID function retreives string like the following pattern "xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" and it displays the same for each user. What will change after token generation? UserID will retreive different values for each user? Should I generate token for each and every user? I just need to know who is logged to my custom web application. Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2024 07:20:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Paginated-report-embedded-for-your-customer-RLS-and-CUSTOMDATA/m-p/3913094#M34876</guid>
      <dc:creator>mora11</dc:creator>
      <dc:date>2024-05-13T07:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: Paginated report embedded for your customer, RLS and CUSTOMDATA()</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Paginated-report-embedded-for-your-customer-RLS-and-CUSTOMDATA/m-p/3924984#M34950</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="573209" data-lia-user-login="Microsoft" class="lia-mention lia-mention-user"&gt;Microsoft&lt;/a&gt;, can you help?&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 19:50:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Paginated-report-embedded-for-your-customer-RLS-and-CUSTOMDATA/m-p/3924984#M34950</guid>
      <dc:creator>mora11</dc:creator>
      <dc:date>2024-05-16T19:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Paginated report embedded for your customer, RLS and CUSTOMDATA()</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Paginated-report-embedded-for-your-customer-RLS-and-CUSTOMDATA/m-p/3931893#M34985</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="565248" data-lia-user-login="mora11" class="lia-mention lia-mention-user"&gt;mora11&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;What will change after token generation?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You must currently be generating a token for the embedding to be work, you just need to push the value you are injecting into the CustomData into the User value for the token.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="565248" data-lia-user-login="mora11" class="lia-mention lia-mention-user"&gt;mora11&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Should I generate token for each and every user?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Yes, you should be doing this already&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="565248" data-lia-user-login="mora11" class="lia-mention lia-mention-user"&gt;mora11&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;I just need to know who is logged to my custom web application. Thanks&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Your app should already know this as it should be doing it's own authentication. What you need to do to get the RLS to work with a paginated report is to push the value you want to use for filtering in your RLS rule into the User field so that this can be passed on from the paginated report to the dataset UserName() function.&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 08:58:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Paginated-report-embedded-for-your-customer-RLS-and-CUSTOMDATA/m-p/3931893#M34985</guid>
      <dc:creator>d_gosbell</dc:creator>
      <dc:date>2024-05-20T08:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Paginated report embedded for your customer, RLS and CUSTOMDATA()</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Paginated-report-embedded-for-your-customer-RLS-and-CUSTOMDATA/m-p/3944253#M35035</link>
      <description>&lt;P&gt;No, the case is that USERNAME() in Paginated Reports retreives service principal id instead of user id. Built in function UserId does not recognize custom users properly.&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 14:31:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Paginated-report-embedded-for-your-customer-RLS-and-CUSTOMDATA/m-p/3944253#M35035</guid>
      <dc:creator>mora11</dc:creator>
      <dc:date>2024-05-23T14:31:27Z</dc:date>
    </item>
  </channel>
</rss>

