Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.
This repository was archived by the owner on Jan 5, 2026. It is now read-only.

Bot Answers even after Logout #3289

@Ravi-Macha

Description

@Ravi-Macha

Github issues for C# /JS / Java/ Python should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.

Sample information

https://github.com/microsoft/BotBuilder-Samples/tree/main/experimental/teams-sso/csharp_dotnetcore

  1. Sample type: BotBuilder-Samples/experimental/teams-sso/csharp_dotnetcore/
  2. Sample language: dotnetcore
  3. Sample name: csharp_dotnetcore

Describe the bug

Give a clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior:

  1. Login
  2. It opens the It opens Oauth Permissions
  3. Enter/Provide the permission (Continue)
  4. Login successful
  5. Search for any text after overriding the OnMessageActivityAsync method
  6. Bot will answer
  7. Type logout
  8. Again search for anything Bot will answer first

Expected behavior

After logout Bot should not answer any questions

Screenshots

image

image

Additional context

I have opened the Microsoft ticket -2104200010010965 and I am available to connect during CST time.

Metadata

Metadata

Assignees

Labels

Bot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.bugIndicates an unexpected problem or an unintended behavior.customer-replied-toIndicates that the team has replied to the issue reported by the customer. Do not delete.customer-reportedIssue is created by anyone that is not a collaborator in the repository.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions