Configuring Copilot by using Different End User Authentication for Actions

By | September 25, 2024

Configuring copilot by using different end user authentication for actions

Copilot in Microsoft Dynamics 365 helps to streamline the sales process and close deals faster by reducing the time they spend usually on critical tasks. Copilot provides AI assistance to boost the productivity of the business, generative AI capabilities can be utilized for the summarization of records and email content generation. You can find more details about copilot in this Microsoft doc.

In this blog, let’s understand how to configure the copilot quickly and understand the end user authentications. While configuring the copilot there is a setting available that can be selected for the end user authentication.

There are two types of authentication that you can select depending on the business need. Two types of authentication available are:

  • User authentication
  • Copilot author authentication.

Curiosity led to the discovery of a Microsoft document that outlines the authentication methods and the supported channels, specifically detailing their impact at the end-user level.

Creating a new custom copilot from scratch:

To create a new custom Copilot, navigate to https://copilotstudio.microsoft.com/ and select the “New Copilot” option from the highlighted menu.

Configuring copilot by using different end user authentication for actions

The following window will appear. You can proceed by clicking on “Skip to configure” to continue with the setup.

Configuring copilot by using different end user authentication for actions

Enter the basic details as follows:

Name: Provide a relevant name for your custom Copilot.

Description: Add a brief description outlining the purpose and functionality.

Instructions: Specify any instructions or guidelines for the Copilot’s operation.

Refer to the example below for guidance.

Configuring copilot by using different end user authentication for actions

Adding Action to Copilot:

After creating the Copilot, scroll down to the “Actions” section. Use the “Add action” button to select and add predefined actions from the available list.

Configuring copilot by using different end user authentication for actions

Now select the “Get current weather” action as shown below:

Configuring copilot by using different end user authentication for actions

User Authentication Method:

Upon selecting the action, the Configure Action window appears as shown below. Note that the End User Authentication is set to the default option, “User Authentication.”

Configuring copilot by using different end user authentication for actions

Configuring copilot by using different end user authentication for actions

Note: You can change it to “Copilot author authentication” by selecting from drop-down, for now, I am keeping it as “User authentication” only.

Once you click on the “Next” button, the below window will appear where you can edit inputs and outputs for your action (if needed).

Configuring copilot by using different end user authentication for actions

Configuring copilot by using different end user authentication for actions

I have left the “Location” input setting unchanged and modified the “Unit” setting for simplicity, as shown below.

Configuring copilot by using different end user authentication for actions

Set the “How will the copilot fill this input?” option to “Set as a value” and assign the default value as “I” for the “Unit” field, as demonstrated above.

Click Save, then proceed by selecting the “Next” button. The following window will appear—click Finish.

The process will take a few seconds, and you’ll see a “Processing your request” message as shown below.

Configuring copilot by using different end user authentication for actions

Configuring copilot by using different end user authentication for actions

Once completed, you will see the action being added successfully as shown in the “Overview” tab below

Configuring copilot by using different end user authentication for actions

Now enable “Generative AI” for added action, navigate to the “Actions” tab as shown below where you will see the “Go to Generative AI” button, and click on it:

Configuring copilot by using different end user authentication for actions

Select the option highlighted below and click the Save button. Please note that the saving process may take a few minutes to complete.

Configuring copilot by using different end user authentication for actions

Configuring copilot by using different end user authentication for actions

Once saved you will see the below message:

Configuring copilot by using different end user authentication for actions

To test the Copilot, click on the “Test” button as highlighted below. You can ask a simple question, such as “What is today’s weather condition?”, as shown in the example.

Configuring copilot by using different end user authentication for actions

Since the Copilot is requesting specific details such as the “Location”, provide the required Location and verify the output. You will notice that the end user is prompted to establish a valid connection. Users must explicitly connect to an authenticated account by clicking on the “Connect” button, as the “End-user authentication” was previously set to “User authentication”. A pop-up will appear displaying two options: “Connect” and “Retry.”

Configuring copilot by using different end user authentication for actions

Once click on “Connect” ” you will see that the connection will appear with the status “Not Connected” and additional authentication is required from a user to authenticate this connection. Click on “Connect” as shown:

Configuring copilot by using different end user authentication for actions

Pick a valid connection and submit.

Configuring copilot by using different end user authentication for actions

Status will be changed to Connected as shown below:

Configuring copilot by using different end user authentication for actions

Now once connected, return to the “Test” window and click on “Retry” and you will observe the desired output as below:

Configuring copilot by using different end user authentication for actions

Above mentioned steps of connecting to the connector are additional in the case of “User authentication”

Copilot Author Authentication Method:

If you change the End user authentication setting to “Copilot author authentication” and test the copilot then below will be the user experience:

Configuring copilot by using different end user authentication for actions

Observe that there is no need to explicitly connect to the connection as it runs under the copilot author authentication connection.

Configuring copilot by using different end user authentication for actions

Conclusion:

End-user authentication selection is important and should be selected based on the business need. As demonstrated if it is “Copilot Author Authentication” then the user won’t be prompted for the connection page and get Copilot author authentication directly/without selection of connection but If need to restrict the user for auto authentication then with the “User Authentication” option valid connections can be explicitly selected from connections page.

Experience the power of Dynamics 365 and Power Platform with Copilot!

Stay ahead with the latest updates in Copilot, integrating Microsoft Copilot into your developments. Connect with us at crm@inogic.com for personalized AI-enabled solutions tailored to your business needs.