This KB covers how to initially set up Microsoft Teams.
Follow the steps below to set Microsoft Teams to automatically keep running when closed:
Follow either method below so the Microsoft Teams icon is always visible on your taskbar: