Lesson 3 of 4 Copilot in Dynamics 365 Customer Experience and Service

Designing Connectors for Copilot in Sales

This lesson explains how connectors bring external data and actions to sellers.

Learning outcomes

After completing this lesson, you will be able to:

  • Distinguish Power Platform connectors from Copilot connectors.
  • Describe the process for a Sales agent connector action.
  • Choose a connector type from requirements.

The role of connectors

A connector packages access to a system so that Copilot can read from it or act in it. Without connectors, Copilot in Sales knows only what is in Dynamics 365 and the seller's Microsoft 365 data. With connectors, it can include information such as contract status from a document signing service, order history from an ERP system, or company insights from a partner data provider. Connectors therefore extend Copilot's grounding and its actions, and each one widens the solution's attack surface and compliance scope, so they must be designed deliberately.

Two families of connector are relevant. Power Platform connectors, including custom connectors, expose an API as actions that Copilot Studio extensions can call. Copilot connectors (formerly Microsoft Graph connectors) bring external content into the Microsoft 365 index, where Microsoft 365 Copilot and the Sales agent can use it with source permissions applied.

Designing a connector action

For the Sales agent in Microsoft 365 Copilot, Microsoft documents a process for building a custom connector and connector action. The custom connector must be created in an environment with Dynamics 365 apps enabled; the default environment, which has no Dynamics 365 apps, is not supported. After building the connector, the maker creates an action in Copilot Studio, enables it for users, and gets it certified before broad distribution. This capability is documented as preview. Partner applications, such as e-signature or sales intelligence providers, are also available as ready-made extensions that administrators can enable.

A connector design should specify the following elements.

  • Operations: the minimum set of read and write operations sellers need, with clear names and descriptions that the orchestrator can use.
  • Authentication: whether each user signs in to the external system, which preserves that system's permissions, or a shared service account is used, which needs a narrow scope.
  • Data returned: only the fields sellers need, which reduces the risk of oversharing and the tokens consumed.
  • Data policies: the connector's classification in the Power Platform data policies of the environment, so that it can be used with business data.
  • Ownership and lifecycle: who maintains the connector when the external API changes, and how it moves through environments.

Choosing the connector type

The type of connector depends on how the data is used. The following table summarizes the choice.

RequirementConnector type
Seller asks for live order status from the ERP in a Sales conversationCustom connector with a connector action through Copilot Studio
Sellers search a large library of product documents held in a third-party content systemCopilot connector that indexes the content with permissions
Sellers send contracts for signature from CopilotPartner application extension or connector action
Data must not be copied out of the source systemLive connector action, or a federated Copilot connector
Worked example

Adding ERP data to sales conversations

Sellers using the Sales agent in Microsoft 365 Copilot with Dynamics 365 Sales want to see a customer's open orders and overdue invoices, which are held in a third-party ERP system with a REST API. Each seller may see only their own customers' financial data, which the ERP enforces through per-user permissions. What should you recommend?

The data is live and must respect per-user permissions in the ERP, so the design is a custom connector to the ERP API that uses per-user authentication, created in an environment with Dynamics 365 apps, with a connector action built in Copilot Studio that returns only open orders and overdue invoices. The action is enabled for sellers and certified before distribution, and the connector is classified as a business connector in the environment's data policies. A Copilot connector that indexes ERP data would be less suitable, because financial data changes constantly and its permissions are enforced in the ERP rather than as document permissions.

Check yourself

Can a custom connector for the Sales agent be created in the default environment?

Show answer

No. It must be created in an environment with Dynamics 365 apps enabled; the default environment is not supported.

Exam Tips

Remember for the exam

  • Power Platform custom connectors expose APIs as actions; Copilot connectors index external content.
  • Custom connectors for the Sales agent need an environment with Dynamics 365 apps, not the default environment.
  • Connector actions are created in Copilot Studio, enabled and certified.
  • Prefer per-user authentication when the external system enforces per-user permissions.