Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
I’m trying to add a Reference layer to the Azure Maps visual in Power BI using a GeoJSON hosted on Azure Blob Storage. The direct URL opens fine in the browser (also in incognito), but the layer doesn’t render in Power BI—no shapes appear.
Content-Type on the blob is set to application/json.
File opens as raw JSON in the browser (no login), including in Incognito.
Ensured HTTPS.
Checked the GeoJSON structure: FeatureCollection → Feature with Polygon, coordinates are [longitude, latitude], outer ring closed (last point equals first).
SAS URL with Read (sp=r), Blob (sr=b), HTTPS only, future expiry.
CORS on the Storage Account → Blob service:
Allowed origins: https://app.powerbi.com
Methods: GET
Allowed headers: *
Exposed headers: *
Max age: 360
Power BI’s Azure Maps reference layer won’t always load GeoJSON from a SAS blob even if the URL works in a browser. Common issues:
1.CORS/SAS: Power BI may not handle SAS URLs well. Test with a public blob or add https://*.powerbi.com to allowed origins.
2.GeoJSON format: Must be FeatureCollection, polygons as [ [ [lng, lat], … ] ], outer ring clockwise.
3.HTTPS & direct response: No redirects; Content-Type = application/json; inline response.
4.File size: Very large or many features can fail silently.
Workarounds:
Make blob public temporarily.
Host on GitHub or Azure Static Website.
Embed small GeoJSON directly in Power BI.