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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / When will the session ...
Copilot Studio
Suggested Answer

When will the session end in a copilot studio? It is not ending after end of the conversation topic

(1) ShareShare
ReportReport
Posted on by 71

When will the session end in a copilot studio? It is not ending after end of the conversation topic

I have the same question (0)
  • remidyon Profile Picture
    on at

    Hi @Karishma2805998 

    Session ends after 1h or 100 turns of conversation, whatever comes first.

     

  • CU14101024-0 Profile Picture
    2 on at

    @remidyon Is there a way to customize the timing for session refresh in this scenario?

  • remidyon Profile Picture
    on at

    Hi @umamaheswari1 

    You cannot change the session parameters - that would not be very interesting for you: your users would consume more sessions.

    What are you trying to accomplish? Why do you need to end the session?

  • Karishma2805998 Profile Picture
    71 on at

    @remidyon 

     

    The Copilot we have developed is embedded to a custom website where one website user session is logged out and on the same tab when we login with another website user I am getting the old user chatbot messages which is wrong. Please help on providing solution to end the chatbot session manually with default canvas.

  • remidyon Profile Picture
    on at

    Hi @Karishma2805998 

    You must have missed a step in the custom implementation of your copilot. You need to request a new conversation token when you login with a user. Please take a look at this documentation: Add a copilot to mobile and web apps - Microsoft Copilot Studio | Microsoft Learn

  • Karishma2805998 Profile Picture
    71 on at

    @remidyon We have not yet used custom implementation for integration with website. We have used iframe embedded code provided from copilot studio, in that case no way to control session?

  • remidyon Profile Picture
    on at

    Hi @Karishma2805998 

     

    I think you are mixing different concepts. The default behavior of copilot studio chat control is to keep the user session alive unless the user close / opens a new tab / browser window. It has no control / idea of the custom authentication mechanism of the website it is deployed on. So, if you log out of the website but keep the tab open your copilot session is still active regarding your authentication status on your website.

     

    You described a scenario where users are on a single tab and login / logout of a website with the same computer - is this the real use case? Are multiple users going to be sharing the same computer without closing the browser? If so you would need to build a custom integration of Copilot that will request a new token when users are login/logout of your website.

     

    But usually in real life users will all be connecting to your copilot from different computers / browser / etc. And their sessions will not be shared. Try to open 2 tabs on your website and it will create 2 different copilot sessions that will not share history. 

  • CU19100102-0 Profile Picture
    5 on at
    Karishma, 
     
    I am having the same issues. 
    Did you find a resolution?
     
    --Mumuksh Singh
  • Suggested answer
    Vinoth Selvam Profile Picture
    1,590 Super User 2025 Season 2 on at
    I think as mentioned in the below post - The default behavior of copilot studio chat control is to keep the user session alive unless the user close / opens a new tab / browser window. 
  • SD-08102129-0 Profile Picture
    2 on at
    @Vinoth

    There is no way we can end the conversation before 1 hour or more than 100 interactions through Mobile App channel?

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 261 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 198 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 93 Moderator

Last 30 days Overall leaderboard