How to sign out of Microsoft Teams


I am a computer science teacher and I have noticed that students forget to log out of the MS Teams application as many times as I warned her. So I thought of making an app that would start when Windows 10 starts and automatically log off the previous student from MS Teams.

The question is how do I technically implement it? Namely, I was thinking of writing an application in the Go in which I would then delete the necessary cookies. Do you have any suggestions or suggestions for approaching this problem?
Is there a way to do it by using Microsoft Team API?

Microsoft Graph Teamwork API
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
1,894 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sridevi-MSFT 261 Reputation points

    Currently we don't have any Graph API to sign out of Microsoft Teams. You can raise an UserVoice for this if this needs to be considered as a feature request.