cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Authentication issues when using Bing Maps REST API

Capture.PNG

4 REPLIES 4
Highlighted
New Member

Re: Authentication issues when using Bing Maps REST API

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.

Highlighted
Community Support
Community Support

Re: Authentication issues when using Bing Maps REST API

Hi @pmtgcd ,

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

Community Support Team _ Xiaoxin
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
New Member

Re: Authentication issues when using Bing Maps REST API

This API does not accept organizational logins

Highlighted
Community Support
Community Support

Re: Authentication issues when using Bing Maps REST API

HI @pmtgcd ,

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

Community Support Team _ Xiaoxin
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Power Platform 2020 release wave 2 plan

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors