TonCunha / multi-microsoft-teams

Launcher to manage profiles and open multiple instances of Microsoft Teams desktop version. It's compatible with many accounts and organizations (tenants).
GNU General Public License v3.0
200 stars 39 forks source link

Feature Request: Toggle Option #2

Closed FabianBeiner closed 3 years ago

FabianBeiner commented 3 years ago

Hi @TonCunha,

As you know: I love your tool! It really makes my daily work easier. Thank you very much! :)

Something I would love to see is the possibility to toggle between activated and deactivated profiles.

So, for example, I might want to open Team 1 + 2, but not 3 for now because 3 is a project on hold. I know I could delete it, but it is perfectly set up and so on.

Thanks for considering.

TonCunha commented 3 years ago

Hi @FabianBeiner Cool, I'll add this feature.

Thanks for feedback.

TonCunha commented 3 years ago

Hi @FabianBeiner Can you test this version with disable feature?

To disable a profile, double click on the name.

Thanks. Multi.MS.Teams.zip

FabianBeiner commented 3 years ago

Hey @TonCunha,

Thanks so much for doing this!

I gave it a try, but I get the following error message, even though there are no Teams instances running:

image

TonCunha commented 3 years ago

Hi @FabianBeiner, thanks for the feedback.

Let's try a few things. 1- As our program changes the name of the profile folder, try to run Multi MS Teams as administrator and disable a profile. 2- If the message persists, try to disable the profile manually and reload the Multi MS Teams. To disable, add "[Disabled]" at the beginning of the profile name. Example: "[Disabled] ProfileName". Profiles folder: C:\Users\YOURUSER\AppData\Local\Microsoft\Teams\CustomProfiles

FabianBeiner commented 3 years ago

Hey @TonCunha,

I now know why this didn't work in the first place: Outlook is locking that folder as well. So, you have to not only close Teams, but also Outlook. If this is done, it works like a charm.

Maybe there is a solution to disable the profile without renaming the Profile folder? Otherwise, maybe just change the error notification and you're good to go. 👍

FabianBeiner commented 3 years ago

Hey @TonCunha,

Sadly, one issue occurs: In my case, Outlook decided to use its Team Add In from the Teams instance that is now deactivated. That means, the possibility to create a Teams Meeting in Outlook doesn't work anymore, since it is looking for the .dll in the non-existing part anymore. :(

TonCunha commented 3 years ago

Hello @FabianBeiner Thanks for the feedback.

Activate the profile again and return to the latest version. I will find another way to disable profiles.

TonCunha commented 3 years ago

Hey @FabianBeiner, I've been very busy these days, but I've finished adjusting the feature.

Could you test again, please? Thanks. Multi.MS.Teams.zip

FabianBeiner commented 3 years ago

@TonCunha: I just gave it a try, and it looks like it's working as a charm. :) I randomly enabled and disabled profiles, restarted Outlook, Teams, etc. — and everything worked.

Thank you so much!