Share via

While deploying through Copilot Studio, the cache is still being stored in Teams, which is unexpected.

Deepak Kumar Rath 0 Reputation points
2026-03-25T04:29:27.4233333+00:00

I am building a bot from Copilot Studio and i have deployed in Teams channel .. Everytime when i ask a question its not taking the results from Power Automate it takes from the Cache memory of teams and gives me the response. I tried many ways to remove the cache but still its not going
Steps i tried are:

1 Uninstall and reinstall the app in my teams channel

2 I have used Clear variables and there i have used Conversation history for the current session
3 I have also used /debug clearstate

Nothing is working.. Am i missing anything can you suggest me alternate ways to remove cache from Teams

Microsoft Teams | Development
Microsoft Teams | Development

Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs


1 answer

Sort by: Most helpful
  1. Teddie-D 16,130 Reputation points Microsoft External Staff Moderator
    2026-03-25T05:08:26.2733333+00:00

    Hi @Deepak Kumar Rath 

    Thank you for posting your question in the Microsoft Q&A forum. 

    This behavior is expected when a Copilot Studio agent runs in Microsoft Teams. The confusion usually comes from calling it Teams cache, when in reality it’s persistent conversation state and version caching. 

    Could you please confirm whether you’ve followed the steps outlined in Best Practices for Deploying Copilot Studio Agents in Microsoft Teams | The Custom Engine?

    The /debug clearstate command resets only the runtime state and is mainly intended for test chat scenarios. In Microsoft Teams, conversations remain persistent. Reinstalling the app or using debug commands does not reset the conversation or trigger ConversationStart. The article explains this behavior and recommends implementing explicit session lifecycle management. 

    I also found a similar discussion where users confirmed that following these steps worked for their scenario, please refer to Solved: Agent Not Reflecting Updates In MS Teams

    I hope this helps. 


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".    

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread. 

    Was this answer helpful?


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.