MS Dynamics CRM by default is integrated with Bing maps. You can add Bing maps on any entity you want. You can enable or disable the feature in the Settings > Administration > System Settings area.

But if you want to integrate Google maps in Dynamics CRM on Accounts and Contacts entities, you can do so by adding a HTML web resource on account and contact forms.

Step 01: Add HTML Web Resource

In order to add Google map HTML web resource go to Settings > Customizations > Customize the system


Click on Web Resources and then New

add webresource

and fill out the form for adding a new web resource;

Name – googlemaps
Display Name – Google Maps
Type – HTML
Text Editor – Click on text editor and paste the code given below;


function initialize() {
var map_canvas = document.getElementById('map_canvas');
var map_options = {
center: new google.maps.LatLng(-26.4420246,133.281323),
zoom: 4,
mapTypeId: google.maps.MapTypeId.ROADMAP
var map = new google.maps.Map(map_canvas, map_options)
var geocoder = new google.maps.Geocoder();
var address ='address1_composite').getValue();
geocoder.geocode( { 'address': address}, function(results, status) {
if (status == google.maps.GeocoderStatus.OK) {
var marker = new google.maps.Marker({
map: map,
position: results[0].geometry.location
} else {
//alert("Geocode was not successful for the following reason: " + status);
google.maps.event.addDomListener(window, 'load', initialize);
<div style="width: 100%; height: 100%;" id="map_canvas"></div>



Save – Save the Web Resource
Publish – Publish the Web Resource
Preview – In the preview you will see Australia is set as default map location for cases where Address 1 fields arent populated on a record.


Step 02: Add Map on Account form

Go to Account form and click on Form in the ribbon


Next click on Insert in the navigation and insert a new Section on form


Double click on the section and rename it to Google Map.

google-mapNext add HTML web resource in this section. Select the section and click on Webreource in the ribbon

select section

Click on Web Resource in the ribbon and search the web resource we added

search webresource

When you have found the web resource, click on Add


Now go to Formatting tab and extend Number of Rows for this section in which the map will be displayed and click on OK.


Step 03: Publish the form

Publish the form and click on Save and Close.


Refresh Account form and you will find Google Map section. If correct address has been entered in Address 1 fields then the map will present Address 1 else the map will show Australia by default.

map preview

Note: Google map HTML web resource has been taken from Warren Rapson’s blog post. You can view his post here