Skip to content

Commit 2d727fa

Browse files
authored
wording/formatting changes
1 parent d28126f commit 2d727fa

1 file changed

Lines changed: 30 additions & 24 deletions

File tree

Lines changed: 30 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,44 @@
11
---
2-
title: Troubleshoot issues with sales AI agents
3-
description: Provides resolutions for the known issues that are related to AI agents in Dynamics 365 Sales.
4-
author:
5-
ms.author:
6-
ms.reviewer:
7-
ms.date: 08/07/2025
2+
title: Troubleshoot Issues With Dynamics 365 Sales AI Agents
3+
description: Solves issues that are related to Sales Qualification Agent and Opportunity Research Agent in Microsoft Dynamics 365 Sales.
4+
author: pachatte
5+
ms.author: pachatte
6+
ms.reviewer: aam, lavanyakr
7+
ms.date: 08/13/2025
88
ms.custom:
99
---
10-
# Troubleshoot issues with sales AI agents
10+
# Dynamics 365 Sales AI agent is stuck during activation
1111

12-
This article helps you troubleshoot and resolve issues related to AI agents in Microsoft Dynamics 365 Sales.
12+
This article provides step-by-step guidance to troubleshoot and resolve issues with AI agents ([Sales Qualification Agent](/dynamics365/sales/sales-qualification-agent) and [Opportunity Research Agent](/dynamics365/sales/opportunity-research-agent)) in Microsoft Dynamics 365 Sales.
1313

14-
## Sales AI agent is stuck during the activation process
14+
## Symptoms
1515

16-
### Symptoms
16+
- The agent remains stuck in the **Starting Agent**, **Starting Test**, or **Applying changes** state for more than 10 minutes when you try to test, start, or update its configuration.
17+
- You receive error messages such as "Something went wrong. Please try again" or "Couldn't start the agent. Please try again."
18+
- The agent's state reverts to its previous status, such as **Draft** or **On**.
1719

18-
- When you try to test or start the agent, or apply changes after editing the agent configuration, the agent is stuck in the **Starting Agent**, **Starting Test**, or **Applying changes** state for more than 10 minutes.
19-
- You see an error message that says "Something went wrong. Please try again." or "Couldn't start the agent. Please try again."
20-
- You see that the agent state is reset to its previous state, such as **Draft** or **On**.
20+
## Cause
2121

22+
This issue occurs when the agent can't start the Power Automate flow required for activation. To check if the problem is related to the Power Automate flow, run the following query:
2223

23-
### Cause
24+
`<ORGURL>/api/data/v9.0/callbackregistrations?$filter=entityname eq 'msdyn_salesagentprofile'&$select=name,filteringattributes,softdeletestatus`
2425

25-
The agent is unable to start the Power Automate flow that activates the agent. To identify if the issue is related to the Power Automate flow, go to `<ORGURL>/api/data/v9.0/callbackregistrations?$filter=entityname eq 'msdyn_salesagentprofile'&$select=name,filteringattributes,softdeletestatus`
26+
If the query returns no results or if `softdeletestatus` is set to **1**, the issue is related to the Power Automate flow.
2627

27-
If there are no results OR if `softdeletestatus` is 1, then the issue is related to the Power Automate flow.
28+
## Resolution
2829

29-
### Resolution
30+
Follow these steps to resolve the issue:
3031

3132
1. Go to the [Power Automate portal](https://make.powerautomate.com).
32-
2. Select the environment in which the agent is being published.
33-
3. Go to **My Flows**.
34-
4. Open the **Activate Sales Agent Profile Flow** flow.
35-
5. Turn it off and then turn it on again.
36-
6. Go to `<ORGURL>/api/data/v9.0/callbackregistrations?$filter=entityname eq 'msdyn_salesagentprofile'&$select=name,filteringattributes,softdeletestatus`.
37-
1. Check if the `softdeletestatus` is 0.
38-
1. Open the Sales Hub app and start the agent.
33+
2. Select the environment where the agent is published.
34+
3. Navigate to **My Flows**.
35+
4. Open the **Activate Sales Agent Profile Flow**.
36+
5. Turn the flow off, then turn it back on.
37+
6. Run the query again:
38+
39+
`<ORGURL>/api/data/v9.0/callbackregistrations?$filter=entityname eq 'msdyn_salesagentprofile'&$select=name,filteringattributes,softdeletestatus`
40+
41+
7. Confirm that `softdeletestatus` is **0**.
42+
8. Open the Sales Hub app and start the agent.
43+
44+
If the issue persists after following these steps, contact your system administrator or Microsoft support for further assistance.

0 commit comments

Comments
 (0)