cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
admin5434
Level: Powered On

Bing Maps Connector - Error with Getmaps (shared connector)

I'm having some issues with the Bing Maps connector.
I've created an app where users input address, zip and city (in separate controls). They then click a button and the connector should return the map image.

This is the code:

Set(varLocation, BingMaps.GetLocationByAddress({addressLine: DataCardValue36.Text,postalCode: DataCardValue37.Text,locality:DataCardValue38.Text}));
Set(varMap, BingMaps.GetMap("Road","15",varLocation.point.coordinates.latitude,varLocation.point.coordinates.longitude,{pushpin:varLocation.point.coordinates.combined,mapSize:"335,280"}));

Everything works on my user, but for all other users, they get the following error:

Capture.PNG

Any tips on what to do to fix this?

2 REPLIES 2
Community Support Team
Community Support Team

Re: Bing Maps Connector - Error with Getmaps (shared connector)

Hi @admin5434,

 

Which articcle you have followed to implement the Bing map connector?

Is it the following one?

Displaying a Map using an Image control in PowerApps and Bing Maps or Google Maps API

 

Just from your error message, it seems the bing Map connector is using the same Key for different users.

Share App resources

For custom connectors,

"

When you share an app that uses a custom connector, it is automatically shared, but users must create their own connections to it.

On powerapps.com, you can view or update permissions for a custom connector. In the left navigation bar, click or tap Manage, click or tap Connections, and then click or tap New connection (in the upper-right corner). Click or tap Custom, and then click or tap a custom connector to display details about it.

"

Which I think should be the cause here.

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
admin5434
Level: Powered On

Re: Bing Maps Connector - Error with Getmaps (shared connector)

I wasn't using a custom connector, but the preview connector available natively in Powerapps:

Capture.PNG

Which again is documented here: https://docs.microsoft.com/en-us/connectors/bingmaps/

 

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (6,110)