Views:

Applies to Product - Microsoft Copilot Studio


What’s happening?
Customers are experiencing an issue where users cannot be signed out when using the Inactivity trigger in Copilot Studio. Although the Sign out topic successfully resets user login variables when activated through a Phrases trigger, the user is automatically signed back in upon the next interaction after being signed out due to inactivity.
 

Reason:
The underlying cause of this is that the System.User variables are initially reset when the SignOutUser action is called, but they are restored on the next interaction with the chatbot. This behavior does not occur when the Sign Out topic is called directly instead of redirecting from the Inactivity trigger topic.
 

Resolution:

  • Ensure that the Sign out topic is correctly configured to reset user login variables.
  • Test the Sign out functionality by calling the Sign out topic directly rather than through the Inactivity trigger to verify if the issue persists.
  • If the issue continues, consider testing the functionality with an admin account to determine if there are differences in behavior.
  • It is not possible to edit the system variable as the system sets the value from the backend, and any changes will result in the browser and chatbot session resetting, causing the user to be signed back in.
For further assistance, refer to the documentation on Copilot actions and plugins.