Announcements
I need to end the chat session and start new chat session with the new directline token I receive in iframe embed code of chatbot integrated with custom web application
<iframe
height="100%"
title="Quick Menu"
src={'https://web.powerva.microsoft.com/.../webchat?__version__=2&user=${user}&token=${directLineToken}'}
></iframe>
Hi @Karishma2805998
To conclude the chat session using the direct line approach, you can develop a custom solution as outlined below:
If my response has addressed your query, kindly mark your post as Solved.
If you found my response helpful or it provided you with a direction to proceed, please give it a Thumbs Up. Your Kudos are appreciated. You can accept multiple posts as solutions.
If you're still encountering any issues or challenges, please don't hesitate to inform me so I can assist you further. I'm here to help.
Cheers ,
Umesh Khandelwal
But End conversation was not ending the chat session normally. On the same browser tab when I logout my custom web site and login again with different user, the chatbot holds the previous user's chat messages and session.
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 279
Romain The Low-Code... 222 Super User 2026 Season 1
Arild Aarnes 64 Super User 2026 Season 1