Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Configure Case Management Agent to identify case intent, gather customer information, and draft or send resolution emails.
Prerequisites
- Make sure Move data across regions for Copilots and generative AI features is set up in the Power Platform admin center application.
- The Power Platform pay-as-you-go plan requires an Azure subscription, which incurs charges when the agent runs. Set up consumption-based billing.
- Customer Intent Agent is configured.
- The guided setup for Case Management Agent is completed. Learn more in Configure Case Management Agent.
- Make sure you review and configure the prerequisites, such as application user and shared mailbox, if you want to configure the fully autonomous Case Management Agent flow. Learn more in Configure individual capabilities.
Set up an application user and shared mailbox
To enable fully autonomous case resolution, configure an application user and a shared mailbox. The agent uses the application user to manage cases and customer correspondence. The shared mailbox provides a centralized address for automated outbound emails.
Follow these steps:
- Create an application user.
- Sign in to Power Platform admin center.
- Follow the steps in Create an application user.
- Assign the Customer Service Representative role to the application user.
- Create and assign a shared mailbox.
- In Microsoft 365 admin center, complete steps 1 through 4 in Create a shared mailbox.
- Copy the shared mailbox's email address.
- Associate the shared mailbox with the application user.
- In Power Platform admin center, open the application user that you created.
- Set the shared mailbox ID to the email address you copied. Learn more in View or edit the details of an application user.
Configure the level of automation
In Copilot Service admin center, follow these steps to configure the automation level for each line of business:
- Select Manage for Case Management Agent in Case settings. The Case Management Agent page appears.
- Select Manage for Case resolution. The Case resolution page appears.
- In Level of automation per line of business, the lines of business you configured for Customer Intent Agent appear. Select the line of business you want, and then select Edit. You can specify the following automation levels for each line of business:
- Full: The AI agent automatically resolves cases.
- Require agent confirmation: The AI agent drafts email responses, but requires a representative to review and send the email.
- Shadow mode: Evaluate predicted actions without sending emails or updating records.
- Disabled: The agent doesn't draft email responses.
Configure case resolution settings
For fully autonomous case resolution, specify the application user that sends emails, a default email template, and whether to use Copilot-recommended templates:
- Select Manage for Case Management Agent in Case settings. The Case Management Agent page appears.
- Select Manage for Case resolution. The Case resolution page appears.
- Set Application user to the required application user.
- Optionally, select Use copilot recommended template for drafting emails.
- Optionally, select a default email template that the AI agent uses when Copilot recommendations are unavailable. If you configured Copilot-recommended email templates and line-of-business-specific email templates, the system uses the default email template when no line-of-business email template is available for the case. If you don't select a default template and Copilot recommended email templates is configured, after the agent identifies the intent, it sends emails using the Copilot inline email assist capabilities.
Configure language for case resolution
Specify the language Case Management Agent uses to draft case resolution emails. If the case field is empty or contains an unsupported locale, the agent hands off the case to a service representative and doesn't draft or send an email.
In Copilot Service admin center, go to Case resolution. The Case resolution page appears.
In Language settings, select one of the following options:
- Use case record: Uses the language locale stored in the case record. Use this option if your organization supports multiple languages and stores the customer’s preferred language on each case.
- Locale field/record: Select the case field that stores the language locale value. The value must be in a valid ISO language–country code format (for example:
en-US).
- Locale field/record: Select the case field that stores the language locale value. The value must be in a valid ISO language–country code format (for example:
- A single language: Select a supported language. Case Management Agent uses it for all case resolution emails. Use this option if your support operations are standardized on one language.
- Use case record: Uses the language locale stored in the case record. Use this option if your organization supports multiple languages and stores the customer’s preferred language on each case.
Record representative interactions with the AI agent
Select Record service representative interactions with AI, including agent actions and their feedback on AI suggestions to record representative interactions, agent actions, and feedback. Download the data to evaluate agent performance, analyze knowledge sources, and build usage reports.
Understand case resolution triggers
Case Management Agent triggers the case resolution process automatically based on the following out-of-the-box and custom events:
- For an inbound email with the Regarding field set to a case.
- For a conversation linked to a case. When a conversation is closed and a transcript is created with the Regarding field set to a case.
- Call
msdyn_invokeCaseProcessingAgentbusiness event to invoke the case resolution process.msdyn_invokeCaseProcessingAgentprovides a customization point that can be called by customer plugins, Power Platform flows, or external systems to trigger case resolution processing based on customer specific business logic or events.
How case resolution works
When the case resolution process is triggered, based on your configuration, the AI agent follows the path specified in the table.
| Scenario | Fully autonomous | Semi-autonomous |
|---|---|---|
| Can't identify intent | Sends an email to the customer requesting additional information. Based on customer response, the agent follows one of the paths: • Identifies case intent, but requires additional information • Identifies the case intent and determines that the information is sufficient to resolve the case. Invokes the update functionality of Case Management Agent, if configured, to update the case fields, based on customer response. |
Drafts an email to the customer requesting additional information. A service representative reviews and sends the email to the customer. Based on customer response, the agent follows one of the paths: • Identifies case intent, but requires additional information • Identifies the case intent and determines that the information is sufficient to resolve the case. Invokes the update functionality of Case Management Agent, if configured, to update the case fields, based on customer response. |
| Identifies case intent, but requires additional information | Sends an email to the customer requesting additional information. Based on customer response the case resolution agent either sends an email to the customer with the resolution or sends another email requesting additional information. Invokes the update functionality of Case Management Agent to update the case fields, based on customer response. | Drafts an email to the customer requesting additional information. Based on the customer response the case resolution agent either drafts an email to the customer with the resolution or another email requesting additional information. Invokes the update functionality of Case Management Agent to update the case fields, based on customer response. |
| Identifies the case intent and determines information is sufficient | Generates a solution and sends an email to the customer with resolution details. • If the customer accepts the resolution, the AI agent sets the status of the case to Resolved. Invokes the case follow-up functionality to follow up with the customer for case, if case follow-up and closure is configured for Case Management Agent. • If the customer needs further assistance, the agent routes the case to a service representative. |
Drafts a solution and sends an email to the customer with resolution details. If the customer accepts the resolution, the case resolution agent sets the status of the case to Resolved. Invokes the case follow-up functionality to follow up with the customer for case, if case follow-up and closure is configured for Case Management Agent. |
Note
- The AI agent selects an appropriate email template using Copilot recommended templates and line-of-business specific templates to draft email responses.
- If no email template is available, the AI agent uses the default email template configured in the global settings.
Integrate Case Management Agent with custom Copilot Studio agents
You can integrate Case Management Agent with custom Microsoft Copilot Studio agents to enhance the case resolution process. For example, you can create a custom agent that provides additional context or performs specific actions based on the case details. Learn more in Integrate Case Management Agent with custom Copilot Studio agents.
Test case resolution with simulations (preview)
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.
Use sample records to test and compare case resolution by Case Management Agent before enabling the agent in production.
Note
- You can run simulation only if the level of automation for the line of business is set to Disabled.
- Simulations consume Copilot or AI credits in the same way as agent runs.
Set up a simulation
On the Case Management Agent page, in Case resolution, select Manage. The Case resolution page appears.
Select Go to simulation in the Command menu. The Case resolution simulation page appears.
On the Simulation setup tab, provide the following information:
- Simulation name: Provide a simulation name.
- Select the line of business from the dropdown list. You can select only a disabled line of business.
- Select Show matching cases. The Selected record section shows cases that match the line of business and any filters in Additional record filters. Only the first 100 matching cases appear because each simulation can run on up to 100 cases.
Select the cases, and then select Run simulation. The Simulation result tab shows the results.
View a simulation report
Simulations are listed with details of the simulation name, line of business, run date, status, and results on the Simulation result tab.
- Select Download to export an Excel report.
- Select View to see simulation results for a specific line of business. The page displays the run details along with individual case predictions showing intent, action type, and generated response. Select View Email to view the generated response email.
Enable shadow mode and view results (preview)
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.
Use shadow mode to evaluate predicted actions from Case Management Agent on live cases without sending emails or updating records.
Note
Shadow mode consumes Copilot or AI credits in the same way as agent runs.
- On the Case resolution page, in Level of automation per line of business, select a line of business.
- Select Edit. On the Settings pane, select Shadow mode from the Level of automation dropdown list, and save the changes.
- Select Shadow mode results from the Command menu. On the Case resolution shadow mode results page, you can view the line of business, status, intent predicted, action type, and response. Expand a case to view all shadow responses associated with it.
- Select View Email to view the email preview.