<?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: Generate Tokek Embedded - Error: proxy model should include the core model ID in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Generate-Tokek-Embedded-Error-proxy-model-should-include-the/m-p/4662150#M60636</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/197418"&gt;@marcio_fornari&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;Thank you for reaching out to Microsoft Fabric Community.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;It looks like the issue you're facing is very similar to one that another user encountered earlier. That issue has been resolved, and the solution might be helpful in your case as well.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;Please refer to the post linked below for the full explanation and steps:&lt;BR /&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Report-Server/Error-Generate-token-request-for-proxy-model-should-include-the/m-p/3183449#M29471" target="_blank"&gt;Solved: Re: Error: Generate token request for proxy model ... - Microsoft Fabric Community&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;&lt;EM&gt;&lt;STRONG&gt;If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;B Manikanteswara Reddy&lt;/P&gt;</description>
    <pubDate>Tue, 22 Apr 2025 05:06:41 GMT</pubDate>
    <dc:creator>v-bmanikante</dc:creator>
    <dc:date>2025-04-22T05:06:41Z</dc:date>
    <item>
      <title>Generate Tokek Embedded - Error: proxy model should include the core model ID</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Generate-Tokek-Embedded-Error-proxy-model-should-include-the/m-p/4661320#M60611</link>
      <description>&lt;P&gt;i have a report conected with 3 datasets. Two has RLS. &amp;nbsp;The datasets ares in different workspaces.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To generate the token, my request contain all the datasets, body request:&lt;/P&gt;&lt;P&gt;Post:&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://api.powerbi.com/v1.0/myorg/GenerateToken" target="_blank" rel="noopener"&gt;https://api.powerbi.com/v1.0/myorg/GenerateToken&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;  "datasets" =&amp;gt; 
    [
      //dataset of report
      "id" =&amp;gt; "f213a5d2-d028-424b-b9d4-daae68d740ea"
      "xmlaPermissions" =&amp;gt; "ReadOnly"
    ]
    [
      //dataset1
      "id" =&amp;gt; "42da3437-daf5-4f0b-b9db-dc8a6d7211f0"
      "xmlaPermissions" =&amp;gt; "ReadOnly"
    ]
    [
      //dataset2
      "id" =&amp;gt; "0d100a5b-d61a-414c-ac7e-53a5d9ae75da"
      "xmlaPermissions" =&amp;gt; "ReadOnly"
    ]
  ]
  "reports" =&amp;gt; [
      "id" =&amp;gt; "fc4f1364-f740-4ddb-851c-9a17337ccd11"
  ]
  "identities" =&amp;gt; 
    [
      "username" =&amp;gt; "Roma"
      "roles" =&amp;gt; [
       "regra1"
      ]
      "datasets" =&amp;gt; [
        "42da3437-daf5-4f0b-b9db-dc8a6d7211f0"
      ]
    ]
    [
      "username" =&amp;gt; "Roma"
      "roles" =&amp;gt;[
        "regra1"
      ]
      "datasets" =&amp;gt; [
        "0d100a5b-d61a-414c-ac7e-53a5d9ae75da"
      ]
    ]
  ]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;i got this error:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Generate token request for proxy model should include the core model ID&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;my report lineage:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="marcio_fornari_0-1745242827329.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1261976i60394E87F793CD31/image-size/large?v=v2&amp;amp;px=999" role="button" title="marcio_fornari_0-1745242827329.png" alt="marcio_fornari_0-1745242827329.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Apr 2025 13:45:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Generate-Tokek-Embedded-Error-proxy-model-should-include-the/m-p/4661320#M60611</guid>
      <dc:creator>marcio_fornari</dc:creator>
      <dc:date>2025-04-21T13:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Tokek Embedded - Error: proxy model should include the core model ID</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Generate-Tokek-Embedded-Error-proxy-model-should-include-the/m-p/4662150#M60636</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/197418"&gt;@marcio_fornari&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;Thank you for reaching out to Microsoft Fabric Community.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;It looks like the issue you're facing is very similar to one that another user encountered earlier. That issue has been resolved, and the solution might be helpful in your case as well.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;Please refer to the post linked below for the full explanation and steps:&lt;BR /&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Report-Server/Error-Generate-token-request-for-proxy-model-should-include-the/m-p/3183449#M29471" target="_blank"&gt;Solved: Re: Error: Generate token request for proxy model ... - Microsoft Fabric Community&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;&lt;EM&gt;&lt;STRONG&gt;If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;B Manikanteswara Reddy&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2025 05:06:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Generate-Tokek-Embedded-Error-proxy-model-should-include-the/m-p/4662150#M60636</guid>
      <dc:creator>v-bmanikante</dc:creator>
      <dc:date>2025-04-22T05:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Tokek Embedded - Error: proxy model should include the core model ID</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Generate-Tokek-Embedded-Error-proxy-model-should-include-the/m-p/4663370#M60673</link>
      <description>&lt;P&gt;Hi, not working for me..&amp;nbsp;&lt;SPAN&gt;I tried it, receiving same error, see my post.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2025 14:19:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Generate-Tokek-Embedded-Error-proxy-model-should-include-the/m-p/4663370#M60673</guid>
      <dc:creator>marcio_fornari</dc:creator>
      <dc:date>2025-04-22T14:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Tokek Embedded - Error: proxy model should include the core model ID</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Generate-Tokek-Embedded-Error-proxy-model-should-include-the/m-p/4664493#M60689</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/197418"&gt;@marcio_fornari&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;You're getting the error "Generate token request for proxy model should include the core model ID" because your report is based on a semantic model (proxy dataset) that connects to other datasets with RLS, possibly from different workspaces. This setup is known as a composite model or DirectQuery for Power BI datasets.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;To fix this when generating the embed token:&lt;/P&gt;
