Microsoft Dynamics 365 CRM Configuration

When Symbee Connect is integrated with Dynamics 365, the Symbee Connect Dynamics 365 Fusion provides the following functionality:

Prerequisites

Prior to following these steps, this guide assumes the following pre-requisites have already been completed:

  1. Your Amazon Connect instance has already been set up with the appropriate phone numbers, contact flows, routing profiles and call queues.
  2. Your Symbee Connect instance has been set up and configured with your Amazon Connect instance details.
  3. You have an Dynamics 365 Environment configured.

Embedding Symbee Connect within Dynamics 365 per this guide, is only supported in an environment where SAML Single Sign-on (SSO) is enabled. This is due to Dynamics 365 blocking the login window popped by Symbee Connect when SSO is not enabled.**

Whitelisting Dynamics 365 Domain in Amazon Connect

Before you can embed the Symbee Connect within Dynamics 365, you will need to add your Dynamics 365 domain to the whitelist of trusted domains in your Amazon Connect Instance.

An example URL:

https://< dynamicsinstancename >.crm.dynamics.com

Please refer to the reference guide on how to Whitelist a URL in Amazon Connect.

Configuration Settings for Dynamics 365

Install and Configure Dynamics 365 Channel Integration Framework

  1. Login to your Dynamics 365 instance as Administrator.
  2. Click on Environments from the left side menu bar.
  3. Select the Environment you want to configure from the list of available environments.



  4. Expand Resources on the left side menu and click on Dynamics 365 apps and then select Dynamics 365 Channel Integration Framework.
    • Note: If Dynamics 365 Channel Integration Framework is not listed as an option, you may need to download and install it. An example link is below, but this may change. Search in Google on: "Get Dynamics 365 Channel Integration Framework 2.0 Download" and look for the Download option.
  5. Click on the Install button on the top bar.
  6. A dialog box will be displayed:
    • Select the environment you want to configure.
    • Agree to the terms.
    • Click Install.
  7. Validate the installation has been successful by:
    • Go to Environments and select your environment.
    • Click on Dynamics 365 apps (under Resources on the bottom right of the screen).
    • Scroll down to Dynamics 365 Channel Integration Framework and it should have a status of Installed..


  8. Click on Environments from the left side menu bar.
  9. Select the Environment again.
  10. Click on the Environment URL under the Details section..


  11. Click on Channel Integration Framework.
  12. Once the page is displayed, click on the Settings cog icon on the top navigation bar and select Advanced Settings.
  13. Click on the heading next to the Dynamics 365 logo (it will be the last thing you had selected).



  14. Select Channel Integration Framework.
  15. From the top midde middle navigation bar select New and configure with the following settings:
    • Name: Symbee Connect
    • Description: Symbee Connect
    • Channel: Symbee Connect Agent URL copied from front page of Symbee Connect Administration Portal.
    • Enable Outbound: Yes
    • Channel Order: 0
    • Select Unified Interface Apps for the Channel: Select all
    • Select the Roles for the Channel: Select all.


  16. Click Save & Close.


Verify Symbee Connect is now embedded in your 365 App Experience view

  1. From the Dynamics 365 portal, go to one of your Unified Interface App experiences by clicking the heading next to the right of the Dynamics 365 logo on the top navigation bar.
  2. Select one of the the Unified Interface Apps.
  3. Once the App view loads, confirm on the right side of the screen, the Symbee Connect app appears.
  4. Sign In to Symbee Connect.

Add Registered App in Azure

The following steps are used for API Access:

  1. Login to Azure Active Directory Administration Center.
  2. Select Azure Active Directory from the left side navigation bar.
  3. Click on + Add, select App registration and configure with the following settings:
    • Name: Symbee Connect
    • Supported account types: select the first option - single tenant.
    • Redirect URI (optional): use the default.
    • Click Register.
  4. An Application screen will be presented for Symbee Connect using the information you have just entered.
  5. Select API Permissions from the left side menu:
    • Click on + Add a permission from the middle navigation bar.
    • Select Dynamics CRM and click on User Impersonate.
    • Click on Add Permission.
  6. Select Certificates & secrets from the left side menu:
    • Select + New client secret located in the lower part of the screen.
    • Description: add a desciptive name.
    • Expires: select 24 months (the maximum)
    • Click Add to save.
    • Copy the contents of the *** Secret Value and Secret ID*** fields as you will need them later. Here is an example of the fields:.


  7. Select Enterprise applications from the far left side menu.
  8. Scroll down to the Symbee Connect application and copy the Application ID as you will also need this in the next step.

