Forum Discussion
Azeru Map not working with Sharepoint URL in reference layer
- 4 months ago
Hi WilliamHill99,
Thanks for sharing the details. From what you described, the behaviour you are seeing is expected Azure Maps can load your GeoJSON when uploaded locally, but it fails with the SharePoint URL because SharePoint links are not truly direct-access endpoints.
Even with ?download=1, the URL still goes through authentication and redirection layers, so Azure Maps cannot retrieve the file as a clean GeoJSON response. The reference layer requires a publicly accessible URL that returns raw JSON without any authentication or redirects. To resolve this, I recommend hosting your GeoJSON file in a location that supports anonymous direct access, such as Azure Blob Storage (with public access enabled) or a GitHub raw file URL. Once you use one of these direct URLs, the reference layer should work as expected.Refer these docs:
1. https://learn.microsoft.com/en-us/azure/azure-maps/power-bi-visual-understanding-layers?
2. https://learn.microsoft.com/pt-br/azure/azure-maps/power-bi-visual-add-reference-layer?tabs=upload
Hope that clarifies. Let us know if you have any doubts regarding this. We will be happy to help.Thank you for using the Microsoft Fabric Community Forum.
Hi WilliamHill99,
Thanks for sharing the details. From what you described, the behaviour you are seeing is expected Azure Maps can load your GeoJSON when uploaded locally, but it fails with the SharePoint URL because SharePoint links are not truly direct-access endpoints.
Even with ?download=1, the URL still goes through authentication and redirection layers, so Azure Maps cannot retrieve the file as a clean GeoJSON response. The reference layer requires a publicly accessible URL that returns raw JSON without any authentication or redirects. To resolve this, I recommend hosting your GeoJSON file in a location that supports anonymous direct access, such as Azure Blob Storage (with public access enabled) or a GitHub raw file URL. Once you use one of these direct URLs, the reference layer should work as expected.
Refer these docs:
1. https://learn.microsoft.com/en-us/azure/azure-maps/power-bi-visual-understanding-layers?
2. https://learn.microsoft.com/pt-br/azure/azure-maps/power-bi-visual-add-reference-layer?tabs=upload
Hope that clarifies. Let us know if you have any doubts regarding this. We will be happy to help.
Thank you for using the Microsoft Fabric Community Forum.