MSDyn Connector Inst
MSDyn Connector Inst
October 2012
Information in this document, including URL and other Internet Web site references, is subject to change without notice. Unless
otherwise noted, the companies, organizations, products, domain names, e-mail addresses, logos, people, places, and events
depicted in examples herein are fictitious. No association with any real company, organization, product, domain name, e-mail
address, logo, person, place, or event is intended or should be inferred. Complying with all applicable copyright laws is the
responsibility of the user. Without limiting the rights under copyright, no part of this document may be reproduced, stored in or
introduced into a retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or
otherwise), or for any purpose, without the express written permission of Microsoft Corporation.
Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter
in this document. Except as expressly provided in any written license agreement from Microsoft, the furnishing of this document
does not give you any license to these patents, trademarks, copyrights, or other intellectual property.
Microsoft, Microsoft Dynamics, the Microsoft Dynamics logo, Active Directory, Internet Information Services, SQL server, Windows,
Windows Communication Foundation, and Windows Server are trademarks of the Microsoft group of companies.
Installation ............................................................................................... 12
User account requirements ...................................................................................................12
Installation account ........................................................................................................... 13
Service account ................................................................................................................ 13
ERP Integration account .................................................................................................... 13
CRM Integration account ................................................................................................... 13
Configuration account ....................................................................................................... 14
CRM Deployment Administrator account .............................................................................. 14
Install Connector for Microsoft Dynamics ................................................................................15
Configuration ............................................................................................ 16
Configure adapter settings for Microsoft Dynamics CRM ............................................................16
Configure settings for Microsoft Dynamics CRM 4.0 adapter ................................................... 16
Configure settings for Microsoft Dynamics CRM 2011 adapter ................................................. 17
Tips for configuring the Microsoft Dynamics CRM adapters ..................................................... 17
Configure Microsoft Dynamics CRM organizations .....................................................................18
Tips for configuring Microsoft Dynamics CRM ........................................................................ 19
Changes made by the Microsoft Dynamics CRM Configuration utility ........................................ 21
Set up duplicate detection .....................................................................................................23
Tips for duplicate detection ................................................................................................ 23
Customization ........................................................................................... 25
Make custom entities available in Microsoft Dynamics CRM .......................................................25
Create a new map ................................................................................................................25
Create a new map from file ...................................................................................................26
Change the data modification date .........................................................................................26
Edit field associations in maps ...............................................................................................27
Filter map data ....................................................................................................................28
Save a map to file ................................................................................................................29
Set up notifications ..............................................................................................................30
Set up notifications ........................................................................................................... 30
Term Definition
Integration The process of synchronizing data that was entered in one Microsoft
Dynamics application with another Microsoft Dynamics application.
Within Connector for Microsoft Dynamics, an integration consists of a
set of maps that can be run to integrate some Microsoft Dynamics CRM
entities with some Microsoft Dynamics ERP entities.
Integrated record A record that has been linked between the two systems and then
synchronized. For example, if a customer record in Microsoft Dynamics
ERP has a corresponding account record in Microsoft Dynamics CRM
and these records have been linked, it is an integrated record.
Microsoft Dynamics The database created for Connector for Microsoft Dynamics during the
Integration (MSDI) database installation process.
Runtime The process of reading entity information from the source system,
transforming that information into data that the destination system
can recognize, and then writing the transformed data to the
destination system.
Source/Destination entity The source entity provides the data that will be used to create new
entities in the destination system.
The destination entity is created or modified after you run an
integration. If the Microsoft Dynamics ERP Customer record is the
destination entity and the Microsoft Dynamics CRM Contact record is
the source entity, then Microsoft Dynamics CRM Contacts will be
created as Customers within Microsoft Dynamics ERP when the
integration is run.
10
Previous integrations
Connector for Microsoft Dynamics does not maintain data that was previously integrated and
maintained using a tool other than Connector for Microsoft Dynamics. Therefore, you should consider
removing data from Microsoft Dynamics CRM that may be duplicated after the Connector for Microsoft
Dynamics maps are activated. Data that was integrated using a previous version of Connector for
Microsoft Dynamics will be maintained.
Microsoft Dynamics CRM duplicate detection rules allow previously integrated accounts, contacts, and
sales orders to be integrated using the Integration Key attribute.
Existing data in the following entities will be inactivated and renamed when the Microsoft Dynamics
CRM Configuration utility runs:
Discount types
Price levels/price lists
Products
If you have integrated data in your Microsoft Dynamics ERP database for these entities, the Microsoft
Dynamics ERP data will be re-created in Microsoft Dynamics CRM after these maps are activated.
Any existing Microsoft Dynamics CRM orders that point to these entities will fail to integrate to Microsoft
Dynamics ERP because the entities that are referenced do not exist in the Microsoft Dynamics ERP
database. To integrate these orders, you must re-create the line items using the integrated entities.
11
Installation Installs Connector for Must be at least a domain user and local
account Microsoft Dynamics administrator on the machine where Connector for
Microsoft Dynamics is installed
Must be assigned at least the dbcreator and
securityadmin server roles on the SQL server, where
the MSDI database is to be stored
ERP Integration Connects to the Microsoft Must be assigned to specific roles in your Microsoft
account Dynamics ERP web Dynamics ERP system
services
CRM Integration Used to connect to Must belong to a Microsoft Dynamics CRM user that
account Microsoft Dynamics CRM has organizational-level read privileges for
on-premise or the SystemUser on the CRM organization that you plan to
Windows Live ID used to integrate
connect to Microsoft For Microsoft Dynamics CRM online, this account
Dynamics CRM online requires a different Windows Live ID than the system
administrator
Be a non-interactive account
CRM Deployment Used by the Configuration For on-premise deployments of Microsoft Dynamics
Administrator utility to retrieve a list of CRM, this account is used to install Microsoft
account Microsoft Dynamics CRM Dynamics CRM
organizations and apply For Microsoft Dynamics CRM online, this account must
customizations to those be a system administrator
organizations
12
Service account
This account is used to run integrations and must be created before installation. For more information
about new user accounts in Windows Server 2003, see “Create a new user account” on TechNet
(http://technet.microsoft.com/en-us/library/cc784390(WS.10).aspx). For information about new user
accounts in Windows Server 2008, see “Create a new user account” on TechNet
(http://technet.microsoft.com/en-us/library/cc732336.aspx).
During installation, Connector for Microsoft Dynamics:
Assigns the service account to the public SQL server role.
Creates a SQL server logon for the account if a logon does not exist.
Assigns the service account to the db_datareader and db_datawriter database roles on the MSDI
database.
The service account is also the account used to send notification emails. If the Simple Mail Transfer
Protocol (SMTP) server that you use to send notifications requires authentication to submit emails, you
must give the service account permission to authenticate and submit emails. For more information
about setting up notifications, see Set up notifications.
13
Configuration account
Use the configuration account to run the Microsoft Dynamics CRM Configuration utility. This account
should be a Microsoft Dynamics CRM Deployment Administrator. For more information, see “How to
assign the minimum permissions to a deployment administrator in Microsoft Dynamics CRM 4.0” on the
Microsoft Support site (http://support.microsoft.com/kb/946686).
Note: Failure to meet these requirements will result in the following message when you run the
Microsoft Dynamics CRM Configuration utility: “The CRM Integration account could not be added to the
PrivUsersGroup on the Domain.” A domain administrator can perform this operation later, but the CRM
Integration account must be added to this group in the Active directory before Connector for Microsoft
Dynamics can successfully integrate entities into a Microsoft Dynamics CRM on-premise deployment.
14
15
16
17
o Dynamics Integration
When you run the Microsoft Dynamics CRM Configuration utility, the Dynamics Integration role is
created and the specified CRM Integration account is automatically added to these roles.
If you click Test Settings before the CRM Integration account has been added to the System
Customizer role for each Microsoft Dynamics CRM online organization that the user is a member of,
the Test Settings operation will fail and a message will be displayed.
Messages will continue to be displayed until the CRM Integration account is added to the System
Customizer role.
18
19
Note: If you are using the Microsoft Dynamics CRM 2011 adapter, these customizations are
automatically installed during configuration and merged with your existing customizations in
Microsoft Dynamics CRM 2011. No further action is necessary.
20
21
22
23
24
25
26
To modify an existing mapping, click the Edit icon ( ), which appears when you click in the
text box.
To remove an existing map field, click in the Mapping text box where the map field is
displayed. Click the Delete icon ( ) to clear the text box.
To add a new mapping, click in a Mapping text box where Click here to map is displayed.
Then, click the Map icon, which appears when you click in the text box.
Note: When a field or function that is not valid is entered in a map field, a validation error will
appear to the right side of those fields. Required mapping fields are displayed in bold font.
4. In the Destination Field Mapping window, select how to map the field. You can map to a source
field, use a constant or use a function. If you are changing a destination filed’s mapping, use the
Back button to select another mapping option.
Map to a source field 1. The source fields available for the destination you are mapping are listed.
Select the field to map to.
2. Click Add.
Use a constant 1. Enter a constant. The window displays examples of the syntax to use.
2. Click Add.
Use a function 1. Select a function category. Limit the functions displayed by selecting a
category other than <Any>.
2. Select the function to map, and click Next.
3. Supply the function argument for the function. Click the Lookup icon to
select an existing function.
4. Click Add.
5. For more information about the built in mapping functions in Connector
for Microsoft Dynamics, click the Help button at the bottom of the function
selection window.
5. Continue with the above procedures for all the destinations to map.
6. Click Save on the top command bar.
27
28
3. Go to or browse to the file directory or folder where you want to save the file.
Note: Do not save modified maps in the same folder as the templates. To save modified maps to
the Program Files directory, create a unique folder for the modified maps in the
“%ProgramFiles%\Microsoft Dynamics\Microsoft Dynamics Adapter\Templates\Maps” directory (or
to your “%ProgramFilesx86%\Microsoft Dynamics\Microsoft Dynamics Adapter\Templates\Maps”
directory if you are running on a 64-bit machine).
4. Provide a unique file name for your map. Make sure that you use the .map file extension.
5. Click Save. Connector for Microsoft Dynamics now includes your modified map.
Note: Filters are not saved when you save a map to a file. To copy filter settings from the original
map, you must modify these settings manually.
29
Set up notifications
1. Open Connector for Microsoft Dynamics. In the navigation pane, click Settings.
2. On the Settings page, expand the Exception Notifications area.
3. Select one of the following options:
Don’t send – Do not send notifications for this exception type. If you select this option, the
other options in this procedure are not available.
Send immediately – Send a notification when each exception occurs.
Send a daily summary – Send one email a day that lists each exception that occurred during
the day.
Send a weekly summary – Send one email a week that lists each exception that occurred
during the week.
4. In the SMTP Server field, enter the SMTP server name or IP address of the host that is used to
send the notification emails.
5. In the Port field, enter the port number on the SMTP server that is used for SMTP transactions.
6. In the From field, enter the email address to send notifications from.
7. In the To field, enter the email addresses to send notifications to. Separate multiple email
addresses with a comma.
Note: If your location recognizes Daylight Savings Time (DST), when you set up a report to run at a
designated time, the report may actually be sent one hour later.
30
31
32
Delete a map
1. Right-click on the Home node and select Stop the Connector for Microsoft Dynamics Service.
2. In the left pane of the application window, right-click on the map to delete and select Delete.
3. Click Yes to delete the map.
33
Registration
Registering software helps Microsoft provide you with better service. Software registration also
eliminates unauthorized use of the software without imposing restrictive copy protection procedures.
If you are integration Microsoft Dynamics CRM with Microsoft Dynamics GP or Microsoft Dynamics SL, a
Microsoft Partner will provide you with a registration key for Connector for Microsoft Dynamics. If you
are integrating with Microsoft Dynamics AX or Microsoft Dynamics NAV, the registration key is sent to
your Voice account.
During the installation process, a Registration window appears immediately after the terms and
conditions page. To view the registration key from within the Connector client, right-click Home and
click Version Information.
34