Integrations
Azure Maps connector (Bing Maps replacement)
Address autocomplete, geocoding and reverse geocoding with Azure Maps, Microsoft's replacement for Bing Maps: powers the Address autocomplete control on forms and apps.
On this page
The Azure Maps connector (azure_maps) uses the Azure Maps Search API. It powers the Address autocomplete control and gives workflows geocoding and reverse geocoding. The subscription key stays on the UserTasks server: it is encrypted at rest, masked on screen, and never sent to browsers.
Looking for Bing Maps?#
Bing Maps for Enterprise is being retired: Microsoft no longer issues new Bing Maps keys and directs customers to Azure Maps. Bing Maps keys don't work with Azure Maps, so create an Azure Maps account as below. UserTasks has no separate Bing Maps connector.
Set up in Azure#
- In the Azure portal, choose Create a resource → Azure Maps, pick a subscription, resource group and name, and the Gen2 pricing tier.
- Open the account, then Authentication, and copy the Primary key (Shared Key authentication).
- Note the account's data residency if you need it (United States or Europe).
Add the connector#
- Go to Integrations → Connectors and choose Azure Maps.
- Paste the key into Subscription key and pick the Geography (Global, United States or Europe).
- Optionally set the options below, then click Test connection (one address search).
| Setting | What it does |
|---|---|
| Countries | ISO 3166 two-letter codes, comma separated (US, CA). Only addresses in these countries are suggested. A field can narrow it further. |
| Language | BCP 47 code (en, en-US, fr) for suggestions and addresses. |
| Location bias | latitude,longitude[,radius in metres]: results near this point come first. Results elsewhere still appear. |
| Suggest | Street addresses (default), addresses and places, or businesses (Google). |
Azure Maps takes one country per request. With several countries the results are filtered to them on the server.
Rotate the key with no downtime: paste the Secondary key into the connector, then regenerate the primary key in Azure.
How suggestions work#
Address autocomplete uses the Search API's Geocode Autocomplete. Where an account or region doesn't offer it yet, UserTasks falls back to the generally available geocoder with the typed text. A picked suggestion that has no coordinates is geocoded once to fill lat / lng. The control shows © Microsoft Azure Maps under the suggestions.
Workflow actions#
| Action | What it does | Inputs (* required) |
|---|---|---|
| Address Autocomplete | Suggestions for partly typed text (Geocode Autocomplete). Each feature has properties.address (formattedAddress, locality, adminDistricts, postalCode, countryRegion). | query*, country, top, language, result_type_groups |
| Geocode Address | An address to coordinates and a normalized address. features[0].geometry.coordinates is [longitude, latitude]. | address*, country, top |
| Reverse Geocode | Coordinates to the nearest address. features[0].properties.address.formattedAddress is the address. | latitude, longitude |