How to provide preference (pre-configuration) setting with new MSTeams.MSIX deployment.

Iron Contributor

When the new MSTeams.msix is depolyed as providioned AppX package, the settings provided are default, like auto_start, keep_app_running_on_close and open_app_in_background.

Is it possible to provide a config with the MSTeams.msix installation so that e.g. auto_start=false, keep_app_running_on_close=false?

Anyone has experience with it and knows how to deploy those settings configured for the user after startup in:

"$ENV:LOCALAPPDATA\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams\app_settings.json"

and

HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppModel\SystemAppData\MSTeams_8wekyb3d8bbwe\TeamsTfwStartupTask\State=0 disabled, 1 disabled or 2 enabled.

 

 

1 Reply
Were you able to figured this out? I have had only a little success with editing app_settings.json and adding a second language. I also want the dark theme to be default which is 1 however the default of 3 always overrides the settings. language setting does not get overridden because its blank by default.