Trying to get UEM to catch/save the Teams credentials. When Teams launches it asks for the users email address every time, it is already filled in; they just have to click next. Does anyone know what file/folder/registry I need to include so Teams will auto login? I have imported the latest Teams DirectFlex config that has numerous folders locations already. Thanks
-Craig
Did you happen to figure this out? I am running into the same thing.
Well I seem to have figured it out. There is a file within C:\users\*user*\appdata\roaming\Microsoft\Teams\ called called desktop-config.json. If you copy this file out and place it into UEM as a file to be placed after archive. Teams will fully login upon launch. Hope this helps.
Hi
Is this still working for you?
We have been exporting/importing this JSON file for a while now and it has suddenly stopped auto logging in for all users now.
I was having the same problem and someone on here suggested I add the following registry keys to my master image.
After I added them, it resolved the issue for me. Unfortunately, I can't find the original author since the site change to give kudos.
Also, there was a newly released version of Teams released. You might want to check into that too.
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WorkplaceJoin\autoWorkplaceJoin=dword:00000000
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WorkplaceJoin\BlockAADWorkplaceJoin=dword:00000001
Some explanations of the registry keys can be found here...
Hi,
I have tried those registry keys and this has removed the question about allowing your organisation to trust the device which is a good start 🙂
Unfortunately it hasn't resolved the fact it still asks the users to log into teams each time (sometimes it doesn't even remember the email address and they have to type that in).
Hi @cdickerson75 ,
Can you post the content of your Teams config file?
Hi @michaellynchBSD ,
Can you post the content of your Teams config file?
Have you tried using the VMWARE Application Profiler for this?
We are using Teams as part of our O365 Tenancy, which I assume you are as well based on your reply.
We had to make several registry entries on our default image in the default user profile. Entries included Tenancy and Identity information. You may want to reach out to your O365 Team and see if they have any specific requirements for your install.
Also, you want to make sure that you have installed Teams in "Per Machine" mode if you are using Instant Clones. More information on installing Teams in a VDI environment can be found here: https://docs.microsoft.com/en-us/microsoftteams/teams-for-vdi
Hi
This is what we have in our config file:
[IncludeFolderTrees]
<LocalAppData>\Microsoft\Credentials
<LocalAppData>\Microsoft\Teams
<LocalAppData>\Microsoft\TeamsMeetingAddin
<LocalAppData>\Microsoft\TeamsPresenceAddin
<LocalAppData>\SquirrelTemp
<AppData>\Microsoft\Teams
<AppData>\Microsoft Teams
<AppData>\Teams
<LocalAppData>\Microsoft\IdentityCache
<LocalAppData>\Packages\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy
[IncludeRegistryTrees]
HKCU\Software\Microsoft\Office\Teams
[ExcludeFolderTrees]
<AppData>\Microsoft Teams\logs
<AppData>\Microsoft\Teams\Application Cache
<AppData>\Microsoft\Teams\Cache
<AppData>\Microsoft\Teams\tmp
<AppData>\Microsoft\Teams\GPUCache
<AppData>\Microsoft\Teams\dictionaries
<AppData>\Microsoft\Teams\meeting-addin\Cache
<AppData>\Microsoft\Teams\Service Worker\CacheStorage
<AppData>\Microsoft\Teams\blob_storage
<AppData>\Microsoft\Teams\skylib
<AppData>\Microsoft\Teams\IndexedDB\https_teams.microsoft.com_0.indexeddb.leveldb
<LocalAppData>\Packages\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy\TempState
<LocalAppData>\Packages\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy\AC\Temp
[ExcludeFiles]
<AppData>\Microsoft\Teams\lockfile
<AppData>\Microsoft\Teams\storage.json
*.exe
*.nupkg
*.log
*.txt
*.old
*.bak
<AppData>\Microsoft\Teams\IndexedDB\https_teams.microsoft.com_0.indexeddb.leveldb\LOG
<AppData>\Microsoft\Teams\Local Storage\leveldb\LOG
Looks like what I have used before.
Maybe it's good to start fresh and create a first baseline and work from there. For instance, start with...
[IncludeFolderTrees]
<LocalAppData>\Microsoft\Credentials
<LocalAppData>\Microsoft\Teams
<LocalAppData>\Microsoft\TeamsMeetingAddin
<LocalAppData>\Microsoft\TeamsPresenceAddin
<LocalAppData>\SquirrelTemp
<AppData>\Microsoft\Teams
<AppData>\Microsoft Teams
<AppData>\Teams
<LocalAppData>\Microsoft\IdentityCache
<LocalAppData>\Packages\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy
[IncludeRegistryTrees]
HKCU\Software\Microsoft\Office\Teams
And add exclusions one by one after that. You must be able to somehow rule out certain file/folder/registry entries.