<?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 Issue with Embed Token Generation and RLS in Composite Model (Upstream/Downstream Datasets) in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Issue-with-Embed-Token-Generation-and-RLS-in-Composite-Model/m-p/5138796#M64772</link>
    <description>&lt;P&gt;We are using a composite model structured as follows:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Parent Dataset (Upstream)&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Child Dataset (Composite / DirectQuery)&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;STRONG&gt;Report (Embedded)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;HR /&gt;&lt;P&gt;We are encountering issues with embed token generation and data visibility under different RLS configurations:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;When &lt;STRONG&gt;RLS is applied on the downstream (child) dataset, embed token generation fails with the error:&lt;BR /&gt;&lt;/STRONG&gt;&lt;EM&gt;“Creating embed token with effective identity is not supported for this datasource.”&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;When &lt;STRONG&gt;RLS is applied on the upstream (parent) dataset, the embed token is generated successfully; however, the embedded report does not display any data.&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;When &lt;STRONG&gt;no RLS is applied on either dataset, the embed token is generated successfully, and the embedded report displays data as expected.&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Wed, 25 Mar 2026 12:25:39 GMT</pubDate>
    <dc:creator>jaymishra</dc:creator>
    <dc:date>2026-03-25T12:25:39Z</dc:date>
    <item>
      <title>Issue with Embed Token Generation and RLS in Composite Model (Upstream/Downstream Datasets)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Issue-with-Embed-Token-Generation-and-RLS-in-Composite-Model/m-p/5138796#M64772</link>
      <description>&lt;P&gt;We are using a composite model structured as follows:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Parent Dataset (Upstream)&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Child Dataset (Composite / DirectQuery)&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;STRONG&gt;Report (Embedded)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;HR /&gt;&lt;P&gt;We are encountering issues with embed token generation and data visibility under different RLS configurations:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;When &lt;STRONG&gt;RLS is applied on the downstream (child) dataset, embed token generation fails with the error:&lt;BR /&gt;&lt;/STRONG&gt;&lt;EM&gt;“Creating embed token with effective identity is not supported for this datasource.”&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;When &lt;STRONG&gt;RLS is applied on the upstream (parent) dataset, the embed token is generated successfully; however, the embedded report does not display any data.&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;When &lt;STRONG&gt;no RLS is applied on either dataset, the embed token is generated successfully, and the embedded report displays data as expected.&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 25 Mar 2026 12:25:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Issue-with-Embed-Token-Generation-and-RLS-in-Composite-Model/m-p/5138796#M64772</guid>
      <dc:creator>jaymishra</dc:creator>
      <dc:date>2026-03-25T12:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Embed Token Generation and RLS in Composite Model (Upstream/Downstream Datasets)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Issue-with-Embed-Token-Generation-and-RLS-in-Composite-Model/m-p/5139507#M64777</link>
      <description>&lt;P&gt;This is a well-known limitation with embedding and composite models that trips up a lot of developers. Let me break down each of your three scenarios:&lt;BR /&gt;Scenario 1 — RLS on downstream (child) composite dataset → token fails&lt;BR /&gt;This is by design. When generating an embed token with effective identity (GenerateTokenRequestV2), the RLS identity must be specified against the report's direct dataset — and for composite models, if that dataset references another dataset via DirectQuery, the embed token API doesn't support applying effective identity to the downstream/child dataset directly. The error message is essentially telling you that the datasource type (another Power BI dataset in composite mode) can't be the target of an embed token identity.&lt;BR /&gt;Scenario 2 — RLS on upstream (parent) dataset → token works but no data&lt;BR /&gt;This is the trickier one. The embed token generates fine because you're correctly targeting the upstream dataset. But no data shows because the service principal or master account used to generate the token needs explicit access to the upstream dataset too. In composite embedding scenarios, you must include both datasets in your GenerateTokenRequestV2 call — the report's dataset AND the upstream dataset it queries — and provide the effective identity for the upstream one.&lt;BR /&gt;Your token generation request should look like this:&lt;BR /&gt;json{&lt;BR /&gt;"reports": [{ "id": "&amp;lt;report-id&amp;gt;" }],&lt;BR /&gt;"datasets": [&lt;BR /&gt;{ "id": "&amp;lt;child-dataset-id&amp;gt;" },&lt;BR /&gt;{&lt;BR /&gt;"id": "&amp;lt;parent-dataset-id&amp;gt;",&lt;BR /&gt;"xmlaPermissions": "ReadOnly",&lt;BR /&gt;"effectiveIdentity": {&lt;BR /&gt;"username": "user@domain.com",&lt;BR /&gt;"roles": ["YourRLSRole"],&lt;BR /&gt;"datasets": ["&amp;lt;parent-dataset-id&amp;gt;"]&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;}&lt;BR /&gt;The key things to check: the service principal must have at least Build permission on the upstream dataset, both dataset IDs must be included in the datasets array, and the effectiveIdentity must reference the upstream dataset's ID.&lt;BR /&gt;Scenario 3 — No RLS → works fine confirms the architecture is correctly set up; it's purely a token + identity configuration issue&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2026 14:21:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Issue-with-Embed-Token-Generation-and-RLS-in-Composite-Model/m-p/5139507#M64777</guid>
      <dc:creator>Juan-Power-bi</dc:creator>
      <dc:date>2026-03-26T14:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Embed Token Generation and RLS in Composite Model (Upstream/Downstream Datasets)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Issue-with-Embed-Token-Generation-and-RLS-in-Composite-Model/m-p/5141003#M64797</link>
      <description>&lt;P&gt;Hi&lt;SPAN&gt;&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1285133"&gt;@jaymishra&lt;/a&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;We would like to confirm if our community members answer resolves your query or if you need further help. If you still have any questions or need more support, please feel free to let us know. We are happy to help you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/195973"&gt;@Juan-Power-bi&lt;/a&gt;, thanks for your prompt response.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your patience and look forward to hearing from you.&lt;BR /&gt;Best Regards,&lt;BR /&gt;Prashanth Are&lt;BR /&gt;MS Fabric community support&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2026 10:16:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Issue-with-Embed-Token-Generation-and-RLS-in-Composite-Model/m-p/5141003#M64797</guid>
      <dc:creator>v-prasare</dc:creator>
      <dc:date>2026-03-30T10:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Embed Token Generation and RLS in Composite Model (Upstream/Downstream Datasets)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Issue-with-Embed-Token-Generation-and-RLS-in-Composite-Model/m-p/5144143#M64838</link>
      <description>&lt;P&gt;Hi&lt;SPAN&gt;&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1285133" target="_blank"&gt;@jaymishra&lt;/A&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;We would like to confirm if our community members answer resolves your query or if you need further help. If you still have any questions or need more support, please feel free to let us know. We are happy to help you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your patience and look forward to hearing from you.&lt;BR /&gt;Best Regards,&lt;BR /&gt;Prashanth Are&lt;BR /&gt;MS Fabric community support&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2026 12:34:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Issue-with-Embed-Token-Generation-and-RLS-in-Composite-Model/m-p/5144143#M64838</guid>
      <dc:creator>v-prasare</dc:creator>
      <dc:date>2026-04-06T12:34:12Z</dc:date>
    </item>
  </channel>
</rss>

