Andrew Gresbach
09/24/2024, 1:10 PMDennis
09/24/2024, 1:13 PM# Register MS Teams AppX Package for user
Add-AppPackage -Register -DisableDevelopmentMode "$ENV:TeamsVersionPath\AppXManifest.xml" -EA SilentlyContinue
# Define the json file location
$TeamsConfig = "$ENV:LocalAPPDATA\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams\app_settings.json"
# Make a backup of the json file
Copy-Item -Path $TeamsConfig -Destination "$TeamsConfig.bak" -Force
# Read the content
$jsonContent = Get-Content -Path $TeamsConfig -Raw
# Replace the values
$jsonContent = $jsonContent -replace '"open_app_in_background":true', '"open_app_in_background":false'
$jsonContent = $jsonContent -replace '"keep_app_running_on_close":true', '"keep_app_running_on_close":false'
# Save the modified json file
Set-Content -Path $TeamsConfig -Value $jsonContent -ForceDennis
09/24/2024, 1:20 PMAndrew Gresbach
09/24/2024, 1:21 PMDennis
09/24/2024, 1:25 PMAndrew Gresbach
09/24/2024, 1:25 PMAndrew Gresbach
09/24/2024, 1:25 PMAndrew Gresbach
09/24/2024, 1:26 PMRay Davis
09/24/2024, 1:45 PMc4rm0
09/24/2024, 1:47 PMRay Davis
09/24/2024, 1:52 PMc4rm0
09/24/2024, 2:36 PMDennis
09/24/2024, 2:45 PMAndrew Gresbach
09/24/2024, 2:46 PMc4rm0
09/24/2024, 2:53 PMRay Davis
09/25/2024, 5:39 PMc4rm0
10/02/2024, 10:57 AMc4rm0
10/02/2024, 11:29 AMRay Davis
10/02/2024, 11:54 AMDennis
10/02/2024, 1:15 PMAndrew Gresbach
10/02/2024, 1:16 PM