<?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: Cannot connect to dataset xxxxxxxx with embed token because XMLA permissions are off in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Cannot-connect-to-dataset-xxxxxxxx-with-embed-token-because-XMLA/m-p/3088406#M41343</link>
    <description>&lt;P&gt;Hi, I tried to add it as you mention but that property is not available in the&amp;nbsp;GenerateTokenRequestV2Dataset class so I can only send the id&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/dotnet/api/microsoft.powerbi.api.models.generatetokenrequestv2dataset?view=azure-dotnet" target="_blank"&gt;https://learn.microsoft.com/en-us/dotnet/api/microsoft.powerbi.api.models.generatetokenrequestv2dataset?view=azure-dotnet&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Feb 2023 16:12:19 GMT</pubDate>
    <dc:creator>anambedoya</dc:creator>
    <dc:date>2023-02-20T16:12:19Z</dc:date>
    <item>
      <title>Cannot connect to dataset xxxxxxxx with embed token because XMLA permissions are off</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Cannot-connect-to-dataset-xxxxxxxx-with-embed-token-because-XMLA/m-p/3085667#M41303</link>
      <description>&lt;P&gt;I'm trying to generate an embeded token for a Paginated Report but I keep getting the error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Unexpected HTTP exception: {"error":{"code":"InvalidRequest","message":"Cannot connect to dataset xxxxxxxxx with embed token because XMLA permissions are off"}}&lt;/PRE&gt;&lt;P&gt;I'm under a PPU trial and I see the XMLA option turned on in the admin settings. Do I need&amp;nbsp; additional permissions to perform this operation?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: The dataset linked to the report is a sample one generated in the PowerBI portal, I tried creating a manual dataset using Excel to test but it's not working either.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="anambedoya_0-1676664665578.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/873816iB0C6B6C81E224029/image-size/medium?v=v2&amp;amp;px=400" role="button" title="anambedoya_0-1676664665578.png" alt="anambedoya_0-1676664665578.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2023 20:15:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Cannot-connect-to-dataset-xxxxxxxx-with-embed-token-because-XMLA/m-p/3085667#M41303</guid>
      <dc:creator>anambedoya</dc:creator>
      <dc:date>2023-02-17T20:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to dataset xxxxxxxx with embed token because XMLA permissions are off</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Cannot-connect-to-dataset-xxxxxxxx-with-embed-token-because-XMLA/m-p/3086500#M41311</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you see this example:&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-paginated-report-which-has-a-power-bi-dataset-as-a-datasource.-the-id-of-the-dataset-must-be-specified-in-the-request.-the-report-and-dataset-can-each-have-its-own-identity" target="_blank"&gt;Embed Token - Generate Token - REST API (Power BI Power BI REST APIs) | Microsoft Learn&lt;/A&gt;&amp;nbsp;for generating an embed token for a paginated report which has a Power BI Dataset as a data source? In particular you should have the dataset ID in the list, and add "xmlaPermissions=true" for the dataset.&lt;/P&gt;</description>
      <pubDate>Sun, 19 Feb 2023 12:31:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Cannot-connect-to-dataset-xxxxxxxx-with-embed-token-because-XMLA/m-p/3086500#M41311</guid>
      <dc:creator>AmosHersch</dc:creator>
      <dc:date>2023-02-19T12:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to dataset xxxxxxxx with embed token because XMLA permissions are off</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Cannot-connect-to-dataset-xxxxxxxx-with-embed-token-because-XMLA/m-p/3088406#M41343</link>
      <description>&lt;P&gt;Hi, I tried to add it as you mention but that property is not available in the&amp;nbsp;GenerateTokenRequestV2Dataset class so I can only send the id&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/dotnet/api/microsoft.powerbi.api.models.generatetokenrequestv2dataset?view=azure-dotnet" target="_blank"&gt;https://learn.microsoft.com/en-us/dotnet/api/microsoft.powerbi.api.models.generatetokenrequestv2dataset?view=azure-dotnet&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 16:12:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Cannot-connect-to-dataset-xxxxxxxx-with-embed-token-because-XMLA/m-p/3088406#M41343</guid>
      <dc:creator>anambedoya</dc:creator>
      <dc:date>2023-02-20T16:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to dataset xxxxxxxx with embed token because XMLA permissions are off</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Cannot-connect-to-dataset-xxxxxxxx-with-embed-token-because-XMLA/m-p/3088438#M41344</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure why but the docs you see are for older version of the .Net SDK which is pretty old, and doesn't include xmlaPermissions parameter.&lt;/P&gt;&lt;P&gt;The latest version is 4.11.0 which does include it. Nuget is here:&amp;nbsp;&lt;A href="https://www.nuget.org/packages/Microsoft.PowerBI.Api/4.11.0" target="_blank"&gt;NuGet Gallery | Microsoft.PowerBI.Api 4.11.0&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 16:31:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Cannot-connect-to-dataset-xxxxxxxx-with-embed-token-because-XMLA/m-p/3088438#M41344</guid>
      <dc:creator>AmosHersch</dc:creator>
      <dc:date>2023-02-20T16:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to dataset xxxxxxxx with embed token because XMLA permissions are off</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Cannot-connect-to-dataset-xxxxxxxx-with-embed-token-because-XMLA/m-p/3088450#M41345</link>
      <description>&lt;P&gt;Thanks for the reply! It just worked for me from postman, I'll update that later... now, this is the embeded paginated report but it's asking me to log in to Power BI, do you know if it's possible not to ask the user to log just like in normal reports?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="anambedoya_0-1676910829196.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/874706i029F7DC52C787549/image-size/medium?v=v2&amp;amp;px=400" role="button" title="anambedoya_0-1676910829196.png" alt="anambedoya_0-1676910829196.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 16:34:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Cannot-connect-to-dataset-xxxxxxxx-with-embed-token-because-XMLA/m-p/3088450#M41345</guid>
      <dc:creator>anambedoya</dc:creator>
      <dc:date>2023-02-20T16:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to dataset xxxxxxxx with embed token because XMLA permissions are off</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Cannot-connect-to-dataset-xxxxxxxx-with-embed-token-because-XMLA/m-p/3089634#M41364</link>
      <description>&lt;P&gt;In "Embed for your customers" (AKA App Owns Data) scenario you're not suppose to see any sign-in page/dialog. Only in secure embedding scenario (&lt;A href="https://learn.microsoft.com/en-us/power-bi/collaborate-share/service-embed-secure" target="_blank"&gt;Embed a report in a secure portal or website - Power BI | Microsoft Learn&lt;/A&gt;) you should see it.&lt;/P&gt;&lt;P&gt;What is the report embed URL you are using? If it contains autoAuth=true then it's for secure embedding. In your scenario it shouldn't have it, and just look like this:&lt;BR /&gt;&lt;A href="https://app.powerbi.com/rdlEmbed?reportId=0c1af178-5ab5-4a57-b4ab-feb8586dxxx&amp;amp;config=eyJxxxxxxxx" target="_blank"&gt;https://app.powerbi.com/rdlEmbed?reportId=0c1af178-5ab5-4a57-b4ab-feb8586dxxx&amp;amp;config=eyJxxxxxxxx&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 07:20:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Cannot-connect-to-dataset-xxxxxxxx-with-embed-token-because-XMLA/m-p/3089634#M41364</guid>
      <dc:creator>AmosHersch</dc:creator>
      <dc:date>2023-02-21T07:20:02Z</dc:date>
    </item>
  </channel>
</rss>

