web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Reset conversation in ...
Copilot Studio
Suggested Answer

Reset conversation in MS Teams to get a new conversation id

(1) ShareShare
ReportReport
Posted on by 85
How can I really reset the chat with an agent in MS Teams that I built in Copilot Studio to a new conversation?
Even a “reset” or deletion of the entire chat history still retains the same conversation ID... I can see this because this ID is still used in the logs in Application Insights.
Is there a topic or something else that can force a new conversation to be created—if necessary, in response to a specific command from the user?
I have the same question (0)
  • Suggested answer
    Valantis Profile Picture
    6,482 on at
    Hi @Konrad,
     

    Teams chat, there’s only one persistent conversation thread between a user and a bot/agent. Deleting chat history or “resetting” does not create a new conversationId.Teams is designed to reuse the same conversationId for that bot–user pair, and even reinstalling the app won’t fire a new ConversationStart or create a new 1:1 thread.

     

    This is by design for Teams’ persistent conversations (see Teams deployment guidance for Copilot Studio agents) and Bot Framework guidance to create the conversation only once and then store/reuse the conversationId:

     

     
     
  • Konrad Profile Picture
    85 on at
    But even if the conversation-id stays the same: Is there a way to act for the agent like it is a new startet conversation? I want it to give the same answer, to trigger the same topics as in new started chat in the test within Copilot Studio or the M365 Copilot Website.
  • Suggested answer
    Valantis Profile Picture
    6,482 on at
    Hi @Konrad,
     
    if you type inside the chat "Start Over" its suppose to run the out of the box topic "Start over" this ends all conversations.
     
     

     

    Best regards,

    Valantis

     

    ✅ If this helped solve your issue, please Accept as Solution so others can find it quickly.

    ❤️ If it didn’t fully solve it but was still useful, please click “Yes” on “Was this reply helpful?” or leave a Like :).

    🏷️ For follow-ups  @Valantis.

    📝 https://valantisond365.com/

     

  • Suggested answer
    deepakmehta13a Profile Picture
    369 on at

    Hi,

    In Microsoft Teams, a 1:1 chat between a user and a bot/agent is maintained as a single persistent conversation thread. Because of this design, actions like deleting the chat history or resetting the conversation do not generate a new conversationId. Teams continues to reuse the same conversationId for that user- bot pair and even reinstalling the app does not create a new thread or trigger a new ConversationStart event.

    However, if your goal is to make the agent behave like a newly started conversation, you can achieve this from the Copilot Studio side by clearing the conversation context.

    In our implementation, we handled this by Reset Conversation topic generally called by Start Over Topic. This redirects the flow to a dedicated topic responsible for resetting the session state.

    Inside the Reset Conversation topic, we change the Clear variable values action which is default set to "Global variables for the current session" and select “Conversation history for the current session”. This removes the conversation context that the LLM uses to maintain continuity in the dialogue.

    Once the conversation history is cleared, the agent no longer has access to the previous context, so the next user message is processed as if it were the first message in a new chat. As a result:

    • The same topics can trigger again just like they do in a fresh conversation

    • The agent provides the same responses as it would in a newly started chat in Copilot Studio test or the M365 Copilot interface

    • Previous conversation context no longer influences the response

    So, while the Teams conversationId itself cannot be changed, clearing the conversation history for the current session effectively makes the agent behave like a brand-new conversation from the bot’s perspective.

    Additionally, if your agent uses variables that persist across the session, you can also clear Global variables for the current session in the same action. This ensures that any stored state or values do not carry over into the next interaction. Clearing both the conversation history and session/global variables can help guarantee a completely clean restart of the agent’s logic and behavior.

  • Valantis Profile Picture
    6,482 on at
    Hi @Konrad,
     

    Just wanted to check in and see if everything is working now. If you still need any help, feel free to let me know.

    Also, if the issue is resolved, it would be great if you could mark the answer as solved so others with the same question can find it easily.

     

    Thanks and have a great day!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 291

#2
Vish WR Profile Picture

Vish WR 175

#3
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 146 Super User 2026 Season 1

Last 30 days Overall leaderboard