Skip to content

Commit 9ab6c36

Browse files
authored
improve the content
1 parent 2d727fa commit 9ab6c36

1 file changed

Lines changed: 16 additions & 12 deletions

File tree

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,48 @@
11
---
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
2+
title: Troubleshoot Activation Issues With Dynamics 365 Sales AI Agents
3+
description: Solves activation issues related to Sales Qualification Agent and Opportunity Research Agent in Microsoft Dynamics 365 Sales.
4+
author:
55
ms.author: pachatte
66
ms.reviewer: aam, lavanyakr
7-
ms.date: 08/13/2025
7+
ms.date: 08/14/2025
88
ms.custom:
99
---
1010
# Dynamics 365 Sales AI agent is stuck during activation
1111

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.
12+
This article provides guidance to resolve issues where the AI agents ([Sales Qualification Agent](/dynamics365/sales/sales-qualification-agent) and [Opportunity Research Agent](/dynamics365/sales/opportunity-research-agent)) in Dynamics 365 Sales get stuck during the activation process or revert to a draft state.
1313

1414
## Symptoms
1515

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."
16+
- When you try to test, start, or update the agent's configuration, it remains in the **Starting Agent**, **Starting Test**, or **Applying changes** state for more than 10 minutes.
17+
- You receive error messages, such as:
18+
- > Something went wrong. Please try again.
19+
- > Couldn't start the agent. Please try again.
1820
- The agent's state reverts to its previous status, such as **Draft** or **On**.
1921

2022
## Cause
2123

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:
24+
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 in your browser or API tool, replacing \<ORGURL> with your organization's URL:
2325

2426
`<ORGURL>/api/data/v9.0/callbackregistrations?$filter=entityname eq 'msdyn_salesagentprofile'&$select=name,filteringattributes,softdeletestatus`
2527

2628
If the query returns no results or if `softdeletestatus` is set to **1**, the issue is related to the Power Automate flow.
2729

28-
## Resolution
30+
[Learn more about callbackregistration EntityType](/power-apps/developer/data-platform/webapi/reference/callbackregistration?view=dataverse-latest).
31+
32+
## Solution
2933

3034
Follow these steps to resolve the issue:
3135

3236
1. Go to the [Power Automate portal](https://make.powerautomate.com).
3337
2. Select the environment where the agent is published.
3438
3. Navigate to **My Flows**.
3539
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:
40+
5. Turn off the flow, then turn it back on.
41+
6. Run the query again in your browser or API tool:
3842

3943
`<ORGURL>/api/data/v9.0/callbackregistrations?$filter=entityname eq 'msdyn_salesagentprofile'&$select=name,filteringattributes,softdeletestatus`
4044

4145
7. Confirm that `softdeletestatus` is **0**.
4246
8. Open the Sales Hub app and start the agent.
4347

44-
If the issue persists after following these steps, contact your system administrator or Microsoft support for further assistance.
48+
If the issue persists after following these steps, verify your flow configuration or contact Microsoft support for further assistance.

0 commit comments

Comments
 (0)