A colleague of mine has found out that the last line in /usr/bin/teams
is messed up. It needs to read:
nohup "$TEAMS_PATH" "$@" --disable-namespace-sandbox --disable-setuid-sandbox > "$TEAMS_LOGS/teams-startup.log" 2>&1 &
That is, the "$@" basically just needs to move further to the left.