<?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 Embedding report with multiple datasets(direct queries) in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Embedding-report-with-multiple-datasets-direct-queries/m-p/3419797#M44323</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to embed a report with multiple datasets in direct query mode? the datasets and dataflows are located in 2 other workspaces with PPU licenses while the report is located in a third PPU workspace?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we are using the Microsoft sample code &lt;A href="https://github.com/microsoft/PowerBI-Developer-Samples/blob/master/.NET%20Core/Embed%20for%20your%20customers/AppOwnsData/Services/PbiEmbedService.cs" target="_self"&gt;here&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error we're getting is :&lt;BR /&gt;&lt;SPAN class=""&gt;"value"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"Operation returned an invalid status code 'BadRequest' _ {\"error\":{\"code\":\"InvalidRequest\",\"message\":\"Cannot connect to&lt;BR /&gt;dataset xxxxxxxx with embed token because XMLA permissions are off\"}}"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How is the xmla related to this? any ideas on how to solve this&lt;/P&gt;</description>
    <pubDate>Thu, 07 Sep 2023 13:45:21 GMT</pubDate>
    <dc:creator>NoorAlfar</dc:creator>
    <dc:date>2023-09-07T13:45:21Z</dc:date>
    <item>
      <title>Embedding report with multiple datasets(direct queries)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Embedding-report-with-multiple-datasets-direct-queries/m-p/3419797#M44323</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to embed a report with multiple datasets in direct query mode? the datasets and dataflows are located in 2 other workspaces with PPU licenses while the report is located in a third PPU workspace?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we are using the Microsoft sample code &lt;A href="https://github.com/microsoft/PowerBI-Developer-Samples/blob/master/.NET%20Core/Embed%20for%20your%20customers/AppOwnsData/Services/PbiEmbedService.cs" target="_self"&gt;here&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error we're getting is :&lt;BR /&gt;&lt;SPAN class=""&gt;"value"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"Operation returned an invalid status code 'BadRequest' _ {\"error\":{\"code\":\"InvalidRequest\",\"message\":\"Cannot connect to&lt;BR /&gt;dataset xxxxxxxx with embed token because XMLA permissions are off\"}}"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How is the xmla related to this? any ideas on how to solve this&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 13:45:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Embedding-report-with-multiple-datasets-direct-queries/m-p/3419797#M44323</guid>
      <dc:creator>NoorAlfar</dc:creator>
      <dc:date>2023-09-07T13:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: Embedding report with multiple datasets(direct queries)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Embedding-report-with-multiple-datasets-direct-queries/m-p/3419827#M44325</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="333137" data-lia-user-login="NoorAlfar" class="lia-mention lia-mention-user"&gt;NoorAlfar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please take a look at this example for generating an embed token with XmlaPermissions :&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/embed-token/generate-token#example-of-generating-an-embed-token-for-a-power-bi-report-with-a-dataset-which-is-connected-with-directquery-to-another-power-bi-dataset.-all-related-dataset-ids-must-be-specified-in-the-request-with-'xmlapermissions'-set-to-'readonly'.-identityblobs-for-all-sso-enabled-data-sources-must-be-provided-in-the-'datasourceidentities'-array" target="_blank"&gt;Embed Token - Generate Token - REST API (Power BI Power BI REST APIs) | Microsoft Learn&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 14:00:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Embedding-report-with-multiple-datasets-direct-queries/m-p/3419827#M44325</guid>
      <dc:creator>AmosHersch</dc:creator>
      <dc:date>2023-09-07T14:00:38Z</dc:date>
    </item>
  </channel>
</rss>

