Forum Discussion
Azure Maps Reference Layer URL not working
Does anybody have a solution for this issue:
I have an Azure Maps visual and want to add a reference layer. When I select type "file upload" it works as expected. When I select type "URL" it won't work.
I've uploaded the exact same file to an Azure Blob storage. Anonymous blob access is active. File URL is like https://storageaccountname.blob.core.windows.net/container/folder/file.json and I have validated the path and public access without signin.
Are there any settings missing to make this work?
Hello AMeyersen
Ensure that your Azure Blob Storage is configured to allow CORS for the required domains, such as `https://ms-pbi.pbi.microsoft.com`. You can configure this in the Azure portal under the “CORS” settings for your storage accountIn some cases, renaming the file extension from `.geojson` to `.json` has resolved issues with reference layers not displaying in Power BI.
Please see if this helps.
thanks
4 Replies
- nilendraFabricSuper User
Hello AMeyersen
Ensure that your Azure Blob Storage is configured to allow CORS for the required domains, such as `https://ms-pbi.pbi.microsoft.com`. You can configure this in the Azure portal under the “CORS” settings for your storage accountIn some cases, renaming the file extension from `.geojson` to `.json` has resolved issues with reference layers not displaying in Power BI.
Please see if this helps.
thanks
- AMeyersenResolver III
Hi nilendraFabric , awesome, adding the CORS settings for the storage account fixed things.
- LucasLiFrequent Visitor
Hi nilendraFabric ! How can I add the URL in the Reference layer of Azure map without using Azure blob? Because my organization wants to use all the services in Fabric. I appreciate your help!
- WilliamHill99Regular Visitor
possible using the url for Sharepoint?