&lt;OL style="direction: ltr; unicode-bidi: embed; margin-top: 0in; margin-bottom: 0in; font-family: Arial; font-size: 11.0pt; font-weight: normal; font-style: normal;" type="1"&gt;
&lt;LI style="margin-top: 0; margin-bottom: 0; vertical-align: middle;" value="1"&gt;&lt;SPAN&gt;Make sure you include all related dataset IDs in your request — both the report's own dataset (proxy model) and the connected core datasets.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="margin-top: 0; margin-bottom: 0; vertical-align: middle;"&gt;&lt;SPAN&gt;Most importantly, you need to add these two properties to the proxy model dataset in your request:&lt;/SPAN&gt;&lt;/LI&gt;
&lt;UL style="direction: ltr; unicode-bidi: embed; margin-top: 0in; margin-bottom: 0in;" type="disc"&gt;
&lt;LI style="margin-top: 0; margin-bottom: 0; vertical-align: middle;"&gt;&lt;SPAN&gt;"isEffectiveIdentityRequired": true&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="margin-top: 0; margin-bottom: 0; vertical-align: middle;"&gt;&lt;SPAN&gt;"isEffectiveIdentityRolesRequired": true&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can refer the below document as reference.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/embed-token/reports-generate-token-in-group" target="_blank"&gt;Embed Token - Reports GenerateTokenInGroup - REST API (Power BI Power BI REST APIs) | Microsoft Learn&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#99CC00"&gt;&lt;STRONG&gt;&lt;I&gt;If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!&lt;/I&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;B Manikanteswara Reddy&lt;/P&gt;
&lt;P style="margin: 0in; margin-left: .75in; font-family: Arial; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2025 08:00:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Generate-Tokek-Embedded-Error-proxy-model-should-include-the/m-p/4664493#M60689</guid>
      <dc:creator>v-bmanikante</dc:creator>
      <dc:date>2025-04-23T08:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Tokek Embedded - Error: proxy model should include the core model ID</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Generate-Tokek-Embedded-Error-proxy-model-should-include-the/m-p/4668440#M60797</link>
      <description>&lt;P&gt;Hi, now the report is open, but i got this error on my visuals&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="marcio_fornari_0-1745585683837.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1263351iDF8EA928E35B456C/image-size/large?v=v2&amp;amp;px=999" role="button" title="marcio_fornari_0-1745585683837.png" alt="marcio_fornari_0-1745585683837.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Apr 2025 12:55:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Generate-Tokek-Embedded-Error-proxy-model-should-include-the/m-p/4668440#M60797</guid>
      <dc:creator>marcio_fornari</dc:creator>
      <dc:date>2025-04-25T12:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Tokek Embedded - Error: proxy model should include the core model ID</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Generate-Tokek-Embedded-Error-proxy-model-should-include-the/m-p/4670482#M60825</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/197418"&gt;@marcio_fornari&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Glad to hear the report opens now.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The new error you're seeing, &lt;FONT color="#FF0000"&gt;"Error fetching data for this visual,&lt;/FONT&gt;" usually happens because &lt;STRONG&gt;t&lt;/STRONG&gt;he visuals are trying to connect directly to the core datasets and the embed token does not properly authorize access to them.&lt;/P&gt;
