<?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 Web requests failing in latest versions of Chrome/Edge in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Web-requests-failing-in-latest-versions-of-Chrome-Edge/m-p/4913782#M13025</link>
    <description>&lt;P&gt;Hello everyone.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wanted to bring attention to an issue that I have not seen discussed much, but that since about a month ago is affecting every Chrome/Edge user that interacts with custom visuals that make rest calls to a backend service (and ask if anyone has a solution as of now).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have already reported the issue &lt;A href="https://github.com/microsoft/powerbi-visuals-api/issues/101" target="_self"&gt;on github&lt;/A&gt; and via e-mail to Microsoft, but didn't get much useful feedback. In short, here is the issue summed up:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since Chrome v142 (and equivalent Edge version), Google introduced the&amp;nbsp;&lt;A href="https://chromestatus.com/feature/5152728072060928" target="_self"&gt;Local Network Access restrictions&lt;/A&gt;&amp;nbsp;feature, which limits how a public website can interact with local web resources (i.e.: making REST calls to either "localhost" or a private network addresses like 10.x.x.x or 192.x.x.x)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In a normal scenario this just means that to make such calls the user needs to approve the request via a popup dialog, which would be fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, this doesn't work for power bi custom visuals (even if the appropriate "WebAcces" privilege is declared in capabilities.json), because custom visuals are hosted inside a sandboxed iframe, and the Power Bi service is not setting the&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sandbox="local-network-access"&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;attribute on the iframe, which is required for the popup to be displayed and the user to be able to approve the request. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What happens instead is that the rest call is just terminated, with the following error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have a proper solution to this? I already know the Local Network Access restrictions can be disabled via a Chrome flag, but that is just a temporary workaround, not really a solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have already contacted Microsoft about this and they said they were "investigating the issue", but almost two months have passed since then and I haven't got any feedback back. If anyone else can help it would be greatly appreciated.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Jan 2026 10:38:20 GMT</pubDate>
    <dc:creator>tarockx</dc:creator>
    <dc:date>2026-01-07T10:38:20Z</dc:date>
    <item>
      <title>Web requests failing in latest versions of Chrome/Edge</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Web-requests-failing-in-latest-versions-of-Chrome-Edge/m-p/4913782#M13025</link>
      <description>&lt;P&gt;Hello everyone.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wanted to bring attention to an issue that I have not seen discussed much, but that since about a month ago is affecting every Chrome/Edge user that interacts with custom visuals that make rest calls to a backend service (and ask if anyone has a solution as of now).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have already reported the issue &lt;A href="https://github.com/microsoft/powerbi-visuals-api/issues/101" target="_self"&gt;on github&lt;/A&gt; and via e-mail to Microsoft, but didn't get much useful feedback. In short, here is the issue summed up:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since Chrome v142 (and equivalent Edge version), Google introduced the&amp;nbsp;&lt;A href="https://chromestatus.com/feature/5152728072060928" target="_self"&gt;Local Network Access restrictions&lt;/A&gt;&amp;nbsp;feature, which limits how a public website can interact with local web resources (i.e.: making REST calls to either "localhost" or a private network addresses like 10.x.x.x or 192.x.x.x)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In a normal scenario this just means that to make such calls the user needs to approve the request via a popup dialog, which would be fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, this doesn't work for power bi custom visuals (even if the appropriate "WebAcces" privilege is declared in capabilities.json), because custom visuals are hosted inside a sandboxed iframe, and the Power Bi service is not setting the&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sandbox="local-network-access"&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;attribute on the iframe, which is required for the popup to be displayed and the user to be able to approve the request. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What happens instead is that the rest call is just terminated, with the following error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have a proper solution to this? I already know the Local Network Access restrictions can be disabled via a Chrome flag, but that is just a temporary workaround, not really a solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have already contacted Microsoft about this and they said they were "investigating the issue", but almost two months have passed since then and I haven't got any feedback back. If anyone else can help it would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jan 2026 10:38:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Web-requests-failing-in-latest-versions-of-Chrome-Edge/m-p/4913782#M13025</guid>
      <dc:creator>tarockx</dc:creator>
      <dc:date>2026-01-07T10:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Web requests failing in latest versions of Chrome/Edge</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Web-requests-failing-in-latest-versions-of-Chrome-Edge/m-p/4916475#M13027</link>
      <description>&lt;P&gt;This is a real and known platform-level issue and you are absolutely correct in your analysis.&lt;/P&gt;&lt;P&gt;What you are hitting is not a problem in your custom visual or its capabilities.json, but a Chrome / Edge security change (Local Network Access – LNA) combined with how Power BI hosts custom visuals inside sandboxed iframes. Because Power BI does not include the required sandbox="local-network-access" attribute on the iframe, the browser is unable to show the permission prompt and therefore blocks the request entirely. That is why the REST call fails silently with a CORS / blocked-by-client type error.&lt;/P&gt;&lt;P&gt;Unfortunately, there is currently no workaround that can be implemented inside a Power BI custom visual to fix this. Declaring WebAccess is not sufficient anymore — the browser enforcement happens before the visual ever gets a chance to run.&lt;/P&gt;&lt;P&gt;At this time, the only viable options are:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Move the backend behind a publicly reachable endpoint (Azure App Service, Azure Functions, API Management, etc.)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Use a Power BI supported data access mechanism (Power BI REST APIs, Fabric, dataflows, etc.)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Or temporarily disable LNA via browser flags (not suitable for production)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This is something Microsoft must fix by updating how Power BI Service embeds custom visuals (by adding the local-network-access sandbox permission), and it cannot be solved by visual developers.&lt;/P&gt;&lt;P&gt;Several ISVs are affected by this, so continuing to escalate this through GitHub, Fabric Ideas, and Microsoft support is currently the only path to resolution.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jan 2026 07:29:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Web-requests-failing-in-latest-versions-of-Chrome-Edge/m-p/4916475#M13027</guid>
      <dc:creator>mohit_sakhare</dc:creator>
      <dc:date>2026-01-12T07:29:15Z</dc:date>
    </item>
  </channel>
</rss>

