You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Resolution:** This error occurs when a prompt action receives incorrect input or returns unexpected output types.
80
+
**Resolution:** This error occurs when a prompt action receives incorrect input or returns unexpected output types. To resolve, take one of the following actions based on the error:
81
81
82
-
**Common causes and fixes:**
83
-
84
-
-**Type mismatch:** The prompt's output type doesn't match what's expected. Check your prompt configuration to ensure the output schema matches the expected variable type.
85
-
86
-
-**Missing required input:** A required input parameter wasn't provided. Verify that all required inputs are connected to variables with values.
87
-
88
-
-**Blank required value:** A required input was provided but its value is blank. Ensure the variable has a value before calling the prompt.
82
+
-_Type mismatch:_ Check your prompt configuration to ensure the output schema matches the expected variable type.
83
+
-_Missing required input:_ Verify that all required inputs are connected to variables with values.
84
+
-_Blank required value:_ Ensure the variable has a value before calling the prompt.
89
85
90
86
For more information, see [Create a prompt action](/ai-builder/use-a-custom-prompt-in-mcs#create-a-prompt-action).
91
87
@@ -111,18 +107,10 @@ For more information, see [Create a prompt action](/ai-builder/use-a-custom-prom
111
107
112
108
- Integrated authentication is not supported in channel `{channel}`.
113
109
114
-
**Resolution:** This error occurs when your agent uses actions or features that require user authentication, but authentication hasn't been configured.
115
-
116
-
**To resolve:**
110
+
**Resolution:** This error occurs when your agent uses actions or features that require user authentication, but authentication hasn't been configured. To resolve:
117
111
118
112
1. In your agent, go to **Settings > Security > Authentication**.
119
-
120
-
1. Select one of the appropriate authentication methods:
121
-
122
-
-**Authenticate with Microsoft** for Microsoft 365 users
123
-
124
-
-**Authenticate manually** for custom OAuth providers
125
-
113
+
1. Select an appropriate authentication method: **Authenticate with Microsoft** for Microsoft 365 users, or **Authenticate manually** for custom OAuth providers.
126
114
1. If the error mentions a specific channel, verify that the channel supports the authentication method you're using. Some channels don't support integrated authentication.
127
115
128
116
For more information, see [Configure user authentication](/microsoft-copilot-studio/configuration-end-user-authentication).
@@ -131,48 +119,29 @@ For more information, see [Configure user authentication](/microsoft-copilot-stu
131
119
132
120
**Error message:** Your connected agent with schema name `{AgentSchemaName}` has an authentication mismatch with the main agent.
133
121
134
-
**Resolution:** The orchestrator agent and connected sub-agent have different authentication configurations. For multi-agent orchestration to work, both agents must use compatible authentication settings.
135
-
136
-
**To resolve:**
122
+
**Resolution:** The orchestrator agent and connected sub-agent have different authentication configurations. For multi-agent orchestration to work, both agents must use compatible authentication settings. To resolve:
137
123
138
124
1. Open both agents and go to **Settings > Security > Authentication**.
139
-
140
125
1. Ensure both agents use the same authentication method (for example, both use **Authenticate with Microsoft**).
141
-
142
126
1. If using manual authentication, ensure both agents are configured with the same OAuth provider and settings.
143
127
144
-
**Important:**The following authentication compatibility rules apply:
128
+
The following authentication compatibility rules apply:
145
129
146
130
- If the connected agent has _no authentication_ configured, any orchestrator authentication is acceptable.
147
-
148
131
- If the connected agent _requires authentication_, the orchestrator must use the _same_ authentication method.
149
-
150
132
-**Manual authentication (Generic OAuth2)** on the orchestrator is _not compatible_ with connected agents that require authentication. Both agents must use the same manual authentication configuration or the connected agent must have no authentication requirement.
151
133
152
-
**Common scenarios that cause this error:**
153
-
154
-
- Orchestrator uses **Authenticate with Microsoft** but the connected agent uses manual OAuth
155
-
156
-
- Orchestrator uses manual OAuth but connected agent uses **Authenticate with Microsoft**
157
-
158
-
- Connected agent requires authentication but orchestrator has no authentication configured
159
-
160
134
For more information, see [Configure user authentication](/microsoft-copilot-studio/configuration-end-user-authentication) and [Use agents as actions in other agents (preview)](/microsoft-copilot-studio/advanced-use-dispatcher).
161
135
162
136
#### ConnectedAgentBotNotFound
163
137
164
138
**Error message:** Connected agent with schema name {AgentSchemaName} not found.
165
139
166
-
**Resolution:** This error occurs in multi-agent orchestration when the orchestrator agent can't find a connected sub-agent.
167
-
168
-
**To resolve:**
140
+
**Resolution:** This error occurs in multi-agent orchestration when the orchestrator agent can't find a connected sub-agent. To resolve:
169
141
170
142
1. Verify the connected agent exists in the same environment as the orchestrator agent.
171
-
172
143
1. Ensure the connected agent's schema name is spelled correctly in the orchestrator configuration.
173
-
174
144
1. Check that you have access permissions to the connected agent.
175
-
176
145
1. If the connected agent was recently created, wait a few minutes and try again.
177
146
178
147
For more information, see [Use agents as actions in other agents (preview)](/microsoft-copilot-studio/advanced-use-dispatcher).
@@ -181,14 +150,10 @@ For more information, see [Use agents as actions in other agents (preview)](/mic
181
150
182
151
**Error message:** Connected agent with schema name `{AgentSchemaName}` needs to be published to be invoked.
183
152
184
-
**Resolution:** The connected sub-agent must be published before it can be invoked by the orchestrator agent.
185
-
186
-
**To resolve:**
153
+
**Resolution:** The connected sub-agent must be published before it can be invoked by the orchestrator agent. To resolve:
187
154
188
155
1. Open the connected agent in Copilot Studio.
189
-
190
156
1. Publish the agent.
191
-
192
157
1. Return to the orchestrator agent and test again.
193
158
194
159
For more information, see [Use agents as actions in other agents (preview)](/microsoft-copilot-studio/advanced-use-dispatcher).
@@ -197,14 +162,10 @@ For more information, see [Use agents as actions in other agents (preview)](/mic
197
162
198
163
**Error message:** Agent chaining detected. Your agent cannot be connected to agent with schema name `{AgentSchemaName}` as it already has a connected agent.
199
164
200
-
**Resolution:** Multi-level agent chaining isn't supported. An orchestrator agent can connect to sub-agents, but those sub-agents can't have their own connected agents.
201
-
202
-
**To resolve:**
165
+
**Resolution:** Multi-level agent chaining isn't supported. An orchestrator agent can connect to sub-agents, but those sub-agents can't have their own connected agents. To resolve:
203
166
204
167
1. Review your agent architecture and flatten the hierarchy.
205
-
206
168
1. Move the functionality from deeply nested agents into either the orchestrator or first-level connected agents.
207
-
208
169
1. Consider using topics or actions instead of additional connected agents.
209
170
210
171
For more information, see [Use agents as actions in other agents (preview)](/microsoft-copilot-studio/advanced-use-dispatcher).
@@ -213,18 +174,12 @@ For more information, see [Use agents as actions in other agents (preview)](/mic
213
174
214
175
**Error message:** No GPT component found for connected agent with schema name `{AgentSchemaName}`.
215
176
216
-
**Resolution:** The connected agent is missing required description or instructions that enable it to be invoked by an orchestrator agent.
217
-
218
-
**To resolve:**
177
+
**Resolution:** The connected agent is missing required description or instructions that enable it to be invoked by an orchestrator agent. To resolve:
219
178
220
179
1. Open the connected agent in Copilot Studio.
221
-
222
180
1. Go to the agent's **Overview** page.
223
-
224
181
1. Ensure the agent has a clear **Description** and **Instructions** configured.
225
-
226
182
1. Publish the connected agent after making changes.
227
-
228
183
1. Return to the orchestrator agent and test again.
229
184
230
185
For more information, see [Use agents as actions in other agents (preview)](/microsoft-copilot-studio/advanced-use-dispatcher).
@@ -233,28 +188,20 @@ For more information, see [Use agents as actions in other agents (preview)](/mic
233
188
234
189
**Error message:** Power Fx expression evaluation failed: {ErrorDetails}
235
190
236
-
**Resolution:** A Power Fx expression used in a connector action failed to evaluate correctly.
237
-
238
-
**Common causes and fixes:**
239
-
240
-
-**Syntax error:** Check your Power Fx expression for typos or incorrect syntax.
241
-
242
-
-**Type mismatch:** Ensure the data types in your expression are compatible (for example, don't compare text to numbers without conversion).
243
-
244
-
-**Null or blank values:** Add error handling for cases where variables might be blank. Use functions like `IsBlank()`, `Coalesce()`, or `IfError()`.
245
-
246
-
-**Invalid function usage:** Verify that functions are used with the correct number and type of arguments.
247
-
248
-
**To resolve:**
191
+
**Resolution:** A Power Fx expression used in a connector action failed to evaluate correctly. To resolve:
249
192
250
193
1. Open the topic containing the connector action.
251
-
252
194
1. Review the Power Fx expressions in the action's input parameters.
253
-
254
195
1. Test the expressions with sample data to identify the issue.
255
-
256
196
1. Use the formula bar's error indicators to locate specific problems.
257
197
198
+
Common causes include:
199
+
200
+
- Syntax errors
201
+
- Type mismatches (such as comparing text to numbers without conversion)
202
+
- Null or blank values (use functions like `IsBlank()`, `Coalesce()`, or `IfError()` for handling)
203
+
- Invalid function usage
204
+
258
205
For more information, see [Use Power Fx in Copilot Studio](/microsoft-copilot-studio/advanced-power-fx).
259
206
260
207
#### ContentError
@@ -289,22 +236,16 @@ Common problems include:
289
236
290
237
**Error message:** Conversation state size exceeds the maximum allowed limit.
291
238
292
-
**Resolution:** The conversation has accumulated too much data in its state, exceeding the allowed size limits.
293
-
294
-
**To resolve:**
295
-
296
-
1.**Reduce variable data:** Review your topics and reduce the amount of data stored in variables during the conversation.
239
+
**Resolution:** The conversation has accumulated too much data in its state, exceeding the allowed size limits. To resolve:
297
240
298
-
1.**Clear unused variables:** Set variables to blank when they're no longer needed.
241
+
1. Reduce variable data by reviewing your topics and reducing the amount of data stored in variables during the conversation.
242
+
1. Clear unused variables by setting them to blank when they're no longer needed.
243
+
1. Simplify conversation flows by breaking complex conversations into smaller, more focused interactions.
244
+
1. Avoid storing large JSON objects, arrays, or text blocks in conversation variables.
299
245
300
-
1.**Simplify conversation flows:** Break complex conversations into smaller, more focused interactions.
301
-
302
-
1.**Avoid storing large objects:** Don't store large JSON objects, arrays, or text blocks in conversation variables.
303
-
304
-
**Prevention tips:**
246
+
To prevent this error:
305
247
306
248
- Use variables only for data that needs to persist across topics.
307
-
308
249
- Consider using Power Automate flows to store and retrieve large data from external sources instead of keeping it in conversation state.
309
250
310
251
For more information, see [Copilot Studio quotas and limits](/microsoft-copilot-studio/requirements-quotas).
0 commit comments