&lt;P&gt;In your case (composite model + multiple datasets + RLS), you must:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ensure that when generating the embed token:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;ALL datasets involved are listed under the "datasets" array (you already have this).&lt;/LI&gt;
&lt;LI&gt;Each dataset with RLS has an associated identity in the "identities" section (you are doing this correctly too).&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Also add these two properties for the datasets used by the report (especially the &lt;I&gt;proxy dataset&lt;/I&gt; ,the one that links to others):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;{&lt;BR /&gt;&amp;nbsp; "id": "f213a5d2-d028-424b-b9d4-daae68d740ea",&amp;nbsp;&amp;nbsp; // your proxy dataset&lt;BR /&gt;&amp;nbsp; "xmlaPermissions": "ReadOnly",&lt;BR /&gt;&amp;nbsp; "isEffectiveIdentityRequired": true,&lt;BR /&gt;&amp;nbsp; "isEffectiveIdentityRolesRequired": true&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;These flags must be present on the proxy dataset entry (your main report's dataset) to correctly pass through user identity to underlying datasets.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV style="direction: ltr;"&gt;
&lt;TABLE style="direction: ltr; border-collapse: collapse; border: 1pt solid #A3A3A3;" title="" border="1" summary="" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style="background-color: #c5e0b3; vertical-align: top; width: 7.5284in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;H4 style="margin: 0in; font-family: Calibri; font-size: 12.0pt;"&gt;&lt;SPAN&gt;If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!&lt;/SPAN&gt;&lt;/H4&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;B Manikanteswara Reddy&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2025 09:50:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Generate-Tokek-Embedded-Error-proxy-model-should-include-the/m-p/4670482#M60825</guid>
      <dc:creator>v-bmanikante</dc:creator>
      <dc:date>2025-04-28T09:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Tokek Embedded - Error: proxy model should include the core model ID</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Generate-Tokek-Embedded-Error-proxy-model-should-include-the/m-p/4671058#M60841</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;doesn't work &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;BR /&gt;&lt;STRONG&gt;My post has a image with 4 datasets.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;1 - dataset of report&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;2 - Dataset 1 and Dataset 2 with RLS&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;3 - dataset no rls&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Download of the 4 pbix:&amp;nbsp;&lt;A href="https://easyupload.io/m/ew5xx7" target="_self"&gt;https://easyupload.io/m/ew5xx7&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;POST /v1.0/myorg/GenerateToken HTTP/1.1
Host: api.powerbi.com
Authorization: Bearer xxxxx
Content-Type: application/json

BODY: 
{
  "datasets": [
    {
      "id": "f213a5d2-d028-424b-b9d4-daae68d740ea",
      "xmlaPermissions": "ReadOnly",
      "isEffectiveIdentityRequired": false, //dataset of report
      "isEffectiveIdentityRolesRequired": false //dataset of report
    },
    {
      "id": "23a0db58-fa8f-4fd5-8fae-51479d0c021a",
      "xmlaPermissions": "ReadOnly",
      "isEffectiveIdentityRequired": false, //because this dataset not have rls (dataset no rls)
      "isEffectiveIdentityRolesRequired": false //because this dataset not have rls (dataset no rls)
    },
    {
      "id": "42da3437-daf5-4f0b-b9db-dc8a6d7211f0",
      "xmlaPermissions": "ReadOnly",
      "isEffectiveIdentityRequired": true, //this dataset has rls (dataset 1)
      "isEffectiveIdentityRolesRequired": true //this dataset has rls (dataset 1)
    },
    {
      "id": "0d100a5b-d61a-414c-ac7e-53a5d9ae75da",
      "xmlaPermissions": "ReadOnly",
      "isEffectiveIdentityRequired": true, //this dataset has rls (dataset 2)
      "isEffectiveIdentityRolesRequired": true //this dataset has rls (dataset 2)
    }
  ],
  "reports": [
    {
      "id": "fc4f1364-f740-4ddb-851c-9a17337ccd11"
    }
  ],
  "identities": [
    {
      "username": "Roma",
      "roles": [
        "regra1"
      ],
      "datasets": [
        "42da3437-daf5-4f0b-b9db-dc8a6d7211f0" //(dataset 1)
      ]
    },
    {
      "username": "Roma",
      "roles": [
        "regra1"
      ],
      "datasets": [
        "0d100a5b-d61a-414c-ac7e-53a5d9ae75da" // dataset 2
      ]
    }
  ]
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2025 13:10:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Generate-Tokek-Embedded-Error-proxy-model-should-include-the/m-p/4671058#M60841</guid>
      <dc:creator>marcio_fornari</dc:creator>
      <dc:date>2025-04-28T13:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Tokek Embedded - Error: proxy model should include the core model ID</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Generate-Tokek-Embedded-Error-proxy-model-should-include-the/m-p/4674105#M60904</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/197418"&gt;@marcio_fornari&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the detailed info and for sharing your setup!&lt;/P&gt;
&lt;P&gt;Based on your current request and the behaviour you're seeing (&lt;FONT color="#FF0000"&gt;"Error fetching data for this visual"&lt;/FONT&gt;), here are some key things to check and adjust:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;STRONG&gt;isEffectiveIdentityRequired / isEffectiveIdentityRolesRequired&lt;/STRONG&gt; on Proxy Dataset Even if the proxy dataset (your report's dataset) doesn’t have RLS itself, these two flags must be set to true because it's &lt;I&gt;proxying identity to downstream datasets that do have RLS&lt;/I&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;So this is the correction you need to make:&lt;/P&gt;
&lt;P&gt;{&lt;BR /&gt;&amp;nbsp; "id": "f213a5d2-d028-424b-b9d4-daae68d740ea",&amp;nbsp; // Proxy dataset&lt;BR /&gt;&amp;nbsp; "xmlaPermissions": "ReadOnly",&lt;BR /&gt;&amp;nbsp; "isEffectiveIdentityRequired": true,&lt;BR /&gt;&amp;nbsp; "isEffectiveIdentityRolesRequired": true&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL start="2"&gt;
&lt;LI&gt;&lt;STRONG&gt;identities section must include ALL datasets requiring RLS&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;You're currently passing separate identities for each RLS dataset , that’s okay(both can work). But you can also combine them into a single entry like this:&lt;/P&gt;
&lt;P&gt;{&lt;BR /&gt;&amp;nbsp; "username": "Roma",&lt;BR /&gt;&amp;nbsp; "roles": ["regra1"],&lt;BR /&gt;&amp;nbsp; "datasets": [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "42da3437-daf5-4f0b-b9db-dc8a6d7211f0",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "0d100a5b-d61a-414c-ac7e-53a5d9ae75da"&lt;BR /&gt;&amp;nbsp; ]&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;This ensures consistency and is easier to manage.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL start="3"&gt;
&lt;LI&gt;Proxy dataset should always pass identity even if it doesn’t use it directly&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;That's the core reason for the "Error fetching data for this visual" in composite models with RLS&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV style="direction: ltr;"&gt;
&lt;TABLE style="direction: ltr; border-collapse: collapse; border: 1pt solid #A3A3A3;" title="" border="1" summary="" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style="background-color: #c5e0b3; vertical-align: top; width: 7.5284in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;H4 style="margin: 0in; font-family: Calibri; font-size: 12.0pt;"&gt;&lt;SPAN&gt;If this post helps, then please consider &lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;Accepting as solution&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt; to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!&lt;/SPAN&gt;&lt;/H4&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;B Manikanteswara Reddy&lt;/P&gt;</description>
      <pubDate>Wed, 30 Apr 2025 07:28:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Generate-Tokek-Embedded-Error-proxy-model-should-include-the/m-p/4674105#M60904</guid>
      <dc:creator>v-bmanikante</dc:creator>
      <dc:date>2025-04-30T07:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Tokek Embedded - Error: proxy model should include the core model ID</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Generate-Tokek-Embedded-Error-proxy-model-should-include-the/m-p/4674541#M60907</link>
      <description>&lt;P&gt;Hi, i found my error. I was generating the token with "master user". Generate token with "service principal" works. I don't understand why generate token with master user doesn't work, and a question. Can i ignore the RLS with "service principal" and open the report without the filter ?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Apr 2025 11:11:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Generate-Tokek-Embedded-Error-proxy-model-should-include-the/m-p/4674541#M60907</guid>
      <dc:creator>marcio_fornari</dc:creator>
      <dc:date>2025-04-30T11:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Tokek Embedded - Error: proxy model should include the core model ID</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Generate-Tokek-Embedded-Error-proxy-model-should-include-the/m-p/4675813#M60920</link>
      <description>&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/197418"&gt;@marcio_fornari&lt;/a&gt;,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;Thanks for the update, glad to hear you figured it out!&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;Yes, this behavior makes sense. When generating the embed token using a &lt;SPAN&gt;master user&lt;/SPAN&gt;, there can be permission issues, especially with composite models and RLS across different workspaces. That’s why using a &lt;SPAN&gt;service principal&lt;/SPAN&gt; (which is the recommended approach for embedding) worked for you.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;Regarding your question :&amp;nbsp;&lt;SPAN&gt;yes, you can skip RLS when using a service principal&lt;/SPAN&gt;. To do that, simply don’t include the "identities" section in your GenerateToken request. If you don't pass any identities, Power BI won't apply RLS, and the service principal will see all the data in the report.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV style="direction: ltr;"&gt;
&lt;TABLE style="direction: ltr; border-collapse: collapse; border: 1pt solid #A3A3A3;" title="" border="1" summary="" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style="background-color: #c5e0b3; vertical-align: top; width: 7.5284in; padding: 4pt 4pt 4pt 4pt; border: 1pt solid #A3A3A3;"&gt;
&lt;H4 style="margin: 0in; font-family: Calibri; font-size: 12.0pt;"&gt;&lt;SPAN&gt;If this post helps, then please consider &lt;/SPAN&gt;&lt;FONT face="arial black,avant garde"&gt;&lt;EM&gt;&lt;STRONG&gt;Accepting as solution&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;SPAN&gt; to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!&lt;/SPAN&gt;&lt;/H4&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;B Manikanteswara Reddy&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 May 2025 12:10:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Generate-Tokek-Embedded-Error-proxy-model-should-include-the/m-p/4675813#M60920</guid>
      <dc:creator>v-bmanikante</dc:creator>
      <dc:date>2025-05-01T12:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Tokek Embedded - Error: proxy model should include the core model ID</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Generate-Tokek-Embedded-Error-proxy-model-should-include-the/m-p/4677869#M60967</link>
      <description>&lt;P&gt;Thanks for the support&lt;/P&gt;</description>
      <pubDate>Fri, 02 May 2025 14:36:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Generate-Tokek-Embedded-Error-proxy-model-should-include-the/m-p/4677869#M60967</guid>
      <dc:creator>marcio_fornari</dc:creator>
      <dc:date>2025-05-02T14:36:03Z</dc:date>
    </item>
  </channel>
</rss>

