Post

Handing Over to Live Agents Without Losing Control

Diesen Beitrag auf Deutsch lesen

A Copilot Studio pattern uses M365 Agents SDK skills and Teams proactive messaging to connect live chat systems while retaining channel control.

A four step flow shows Copilot Studio sending through an M365 Agents SDK skill, Teams proactive messaging carrying async replies, session mapping routing to live chat, and the session closing to return to Copilot Studio.
Schematic view of the steps described by The Custom Engine, not a screenshot.

TL;DR

The Copilot Studio Handover Sample uses an M365 Agents SDK skill as a message broker, Teams proactive messaging for asynchronous live-agent replies, and session mapping to route conversations to a third-party live chat system and return users to Copilot Studio.

Original by Mateusz Wasilewski, on The Custom Engine. Read the original

This is our own summary, not a republication or full translation.

Governance takeaway

  • Makers: Import the pre-built solution and configure its escalation topics and environment variables to test the handover flow.
  • Admins/CoE: Plan two Azure AD app registrations, local endpoints and authentication configuration before deployment because the sample setup is involved.
  • Security/Compliance: Verify authentication between Copilot Studio, Azure Bot Service and the live chat platform before enabling message routing.

Frequently asked questions

How does the Copilot Studio Handover Sample return Teams conversations after live-agent escalation?

The handover skill closes the live chat session, allowing the conversation to return to Copilot Studio without a separate widget or lost context.

Why does this Copilot Studio live-agent pattern work only in Microsoft Teams?

It relies on Teams proactive messaging for asynchronous responses. Other channels require an adapted messaging mechanism.

What authentication setup does HandoverToLiveAgentSample require?

It requires two Azure AD app registrations, one for the skill and one for the Copilot Studio agent, which is auto-created during solution import.

This post is licensed under CC BY 4.0 by the author.