<?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: True read-only mode when embedding with dynamic binding in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/True-read-only-mode-when-embedding-with-dynamic-binding/m-p/2895056#M39638</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/403972"&gt;@v-jianboli-msft&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We've tried this. Unfortunately setting the 'allowEdit' field to false only prevents the user from using the 'save' functionality on the report. They are still able to 'save as'. This behaviour seems strange to me, but it seems to be what I'm seeing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;JJ Gray&lt;/P&gt;</description>
    <pubDate>Wed, 09 Nov 2022 10:17:32 GMT</pubDate>
    <dc:creator>jjgray-sl</dc:creator>
    <dc:date>2022-11-09T10:17:32Z</dc:date>
    <item>
      <title>True read-only mode when embedding with dynamic binding</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/True-read-only-mode-when-embedding-with-dynamic-binding/m-p/2883500#M39554</link>
      <description>&lt;P&gt;When embedding a report with dynamic binding using the &lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/embed-token/generate-token" target="_self"&gt;Embed Token - Generate Token&lt;/A&gt; endpoint, there doesn't appeat to be any way to restrict a user from calling the 'Save As' menu option.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is possible to hide the menu option in the configuration options, however I wouldn't consider browser code secure, and a malicious user could change this configuration and create resources in Power BI service. I want to prevent them from doing this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unlike the similar endpoints for reports (&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/embed-token/reports-generate-token-in-group" target="_self"&gt;Embed Token - Reports GenerateTokenInGroup&lt;/A&gt;), there is no field allowing you to specify 'allowSaveAs' on the token. I've tried using the&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/embed-token/reports-generate-token-in-group" target="_self"&gt;Embed Token - Reports GenerateTokenInGroup&lt;/A&gt; endpoint and setting a dataset ID but this results in 403 forbidden errors.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 17:05:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/True-read-only-mode-when-embedding-with-dynamic-binding/m-p/2883500#M39554</guid>
      <dc:creator>jjgray-sl</dc:creator>
      <dc:date>2022-11-03T17:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: True read-only mode when embedding with dynamic binding</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/True-read-only-mode-when-embedding-with-dynamic-binding/m-p/2884871#M39563</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/418897"&gt;@jjgray-sl&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you're using the&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/embed-token/generate-token" data-linktype="absolute-path" target="_blank"&gt;Generate token for multiple reports, datasets, and target workspaces&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;API, use the&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;allowEdit&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;parameter to grant the user viewing and editing permissions.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For more details, please refer to；&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/embedded/generate-embed-token#access-level" target="_blank"&gt;Generate an embed token in Power BI embedded analytics - Power BI | Microsoft Learn&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Jianbo Li&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2022 07:56:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/True-read-only-mode-when-embedding-with-dynamic-binding/m-p/2884871#M39563</guid>
      <dc:creator>v-jianboli-msft</dc:creator>
      <dc:date>2022-11-04T07:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: True read-only mode when embedding with dynamic binding</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/True-read-only-mode-when-embedding-with-dynamic-binding/m-p/2895056#M39638</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/403972"&gt;@v-jianboli-msft&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We've tried this. Unfortunately setting the 'allowEdit' field to false only prevents the user from using the 'save' functionality on the report. They are still able to 'save as'. This behaviour seems strange to me, but it seems to be what I'm seeing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;JJ Gray&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 10:17:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/True-read-only-mode-when-embedding-with-dynamic-binding/m-p/2895056#M39638</guid>
      <dc:creator>jjgray-sl</dc:creator>
      <dc:date>2022-11-09T10:17:32Z</dc:date>
    </item>
  </channel>
</rss>

