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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

New Member

Bing Maps API Authentication Error





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 coordinates 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.


Repost from duplicate post -> 

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. Also, have you tried the solution given for Solved: A web API key can only be specified when a web API... - Microsoft Fabric Community?


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.

Helpful resources

Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.