MSBA-283 · Lesson 1 of 12 · 23 min
Unified routing
▶ Video coming soon A video version of this lesson is on the way.
At the November review, Ravi Castellane-Duff had good news to report. Since Kestrelbay Marine Supply went live on Dynamics 365 in October, the time to a first response on email had fallen from about a day to under five hours. The old shared orders mailbox had become the Orders and service queue, cases were logged instead of lost in a folder, and the counter agents at both branches could see what the warehouse knew. The work described in the previous course, Case Management and Knowledge in Dynamics 365 Customer Service, had done what it promised.
Ravi's next problem was the queue itself. Every email case landed in one place, and the twelve service and counter staff picked from it whenever they had a moment. The quick ones were picked first. A warranty question about an outboard engine could sit for a day because nobody felt confident with it, while three people opened the same simple stock question at once. "I don't want a bigger queue," Ravi told Mirela Dragomir-Hale, the functional consultant who had led the implementation. "I want the right person to get the right work without anyone having to look for it. And sooner or later customers are going to ask why they can't just chat with us or text us."
This course follows Mirela and Ravi through a design study that answers both requests. The first half is about unified routing: the service in Dynamics 365 that classifies incoming work, sends it to a queue and assigns it to a person. The second half is about the channels and AI that sit around routing: chat, messaging and voice, the tools service representatives and supervisors use, Copilot, customer-facing AI agents, recommendations and analytics. The course closes with a full case study of a regional airline's contact centre.
Products, names and what Kestrelbay owns
Microsoft sells service capabilities in two products that share the same Dataverse tables. Dynamics 365 Customer Service is the case management application. Dynamics 365 Contact Center is the product for engagement channels, such as voice, live chat and digital messaging, with AI features built around them; it can run on its own or embedded alongside Customer Service. Earlier documentation, training and many blog posts call the channel side Omnichannel for Customer Service, and the name survives in some places, such as the Omnichannel real-time analytics dashboard. This course uses the current names and mentions the old ones where they help you recognize older material.
Unified routing serves both products. It routes records, such as cases, emails and rows of custom tables, and it routes conversations that arrive on chat, messaging and voice channels. That distinction mattered for Kestrelbay. Phase one had bought Customer Service Enterprise for the service team and deferred Contact Center. Routing records with unified routing is part of the Customer Service Enterprise feature set, so Mirela could build and test case and email routing straight away in Kestrelbay-Test. Channels would need Contact Center or the relevant channel licences, so that part of the study would be a design and a business case rather than a build.
| Capability | Where it comes from | Kestrelbay status |
|---|---|---|
| Cases, queues, SLAs, knowledge | Customer Service | Live since October |
| Unified routing for records (cases, emails) | Customer Service Enterprise | Pilot in Kestrelbay-Test |
| Chat, messaging and voice channels | Dynamics 365 Contact Center or channel licences | Design only; deferred in phase one |
| Copilot features for representatives | Customer Service and Contact Center, in supported regions | Pilot with selected representatives |
| Autonomous AI agents | Billed by consumption through Copilot Credits | Case Management Agent planned for phase two |
The service people themselves have a new name too. Microsoft now calls them customer service representatives, or service representatives or simply representatives, and keeps the word agent for AI agents built in Copilot Studio or supplied by Microsoft. Older screens and documents still say agent, and some settings keep the old wording during the transition. In this course a representative is always a person and an agent is always software.
What the MB-230 exam expects
This course belongs to the Dynamics 365 Customer Service Functional Consultant program, which prepares for Exam MB-230. The study guide on Microsoft Learn, with skills measured as of March 11, 2026, divides the exam into three domains: manage cases (51 to 55 percent), configure representative experience and routing (25 to 30 percent) and extend Customer Service (15 to 20 percent). Routing makes up most of the middle domain. The bullets ask candidates to configure workstreams, user settings and capacity profiles, work classification and assignment rules, basic routing rulesets, skills-based routing and skill finder models, queues, and routing for records. The same domain covers the Copilot Service workspace, with session templates, experience profiles, the Inbox and application tab templates.
Several topics in this course go beyond the exam. Chat, messaging and voice channels, the supervisor experience and contact centre analytics are Contact Center skills rather than MB-230 skills, and the lessons on them say so. A consultant who works on service projects needs them anyway, because customers rarely draw the line where the exam does.
How unified routing works
Unified routing treats every incoming item as a work item. A case created from an email is a work item; so is a live chat request or a phone call. Each work item passes through the same stages, and every stage is driven by rules that an administrator configures in the Copilot Service admin center.
Intake. The work item first has to reach a workstream, which is a container for the rules and settings that apply to one kind of work. For records, an intake rule on the record workstream decides which rows enter it; for example, cases whose origin is email. For conversations, the channel instance, such as a chat widget or a phone number, is attached to a workstream when it is created.
Classification. Next, work classification rulesets add information the later stages need. A logical rule can read the work item and set outputs such as skills, priority or severity: a case whose product family is outboard engines needs the skill Engine warranty. A machine learning ruleset can predict skills from the text of the case with a skill finder model, which lesson 3 describes. Classification does not move the work item; it only labels it.
Route to queue. Route-to-queue rulesets then send the work item to a queue. Each rule has conditions and a target queue, and the rules are evaluated in order until one matches. If nothing matches, the work item goes to the workstream's fallback queue, so that nothing is lost. A route-to-queue rule can use the outputs of classification, which is why classification comes first.
Assignment. Finally, the queue's assignment method picks a representative. The out-of-the-box methods are highest capacity, advanced round robin, least active (for voice and messaging queues) and no auto assignment, and you can build a custom method from prioritization and assignment rulesets. Assignment considers each representative's presence, capacity and skills. Lesson 3 covers the methods in detail.
Notification and acceptance. When a work item is assigned in a push workstream, the representative sees a notification and accepts it, which opens a session in the Copilot Service workspace. In a pick workstream, the item waits in the queue until a representative picks it from the Inbox or a list. If a representative declines too many times, the work item goes back for reassignment; the default limit is three declines, which an administrator can change.
Routing records: cases and emails
For Kestrelbay the first target was case routing. A record workstream is created for a table, such as Case or Email, and routing has to be set up for that table in the admin center. Records reach unified routing in several ways: an automatic record creation and update rule creates a case from an incoming email and routes it; a representative selects Save and route on a case form; or a Power Automate flow routes a record when a condition is met. Once a record is routed, it follows the same intake, classification, route-to-queue and assignment stages as a conversation.
Records behave a little differently from conversations in queues. Within a record queue, items are ordered by the time they were routed unless a custom prioritization ruleset says otherwise. Assignment for records also runs periodically, not only when an item arrives, so a case that could not be assigned because everyone was busy is tried again on the next cycle. Microsoft documents that periodic trigger as every five minutes. Mirela noted this for Ravi, because it explained why an unassigned case might sit for a few minutes after a representative became free.
Worked problem
Mapping the Orders and service queue to unified routing
Kestrelbay's single Orders and service queue receives cases created from email. Ravi wants engine warranty questions to reach the two people who know engines, stock and order questions to reach the counter staff, and anything from Northshore Port Authority's five marinas to reach the team that handles that contract. How should Mirela map this to unified routing stages?
Show solution
- Intake: a record workstream for cases, with an intake rule that accepts cases whose origin is email.
- Classification: a logical ruleset that sets the skill Engine warranty when the product family is outboard engines or inboard engines, and the skill Contract account when the parent account is Northshore Port Authority.
- Route to queue: three rules in order. Contract account goes to the Contract accounts queue; Engine warranty goes to the Warranty queue; everything else goes to the Orders and service queue.
- Fallback queue: Orders and service, so that a case that matches no rule still reaches someone.
- Assignment: highest capacity with exact skill matching on the Warranty queue, and a simpler method on Orders and service.
Answer: The routing logic sits in rules rather than in people's heads. Each stage does one job, and changing one rule, such as adding a fourth queue later, does not require rebuilding the others.
Basic routing rulesets and when they still apply
Before unified routing, Customer Service offered routing rule sets, which the study guide now calls basic routing rulesets. A basic ruleset is a list of rule items; each item has conditions and sends a matching case to a queue, a user or a team. Only one ruleset can be active at a time, and it runs when a case is routed, for example by Save and route or by a rule that creates cases from email. Basic rulesets are quick to set up and are enough for a small team with simple rules.
Basic rulesets stop at the queue or the named user. They have no classification stage, no skills, no capacity and no assignment methods, so somebody still picks the work from the queue. Microsoft recommends unified routing for new implementations, and many newer features, including assignment methods, conversation diagnostics and the AI features described later in this course, build on it. Mirela explained the choice to Ravi as a question of scale. With twelve people, two kinds of work and one contract customer, a basic ruleset could send cases to the right queue. It could not decide who in that queue should do the work next, and that was the real problem.
| Question | Basic routing ruleset | Unified routing |
|---|---|---|
| What does it route? | Cases | Records of many tables, plus chat, messaging and voice conversations |
| Where does work go? | A queue, user or team | A queue, then to a representative chosen by an assignment method |
| Classification and skills | No | Yes, with logical rules or machine learning |
| Capacity and presence | No | Yes |
| Diagnostics | No | Conversation diagnostics in Azure Application Insights |
| Typical fit | Small teams with simple rules | Most new implementations, and every contact centre |
Conversation diagnostics
When work goes to the wrong place, the first tool to open is diagnostics. Older material describes a built-in feature called unified routing diagnostics; Microsoft deprecated it in May 2024 and removed it on March 31, 2026. Its replacement is conversation diagnostics, which logs each lifecycle event of a work item, including its routing stages, to an Azure Application Insights resource. For a classification or route-to-queue event, an administrator can see the condition that applied, the conditions that were not evaluated, the final output and the assignment details. For records, the Diagnose command on a case shows its routing attempts; each attempt appears as a conversation with its intake rule and details. That turns a vague complaint into a specific broken rule.
Conversation diagnostics has prerequisites that the old feature did not. The environment must be a Managed environment, someone with Contributor rights in Azure must create the Application Insights resource and grant the setup app read access to it, and the data is billed through Azure Monitor by the volume ingested. Microsoft's setup page, updated in October 2026, estimates about 7 KB per routed work item plus a little more per ruleset and rule. For a team of Kestrelbay's size the cost is small, but someone has to own the Azure resource, so Mirela added it to the infrastructure list beside the environments.
Mirela built a habit into the pilot. Whenever a representative reported a case in the wrong queue, the test team used Diagnose on the case before touching any rule. In the first week of the pilot, two cases about stern drives went to Orders and service instead of the Warranty queue. The classification event showed that the classification rule checked for the product families outboard engines and inboard engines, and stern drives were a third family. The fix took two minutes; finding it without diagnostics might have taken an afternoon.
Overflow and operating hours
Routing also has to handle the moments when there are not enough people. Each queue can have operating hours, and a queue can be set up with overflow handling: conditions that say the queue is too full or closed, and actions to take when that happens. Overflow conditions include the queue being outside its operating hours and the number of work items in it exceeding a limit; for voice queues there is also a condition on the estimated wait time. Actions include transferring the work item to another queue and, for calls, ending the call with a message, offering a callback or sending the caller to voicemail. Overflow can be checked before a work item enters the queue and while it waits.
Kestrelbay's counters close at five, but email arrives all evening. For email cases Mirela set the queues to keep accepting work outside hours, because a case can wait until morning. For a future chat channel the answer would be different: a customer who opens a chat at six in the evening should be told that nobody is available and offered another way to reach the company, rather than being left waiting. She wrote both rules into the design.
Planning the routing design
Mirela's design document for Ravi began with questions, not settings. What kinds of work arrive, and through which channels? Which skills does each kind need, and who has them? What should happen when nobody with the skill is free? Which work is more urgent than other work? What hours does each team keep? The answers produced a simple table of work types, skills, queues and rules, which became the first page of the design and the basis for the rest of this course.
| Work type | Skill needed | Queue | Who can take it |
|---|---|---|---|
| Stock and order questions | None beyond the basics | Orders and service | All twelve service and counter staff |
| Engine warranty questions | Engine warranty | Warranty | Corentin Mbatha-Lowe and one counter agent at each branch |
| Northshore Port Authority contract | Contract account | Contract accounts | Two named representatives |
| Anything unmatched | None | Orders and service (fallback) | All service and counter staff |
Ravi read the table twice. "This is what I do in my head every morning when I look at the queue," he said. "If the system does it, I can stop being a human router." Mirela pointed out what the table did not yet say: how many items each person could handle at once, how to choose between two qualified people, and what the representatives would see when work arrived. The next two lessons fill those gaps.
Common mistakes
MistakeTreating unified routing as a Contact Center feature only.
InsteadUnified routing also routes records such as cases and emails, and that part is available with Customer Service Enterprise.
MistakeExpecting classification rules to move a work item to a queue.
InsteadClassification only adds attributes such as skills and priority; route-to-queue rules move the work item.
MistakeLeaving a workstream without a fallback queue.
InsteadSet a fallback queue so that a work item that matches no route-to-queue rule still reaches people.
MistakeEditing rules whenever someone reports misrouted work.
InsteadUse Diagnose and conversation diagnostics for that work item first and find the stage that went wrong.
MistakeCalling the people in a contact centre agents in new documentation.
InsteadUse service representatives for people and agents for AI agents, as Microsoft now does.
Summary and key terms
- Unified routing routes records and conversations through the same stages: intake into a workstream, classification, route to queue and assignment.
- Classification rulesets add skills, priority and other attributes; route-to-queue rulesets choose the queue in order; a fallback queue catches the rest.
- Records reach unified routing through automatic record creation rules, Save and route, or flows; record assignment is also retried periodically.
- Basic routing rulesets send cases to a queue, user or team, but have no skills, capacity or assignment methods.
- Conversation diagnostics in Azure Application Insights, with Diagnose on a case, shows what happened at each stage; the older unified routing diagnostics was removed on March 31, 2026.
- Unified routing
- The Dynamics 365 service that classifies, queues and assigns records and conversations.
- Work item
- A record or conversation that unified routing processes.
- Workstream
- A container for the routing and work distribution settings that apply to one kind of work.
- Work classification ruleset
- Rules that add attributes such as skills or priority to a work item.
- Route-to-queue ruleset
- Ordered rules that send a work item to a queue.
- Fallback queue
- The queue a workstream uses when no route-to-queue rule matches.
- Conversation diagnostics
- Logging of each work item lifecycle event, including routing stages, to Azure Application Insights.
- Basic routing ruleset
- The older Customer Service feature that routes cases to a queue, user or team by conditions.
Practice problems
Work each problem on paper first, then reveal the answer to check.
Name the four main stages of unified routing in order.
Show answer
Intake into a workstream, classification, route to queue, and assignment.
A case matches none of the route-to-queue rules. Where does it go?
Show answer
To the fallback queue set on the workstream.
Why could Mirela build case routing in Kestrelbay-Test before Contact Center was bought?
Show answer
Unified routing for records is part of Customer Service Enterprise; only the channels need Contact Center.
Lesson quiz · 5 questions
Score 60% or more to complete this lesson.
Create a free account to save your progress, take quizzes and earn a certificate.