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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

Authentication issues when using Bing Maps REST API

Capture.PNG

5 REPLIES 5
Anonymous
Not applicable

I am using the following web source:

http://dev.virtualearth.net/REST/v1/Locations/%address1%?o=xml&key={mykey}

 

I am able to authenticate myself using mykey and get the data I need, however, once I hit save and apply I get this error. I have tried multiple different ways to authenticate myself but it won't accept anything.

Anonymous
Not applicable

Hi @Anonymous ,

It seems like this api not support anonymous credentials, please use organization account to instead or invoke 'login' function before other REST API function.

Regards,

Xiaoxin Sheng

Anonymous
Not applicable

This API does not accept organizational logins

Anonymous
Not applicable

HI @Anonymous ,

You can try to modify your query and enable RelativePath Parameter in web.connector function to use anonymous mode to authorization with root path:

Web.Contents("http://dev.virtualearth.net", [Headers=[#"key"=mykey], RelativePath="/REST/v1/Locations/address"])

Regards,

Xiaoxin Sheng

I have tried the suggestion, I have tried calling https, and still none of the authentication methods work. It is quite frustrating since it works fine in PBI Desktop, but the moment you want to refresh the data model via PBI Service, it requests to authenticate the data source and that seems to be impossible.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.