Open MS Teams Settings, Privacy section, disable the "Optional connected experiences option"