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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
LFalcon2023
New Member

Bing Maps API Authentication Error

image.png

Hello,

 

I have created a Power BI dashboard that pulls in Excel data with permit information. One of the columns is the permitted address which I've plotted on a Bing Maps visualization. To plot the addresses, I ran the address column through a Bing Maps API which converted the addresses into X,Y coordinates, then I invoked a custom function to get the plotted on the Bing Maps visualization. Everything worked great for 6 months, as I would refresh the data weekly for newly issued permits.

 

However, as of July 2023, evertime I try to refresh the data, I am met with this Bing Maps API Authentication error. I have tried authenticating using all 5 options on the sidebar (Anonymous, Windows, Basic, Web API, and Organization Account), but each of them fails to authenticate. When I try Web API with my Bing Maps API Key from my Dev account, I am met with another error message "A web API Key can only be specified when a web API key name is provided." I have also tried going into File -> Options and Settings -> Data Source Settings -> Global Permissions and removing each Bing Maps URL, then reconnecting, but this hasn't worked either. Does anyone have any insight on how to resolve the Bing Maps API Authentication error so that I can continue refreshing my Data.

1 ACCEPTED SOLUTION
foodd
Super User
Super User

Would you please consider moving this post involving API usage to the Microsoft Power BI Community Developer Forum, where they focus on the following:  Custom visual creation, API usage, real-time dashboards, integrating with Power BI, content packs. Basically, everything about extending Power BI.


https://community.fabric.microsoft.com/t5/Developer/bd-p/Developer

View solution in original post

3 REPLIES 3
IoTGirl
Employee
Employee

As this is AUTHENTICATION, have you tried using HTTPS instead of HTTP?  When you sign into your Bing Maps Portal you will see an announcement message that TLS 1.2 is now required and my assumption is that the connection for HTTP might not be secure enough to do the AUTH anymore.

 

If the issue only occurs with larger datasets, you are likely being ratelimited by the API. Basic Keys, free evaluation accounts, get a maximum of 5-20 QPS (queries per second) while Enterprise Keys, paid accounts, get 50+QPS depending on the API.

 

NOTE: I am a member of the Microsoft Maps Team and not Fabric or PowerBI so I can't speak to the Power BI or Excel side of this discussion, just the Map Auth.

LFalcon2023
New Member

Thank you, I have just crossposted my question in the Developer section of the Power BI forums.

foodd
Super User
Super User

Would you please consider moving this post involving API usage to the Microsoft Power BI Community Developer Forum, where they focus on the following:  Custom visual creation, API usage, real-time dashboards, integrating with Power BI, content packs. Basically, everything about extending Power BI.


https://community.fabric.microsoft.com/t5/Developer/bd-p/Developer

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.