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

Authentication issues when using Bing Maps REST API

Capture.PNG

4 REPLIES 4
pmtgcd
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.

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 Sheng
If this post helps, please consider Accept it as the solution to help the other members find it more quickly
Learning resources: Power BI
pmtgcd
New Member

Re: Authentication issues when using Bing Maps REST API

This API does not accept organizational logins

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 Sheng
If this post helps, please consider Accept it as the solution to help the other members find it more quickly
Learning resources: Power BI

Helpful resources

Announcements
‘Better Together’ T-Shirt Contest – Winner Announced!

‘Better Together’ T-Shirt Contest – Winner Announced!

And the winner is...

Announcing the New Spanish Forum

Announcing the New Spanish Forum

Do you need help in Spanish? Check out our new Spanish community section.

April 2020 Community Highlights

April 2020 Community Highlights

Info on our Super Users, MBAS content and badges, and updates to our support articles. - Read the full Community Highlights.

MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

Top Solution Authors
Top Kudoed Authors