Lastly, while still in the Azure console, you will also need your Azure Tenant ID when configuring the Dynamics 365 Integration within the Symbee Connect Admin portal in the following steps.

Setup New User (used for API Integration from Symbee Connect)

  1. From the Power Platform Admin Center portal, go to Environments, select your Dynamics environment, and click Settings in the top bar

  2. Then from Environment Settings, expand the User + permissions section, and select Application Users

  3. Select + New app user

  4. In the slide-out Create a new app user on the right, select Add an app

  5. In the resulting list of Apps, select the Enterprise App you created in the previous section above that represents your Dynamics environment, then after selecting it, back at the Create new app user slide-out above, click Create (at the bottom)

  6. Back under your Environment Settings you should now see the App added as an Application User for your environment

  7. Select the new Application User entry found above, and with it selected, there will be an Edit Security Roles button in the top nav bar

    • Check and select the Roles you want to assign, and select Save at the bottom (using System Administrator is one option/approach)

Enable Click to Dial

  1. From the Dynamics 365 portal, click on the Settings cog icon on the top navigation bar and select Advanced Settings
  2. Click on the arrow next to the Settings heading on the top navigation bar next to the Dynamics logo.
  3. Select Customizations
  4. Click Customize the System
  5. Expand Entities
  6. Expand Contact
  7. Click on Forms and choose Contact:
    • Double click on one of the phone fields and click on Controls tab.
    • Click on Add Control.
    • Select Channel Communication Control
    • Click Add
    • Select the Web, Phone and Table radio buttons for Channel Communication Control.
    • Click OK, then Save and the Publish.




Note: This will need to be completed for every form and phone control you want to enable Click to Dial for.

Enable Dynamics 365 Fusion in Symbee Connect

The last steps are to configure your Symbee Connect Company and User Profiles for use with the Dynamics 365 CRM.

These steps include:

Create User Profile Template for Dynamics 365 Users

  1. Login to the Symbee Connect Administration Portal.
  2. If you have more than one Environment configured within your Company in Symbee Connect, make sure you have the appropriate one selected. This can be found on the Navigation bar to the left of the Function menu.
  3. Click on the Function menu on the in the top navigation bar and then select User Administration located under the User Configuration section.
  4. Select User Templates on the left navigation bar and from the User Templates list view, click Add Template.
  5. In the New User Profile Template dialog box, enter the following:
  6. Template Identifier: Dynamics 365 Users
  7. User Profile Template Name: Dynamics 365 Users Template
  8. Once the new template has been created, it will appear in the User Templates listing screen, select and click on the Modify button.
  9. Make sure you have the User Mode set to Engagement, this is in the center of the screen.
  10. Select AWS Integration from the let menu, then choose Amazon Connect Integration. Make sure there is a tick in checkbox next to ACD Amazon Connect Integration.
  11. Now select CRM Integrations from the left menu and then select Dynamics 365 Fusion.
  12. Make the following changes in the Dynamics 365 Fusion settings:
    • Enabled: Checkbox ticked.
    • Javascript File: The path of the Dynamics 365 API JavaScript library. E.g. https://crmorg.crm.dynamics.com/webresources/Widget/msdyn_ciLibrary.js
    • Client ID: This is the Application ID of your Azure Enterprise App representing your Dynamics 365 environment you noted in the above step.
    • Client Secret: This is the contents of the Secret Value field obtained in above step
    • Rest Login Url: Dynamics Login API URL. Use: https://login.microsoftonline.com/{MS Azure TenantId} using your Azure Tenant ID noted in the above step.
    • Rest API Url: Dynamics API URL. For example: https://{instance-name}.crm.dynamics.com/api/data/v9.0/
    • Screen Pop Direction: Select whether you want Inbound, Outbound or Both.
    • Country Code: This field can be used to remove the country code from the phone number.
    • Table and Field Names: Configure the Table and Field Names to specify the entities (for example: user, record, incident, ticket, etc) to pop in a screen pop, which field in the entity to match and the value to be matched with.
  13. Scroll back to the top and Save.

See an example below of the completed section:

Apply Dynamics 365 Template to Users

  1. From the Symbee Connect Administration Portal, choose Function and then User Administration located under the User Configuration section.
  2. Select User Profiles from the left navigation bar.
  3. Check all the users you would like to apply the new Dynamics 365 template to and click Apply Profile button.
  4. Select the Dynamics 365 template from the dropdown menu and then click on the Apply Template button.