Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Power BI Map visual not working in Embedded - Showing only map layer - Third-Party Cookie Error

Hi

 

I'm embedding my reports using iframe in a webapp and Power BI native Map visual seems not supporting this. (I tested with other visuals as well and Esri map specifically says it does not support embedding visuals). 

In the native Map visual locations are not showing up although the map layer is visible. Reason for that is that for some reason third party cookies are used and this is not allowed by default in my browser (Chrome). 

This gives me an error in browser: 

"reportembed.externals.bundle.min.js:641 Error: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.
at t.forEach (powerbiportal.dependencies.bundle.min.js:16)
at h (powerbiportal.dependencies.bundle.min.js:16)
at l (powerbiportal.dependencies.bundle.min.js:16)
at u (powerbiportal.dependencies.bundle.min.js:16)
at Object.r [as ensureCache] (powerbiportal.dependencies.bundle.min.js:16)
at Object.i [as createGeocodingCache] (powerbiportal.dependencies.bundle.min.js:40)
at t (powerbiportal.dependencies.bundle.min.js:40)
at Object.a [as getCoordinates] (powerbiportal.dependencies.bundle.min.js:40)
at t.e.tryGeocodeImmediate (powerbiportal.dependencies.bundle.min.js:40)
at Object.tryGeocodeImmediate (powerbiportal.explore.bundle.min.js:22)
(anonymous) @ reportembed.externals.bundle.min.js:641
(anonymous) @ reportembed.externals.bundle.min.js:613
(anonymous) @ reportembed.externals.bundle.min.js:654
$eval @ reportembed.externals.bundle.min.js:668
$digest @ reportembed.externals.bundle.min.js:665
$apply @ reportembed.externals.bundle.min.js:669
(anonymous) @ reportembed.externals.bundle.min.js:682
e @ reportembed.externals.bundle.min.js:567
(anonymous) @ reportembed.externals.bundle.min.js:570
t.invokeTask @ reportEmbed.min.js:300
r.runTask @ reportEmbed.min.js:300
e.invokeTask @ reportEmbed.min.js:300
i.isUsingGlobalCallback.invoke @ reportEmbed.min.js:300
n @ reportEmbed.min.js:272" 


Is there a fix or a workaround for this? I can't ask my customer to unblock third party cookies, that would be nonsense. 
Is Power BI team working on this issue? 

Status: New
Comments
v-jiascu-msft
Employee

Hi @Rainar,

 

It seems you are working with "Publish to web". I would suggest you create an idea here.

 

Best Regards,

Dale

Rainar
Frequent Visitor

Hi, 

 

I'm definately not publishing to web.

Using Javascript and  REST API to embed my reports to a dedicated webapp. 

Rainar
Frequent Visitor

Seems like this is fixed now.