Skip to main content
Post a question

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id : p8M2cFkDItps6OBCxckPcL
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Unable to integrate microsoft dynamics 365 contact center widget in salesforce CRM

Like (1) ShareShare
ReportReport
Posted on 15 Mar 2025 22:28:54 by 6
Dear All,
 
When I am trying to integrate dynamics 365 contact center widget in salesforce CRM, I am unable to see the widget after following the steps described below.
 
Please help.
 

Set up the embedded experience for Dynamics 365 Contact Center

Completed100 XP

The Dynamics 365 Contact Center's embedded conversation widget helps agents engage in direct chat conversations with customers through any CRM system. You can integrate this widget into any webpage or application that's compatible with HTML and JavaScript, which ensures a uniform and integrated chat interface across various platforms.

The example in this unit uses Salesforce to set up the embedded experience.

The prerequisites for setting up the embedded experience are:

  • Set up the System requirements prerequisites.

  • Make sure that the omnichannel capabilities are turned on in your organization. For more information, see Provision channels in Dynamics 365 Contact Center.

  • Make sure that the provisioning user has permission to the System Administrator role in Salesforce.

  • Make sure that you have the embedded widget URL. To find the embedded widget URL, go to the welcome page of Contact Center admin center. Select Open under Your default contact center, and then go to the Conversation widget tab, which lists the URL under Integration into third-party systems.

Set up the call center in Salesforce

To set up the call center in Salesforce, follow these steps:

  1. Download the call center definition file from the following location: https://github.com/microsoft/copilot-for-service/blob/main/samples/SFCallCenter/Dynamics365CallCenter.xml. To access the file, make sure that you're signed in to GitHub.

  2. Open the file, replace the CTI Adapter URL with the embedded widget URL, and then save your changes.

  3. Sign in to Salesforce.

  4. Go to the Setup section by selecting the gear icon in the upper-right corner.

  5. In the Quick Find box, search for Call Center.

  6. Select Continue if you're setting up this feature for the first time.

  7. Select Import and then select the call center definition file.

  8. Go to Manage Call Center Users > Add more users, select the user record that you're currently signed in with, and then select Save.

Set up a softphone in Salesforce

To set up a softphone in Salesforce, follow these steps.

  1. Create a softphone layout by completing these steps:

    1. In the Quick Find box, search for Softphone Layouts.

    2. Create a new softphone layout or edit an existing one.

    3. Verify that Is Default Layout is selected and then select Save.

  2. To set up the softphone utility for your application, go to the App Manager in setup and then edit the Service Console application.

  3. Go to Utility Items and select Open CTI Softphone to add the softphone utility.

  4. Name your softphone appropriately (for example, MSFT Omnichannel), set the width to 400 and height to 600, and then select Save.

  5. Go to the Service Console from the Apps page.

  6. Refresh your browser. The embedded widget appears in your application.

 
 
 
Categories:
  • Suggested answer
    Daivat Vartak (v-9davar) Profile Picture
    2,372 Super User 2025 Season 1 on 17 Mar 2025 at 04:40:43
    Unable to integrate microsoft dynamics 365 contact center widget in salesforce CRM
    Hello IS-14031720-0,
     
    You've followed the steps outlined for embedding the Dynamics 365 Contact Center widget into Salesforce, but the widget isn't appearing. This indicates a potential misconfiguration or missing step in the process. Let's troubleshoot the issue:
     
    Potential Causes and Troubleshooting:
    1. Incorrect Embedded Widget URL:
      • Double-Check the URL: Carefully verify that the URL you've copied from the Contact Center admin center is accurate. Even a small typo can prevent the widget from loading.
      • Environment Specific URL: Ensure the URL corresponds to the correct Dynamics 365 Contact Center environment.
    2. XML File Modification Errors:
      • Typos: Double-check the XML file you downloaded from GitHub. Ensure the CTI Adapter URL is replaced exactly with the embedded widget URL, without any extra spaces or characters.
      • Encoding Issues: Ensure the XML file is saved with UTF-8 encoding.
    3. Salesforce Call Center Setup:
      • Import Successful? Verify that the call center definition file was successfully imported into Salesforce. Check the import logs for any errors.
      • User Assignment: Confirm that the user you're currently logged in with is correctly assigned to the call center.
      • Activation: Ensure the call center is activated.
    4. Softphone Layout Issues:
      • Default Layout: Verify that the softphone layout you created or edited is set as the default layout.
      • Correct Layout: Ensure the correct layout is assigned to the users who need to see the widget.
    5. Softphone Utility Configuration:
      • App Manager: Double-check the App Manager settings for the Service Console app.
      • Utility Item: Confirm that the "Open CTI Softphone" utility item is correctly added and configured.
      • Name: Confirm that the Name is correct.
      • Dimensions: Verify the width and height are set to the correct values (400x600).
    6. Browser Issues:
      • Cache and Cookies: Clear your browser's cache and cookies.
      • Browser Compatibility: Ensure you're using a supported browser for Salesforce.
      • Extensions: Disable browser extensions that might interfere with the widget.
    7. Salesforce Permissions:
      • User Permissions: Ensure your Salesforce user has the necessary permissions to access call centers and softphones.
      • CTI Adapter Permissions: Verify that the user has the required permissions to use the CTI adapter.
    8. Dynamics 365 Contact Center Configuration:
      • Omnichannel Enabled: Double-check that omnichannel capabilities are enabled in your Dynamics 365 Contact Center environment.
      • Provisioning User Permissions: Confirm that the provisioning user has the System Administrator role in Salesforce.
    9. Network Connectivity:
      • Firewall/Proxy: Ensure that there are no firewall or proxy settings blocking communication between Salesforce and the Dynamics 365 Contact Center widget.
    10. GitHub File Changes:
      • File Updates: Very rarely, the sample file on GitHub could have been updated. Ensure you are using the correct version of the file.
     
    Troubleshooting Steps:
    1. Start with the URL: Verify that the URL that you are using is correct. Copy and paste it into a browser. If the widget loads, the url is correct.
    2. Use Salesforce Developer Tools:
      • Open the Salesforce Service Console.
      • Use your browser's developer tools (F12) to inspect the console for any JavaScript errors.
      • Check the network tab for any failed requests or blocked resources.
    3. Test with a Different User:
      • Try logging in to Salesforce with a different user who has the necessary permissions.
    4. Re-Import the XML:
      • Try deleting the call center from Salesforce and re-importing the XML file.
    5. Simplify the Setup:
      • If you're editing an existing softphone layout, try creating a new one with minimal settings.
    6. Check Salesforce Logs:
      • Review the Salesforce setup audit trail and debug logs for any errors.
     
    Key Recommendations:
    • Focus on the URL and XML file: These are the most common points of error.
    • Use developer tools: This will help you identify any JavaScript errors or network issues.
    • Test with a different user and a simplified setup: This can help isolate the problem.
     
    By systematically working through these troubleshooting steps, you should be able to identify the root cause of the issue and get the Dynamics 365 Contact Center widget working in Salesforce. If you continue to experience problems, contact Microsoft Support or Salesforce Support for further assistance.
     
    If my answer was helpful, please click Like, and if it solved your problem, please mark it as verified to help other community members find more.
    If you have further questions, please feel free to contact me.
     
    My response was crafted with AI assistance and tailored to provide detailed and actionable guidance for your Microsoft Dynamics 365 query.
     
    Best Regards,
    Daivat Vartak
     
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,916 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,782 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans
Loading started