Edit

Share via


Configure requirements for Sales Qualification Agent

[This article is prerelease documentation and is subject to change.]

Important

  • This is a preview feature.
  • Preview features aren’t meant for production use and might have restricted functionality. These features are subject to supplemental terms of use, and are available before an official release so that customers can get early access and provide feedback.

Before you configure the agents, ensure that prerequisites are configured in your Dynamics 365 Sales environment. Depending on the type of automation, you must configure the requirements as follows:

Prerequisite Applicable for Description
Create application in Azure Research and Engage An Azure AD application is required to securely authenticate the agent’s Dataverse Application User, enabling it to act independently via app-based access.
More information: Create application in Azure
Create an app user in Dataverse Research and Engage Create a Dataverse app user so the agent can act independently, like send emails, own records, and more.
More information: Create an app user in Dataverse
Create a shared mailbox Engage The agent mailbox that will be used to send emails and follow-ups in compliance with your org’s policies.
More information: Create a shared mailbox
Configuring server-side synchronization Engage Connect Dynamics 365 Sales and Exchange to sync emails, contacts, tasks, and calendar.
More information: Configuring server-side synchronization

Create application in Azure

  1. Ensure that you have the Application Developer role in Microsoft Entra.

  2. Go to the agent settings page.

  3. In the agent settings page, go to the Prerequisites section, and in the Create app in Azure section, select Set up.

    Screenshot of selecting set up in the create app in Azure section.

  4. In the Register an application page, enter a name, select the account type (usually Accounts in this organizational directory only), and if applicable, enter a relevant redirect URI.

    Screenshot of the new registration page in Azure.

    Note

    You can also create the application in the Azure portal by going to Microsoft Entra ID > App registrations and then selecting New registration.

  5. Select Register.
    Your app is created, and details are displayed. Copy the created Application (client) ID to be used while creating app user in your Dynamics 365 organization.

  6. Go back to the agent settings page and select the Mark as done checkbox in the Create app in Azure section. You must select this checkbox to proceed with the agent configuration.

To learn more about app creation, see Quickstart: Register an app in Microsoft Entra ID.

Create a shared mailbox

  1. Ensure that you have one of the following roles in Microsoft Office 365 admin portal&madsh; Office 365 Global Administrator, Exchange Administrator, or Exchange Recipient Administrator.

  2. Go to the agent settings page.

  3. In the agent settings page, go to the Prerequisites section, and in the Create shared mailbox section, select Set up.

    Screenshot of selecting set up in the create shared mailbox section.

  4. In the Exchange admin center, go to Recipients > Mailboxes and then select Add a shared mailbox.

  5. In the Add a shared mailbox pane, enter the following information:

    • Display name: Enter a name for the shared mailbox.
    • Email address: Enter the email address.

    Screenshot of adding a shared mailbox in the Exchange admin center.

  6. Select Create.
    A shared mailbox is created. Now, you can create and add app users to this mailbox as described in the following section.

  7. Go back to the agent settings page and select the Mark as done checkbox in the Create shared mailbox section. You must select this checkbox to proceed with the agent configuration.

To learn more about shared mailboxes, see Shared mailboxes in Exchange Online.

Create an app user in Dataverse

  1. Ensure that you have the System Administrator role for your Dynamics 365 organization.

  2. Go to the agent settings page.

  3. In the agent settings page, go to the Prerequisites section, and in the Create an app user in Dataverse section, select Set up.

    Screenshot of selecting set up in the create an app user in Dataverse section.

  4. In Power Platform admin center, select the environment where you want to create the app user.

  5. Go to Settings > Users + permissions > Application users and then select + New app user.

  6. In the Create a new app user pane, select + Add an app and then add the application (Application client ID) that is registered in Azure.

  7. Enter the business unit name, and enter the security role for the app user as AIsalesperson.

  8. Select Save.

  9. Go back to the agent settings page and select the Mark as done checkbox in the Create an app user in Dataverse section. You must select this checkbox to proceed with the agent configuration.

To learn more about app users, see Manage application users in the Power Platform admin center.

Configuring server-side synchronization

  1. Ensure that you have the following roles:

    • System Administrator for your Dynamics 365 organization.
    • Office 365 Global Administrator or Exchange Administrator in Microsoft Office 365 admin portal.
  2. In the agent settings page, go to the Prerequisites section, and in the Configure server side sync section, select Set up.

    Screenshot of selecting set up in the configure server side sync section.

    Note

    You can also configure server-side synchronization in your Dynamics 365 organization by going to Advanced Settings > System > Email Configuration > Mailboxes.

  3. Change the view to All Mailboxes and select the mailbox associated with the created application user.

  4. Replace the email address with that of the shared mailbox and then select Approve Email.

  5. Select Test & Enable Mailbox to verify that the server-side sync is established successfully for the email. When successful, the incoming and outgoing email status display Success under the Configuration Status section.

  6. Go back to the agent settings page and select the Mark as done checkbox in the Create an app user in Dataverse section. You must select this checkbox to proceed with the agent configuration.

Next step

Configure general settings for the Sales Qualification Agent

Configure the Sales Qualification Agent