<?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: PowerBI Embedded with composite model in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-with-composite-model/m-p/4107291#M54846</link>
    <description>&lt;P&gt;Hi, thank you very much. I was able to solve the problem by explicitly passing datasetID of parent semantic model and setting parameter xmlaPermission (in .NET implementation dataset´s&amp;nbsp;IDs are being passed automatically based on ReportID). I found a bit of information in one of the threads you provided and here:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/embedded/generate-embed-token#directquery-for-power-bi-semantic-models" target="_blank"&gt;Generate an embed token in Power BI embedded analytics - Power BI | Microsoft Learn.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In case of anyone else will be dealing&amp;nbsp;with the same problem, I had to:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;in&amp;nbsp;PbiEmbedService.cs: add parent &lt;EM&gt;datasetID&lt;/EM&gt; to &lt;EM&gt;datasetIds&amp;nbsp;&lt;/EM&gt;before they are being passed to &lt;EM&gt;GenerateTokenRequestV2Dataset()&lt;/EM&gt; method&lt;/LI&gt;&lt;LI&gt;when calling&amp;nbsp;&lt;EM&gt;GenerateTokenRequestV2Dataset() &lt;/EM&gt;add xmlaPermission parameter: GenerateTokenRequestV2Dataset(datasetId.ToString(), &lt;STRONG&gt;xmlaPermissions: XmlaPermissions.ReadOnly&lt;/STRONG&gt;). Here I had to use newest PowerBI API (4.20.0).&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Mon, 19 Aug 2024 16:02:38 GMT</pubDate>
    <dc:creator>vojtechremis</dc:creator>
    <dc:date>2024-08-19T16:02:38Z</dc:date>
    <item>
      <title>PowerBI Embedded with composite model</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-with-composite-model/m-p/4104100#M54802</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I am trying to use PowerBI Embedded with report which has semantic model with a Direct Query connection to another PBI semantic model. Specifically I am using .NET implementation provided by Microsoft&amp;nbsp;(&lt;A href="https://github.com/microsoft/PowerBI-Developer-Samples" target="_blank"&gt;https://github.com/microsoft/PowerBI-Developer-Samples&lt;/A&gt;). But I am ending with XMLA endpoint error:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Cannot connect to dataset xxxxxxxxxx with embed token because XMLA permissions are off.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wrote some information about adding XMLA_perrmision parameter to API calls or providing both dataset IDs. I tried both but end up with errors:&lt;BR /&gt;&lt;EM&gt;Generate token request for proxy model should include the core model ID.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Identity dataset xxxxxxxxxxxxx does not appear in the required datasets.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have any experience with implementing PowerBI Embedded with this scenario (i think it is also called composite model) and could give an advice?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 11:27:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-with-composite-model/m-p/4104100#M54802</guid>
      <dc:creator>vojtechremis</dc:creator>
      <dc:date>2024-08-16T11:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI Embedded with composite model</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-with-composite-model/m-p/4106059#M54834</link>
      <description>&lt;P&gt;Hi&amp;nbsp; &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/792662"&gt;@vojtechremis&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Based on the information provided in your error message, you first need to make sure that the workspace capacity of the dataset in which this report is located also meets the prerequisites for implementing an XMLA connection, and that the workspace XMLA connection is open:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/enterprise/troubleshoot-xmla-endpoint#enabling-the-xmla-endpoint" target="_blank"&gt;Troubleshoot XMLA endpoint connectivity in Power BI - Power BI | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Here's another post with the exact same error report with possible solutions, check out the link:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Developer/Cannot-connect-to-dataset-xxxxxxxx-with-embed-token-because-XMLA/m-p/3088450" target="_blank"&gt;Solved: Re: Cannot connect to dataset xxxxxxxx with embed ... - Microsoft Fabric Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Liu Yang&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;Accept it as the solution&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 03:24:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-with-composite-model/m-p/4106059#M54834</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-08-19T03:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI Embedded with composite model</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-with-composite-model/m-p/4107291#M54846</link>
      <description>&lt;P&gt;Hi, thank you very much. I was able to solve the problem by explicitly passing datasetID of parent semantic model and setting parameter xmlaPermission (in .NET implementation dataset´s&amp;nbsp;IDs are being passed automatically based on ReportID). I found a bit of information in one of the threads you provided and here:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/embedded/generate-embed-token#directquery-for-power-bi-semantic-models" target="_blank"&gt;Generate an embed token in Power BI embedded analytics - Power BI | Microsoft Learn.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In case of anyone else will be dealing&amp;nbsp;with the same problem, I had to:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;in&amp;nbsp;PbiEmbedService.cs: add parent &lt;EM&gt;datasetID&lt;/EM&gt; to &lt;EM&gt;datasetIds&amp;nbsp;&lt;/EM&gt;before they are being passed to &lt;EM&gt;GenerateTokenRequestV2Dataset()&lt;/EM&gt; method&lt;/LI&gt;&lt;LI&gt;when calling&amp;nbsp;&lt;EM&gt;GenerateTokenRequestV2Dataset() &lt;/EM&gt;add xmlaPermission parameter: GenerateTokenRequestV2Dataset(datasetId.ToString(), &lt;STRONG&gt;xmlaPermissions: XmlaPermissions.ReadOnly&lt;/STRONG&gt;). Here I had to use newest PowerBI API (4.20.0).&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Mon, 19 Aug 2024 16:02:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-with-composite-model/m-p/4107291#M54846</guid>
      <dc:creator>vojtechremis</dc:creator>
      <dc:date>2024-08-19T16:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI Embedded with composite model</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-with-composite-model/m-p/4406686#M59458</link>
      <description>&lt;P&gt;Hi, I'm facing the same error of "Identity dataset xxxx-xxxxxxx-xxxxxx does not appear in the required datasets".&lt;BR /&gt;Please could you provide more information on what you mean by&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;in&amp;nbsp;PbiEmbedService.cs: add parent&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;datasetID&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;datasetIds&amp;nbsp;&lt;/EM&gt;before they are being passed to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;GenerateTokenRequestV2Dataset()&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;method&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I'm not sure what you mean by adding it to&amp;nbsp;&lt;EM&gt;datasetIds before they are being passed to&amp;nbsp;GenerateTokenRequestV2Dataset()&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm doing exactly the same, power bi embedded using composite model&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2025 09:38:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-with-composite-model/m-p/4406686#M59458</guid>
      <dc:creator>dom99</dc:creator>
      <dc:date>2025-02-12T09:38:08Z</dc:date>
    </item>
  </channel>
</rss>

