Share via

Teams copilot studio

Ansari, Danish (MMA) 0 Reputation points
2026-03-12T15:41:18.28+00:00

While i am trying to create a AI agent chat bot for a particular process, it asking me to sleect a group in teams. And i selected the particular team it is showing a failed request with a sttaus code 400

Microsoft Copilot | Microsoft 365 Copilot | Development
0 comments No comments

1 answer

Sort by: Most helpful
  1. Q&A Assist
    2026-03-12T15:41:32.81+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    Status code 400 indicates a bad request. In Copilot Studio scenarios, there are two common 400-related causes relevant to creating or configuring agents:

    1. Team selection and agent creation in Teams
    • Agents in the Copilot Studio app for Teams must belong to a team, and the first agent in a team can take several minutes to provision backend systems.
    • Agents cannot be created in hidden-membership teams. If the selected team has hidden membership, creation fails. In that case, use a different (non-hidden) team or create a new team and then create the agent there.
    • If recently added to the team, Teams can take up to ~15 minutes to fully recognize membership. Waiting and retrying after that delay can resolve transient failures when selecting the team.
    1. 400 errors from actions or connectors during agent configuration
    • If the 400 appears when configuring or testing actions (connectors/flows) rather than at the initial team selection screen, it can be due to connector or flow payload issues:
      • Connector actions fail with HTTP 400 when the connector response exceeds the 500 KB limit. In that case, adjust the connector inputs to filter data so only the necessary fields are returned.
      • Flow-based actions can also surface bad request errors if the schema is out of sync or inputs are invalid. Refresh the flow in Copilot Studio (Action node → … → Refresh), verify input/output parameters match the Power Automate flow, then save and republish.

    If the 400 occurs exactly when selecting the team and no hidden-membership or membership-delay issues apply, treat it as a platform error and retry after some time. If it persists, contact customer support with the exact error details.


    References:

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.