Install CRM Service for Dynamics 365

Prerequisites

Licensing prerequisites

To display contact and case information in WebAgent, you need:

  • A valid WebAgent license.
  • A CRM connector entitlement for each configured data source or CRM connection. This may be included in your subscription or provided through AW301, CRM Connector (read-only).

A CRM connector retrieves information for WebAgent. It does not, by itself, license embedding WebAgent inside a CRM application.

Contact your AnywhereNow representative if you are unsure whether your subscription includes the required connector.

Introduction

The CRM Service for Dynamics 365 is used to retrieve relevant information about the caller (for both inbound and outbound) during a conversation handled by the . The CRM Service retrieves contact info regarding the caller and if applicable the related relevant cases. The CRM Service will be used in combination with the Dialogue Cloud WebAgent.

Dependencies

Follow the instructions below to install the CRM Service for Dynamics 365.

Request CRM Service for Dialogue Cloud

For customers

Request the Crm Service for Dynamics to be enabled (for specific UCC's) via your regular AnywhereNow contact or Partner.

For partners

  1. Navigate to the Partner Portal

  2. Request the "Integrated with Dynamics" when selecting WebAgent > Webagent For Voice Communication / Webagent for Omnichannel Communication.

    This can be done during:

    1. Create UCC, see: Create - Contact Center (UCC)

    2. Edit UCC, see: View (and edit) - Contact Centers (UCC's)

Validate Endpoint

Note

Required settings fields will be automatically added in your SharePoint lists after requesting this feature through . Some of these settings, like ConnectionString, will need to be completed ASAP with your valid credentials.

  1. Open the UCC Config page on SharePoint

  2. Open the Plugin Settings list

  3. Validate CRMService settings endpoint to ListsPlugin ListsEndpoints

Setting Value Scope
ListsEndpoints

http:///webagentservice/api/v1/settings

http://FQDN/CrmServiceDynamics/api/v1/settings

Warning

Make sure to leave the fqdn to this service configured as a ".local" URL, especially when using multiple UCC services in the same region. If this is not done, the UCC cannot reach the right webserver internally leading to undesired or non-functional WebAgent behavior.

ListsPlugin

Validate WebAgentService URL

Note

Required settings fields will be automatically added in your SharePoint lists after requesting this feature through OnePortal. Some of these settings, like ConnectionString, will need to be completed ASAP with your valid credentials.

  1. Open the UCC Config page on SharePoint
  2. Open the Plugin Settings list
  3. Validate the following setting:
Setting Value Scope
CrmServiceUrl

http://fqdn/CrmServiceDynamics

Note

URL (Value) needs to be accessible from the WebAgentService to this CRM Service.
If on the same server this can be http and a .local address.

Warning

Make sure to leave the fqdn to this service configured as a ".local" URL, especially when using multiple UCC services in the same region. If this is not done, the UCC cannot reach the right webserver internally leading to undesired or non-functional WebAgent behavior.

WebAgentService

Configure the UCC Plugin ConnectionString Setting

Warning

This CRM service depends on settings which need to be identical if used across multiple UCC's within a service, meaning the values should be identical across all UCC configurations using it. We call these primary settings. A primary setting is defined by the first UCC to publish its settings during startup of the service. This may not always be the same UCC if multiple UCC's share this service! If values differ across multiple UCC's this will lead to unpredictable behavior after a service restart. It is extremely important to keep the values consistent/identical and valid.

Note

Required settings fields will be automatically added in your SharePoint lists after requesting this feature through OnePortal. Some of these settings, like ConnectionString, will need to be completed ASAP with your valid credentials.

  1. Open the relevant SharePoint UCC Settings page.

  2. Select Plugin Settings from the UCC Config section.

  3. Configure the following setting:

Setting Value Scope
ConnectionString This is the connection string* required for Dynamics 365 authentication. The only mandatory setting that must have a value. CrmService

ApplicationHost

(Optional)

In some cases adding your Dynamics 365 application root URL is necessary to enhance contact and cases retrieval.

(e.g. https://<tenant>.crm4.dynamics.com/)

CrmService

*The ConnectionString will look something like below format, but variations may work depending on the CRM platform authentication setup by your CRM administrator:

ConnectionString
Url=<URL of your Dynamics365>;ClientId=<your Dynamics365 ClientId>;EncryptedClientSecret=<your ClientSecret but in encrypted format>;AuthenticationType=ClientSecret;SkipDiscovery=true;RequireNewInstance=true
  • For more information on Connectionstrings (underlying Dynamics 365) see: use-connection-strings-xrm-tooling-connect

For additional or optional configuration parameters see Additional configuration CRM Service for Dynamics 365