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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.