Typically this is accomplished via your MDM/MAM solution, but it seems even MEM/Intune can’t do this yet for the Teams app. There are also no other policies that I’m aware of that can be configured for this. I’ve seen people mention using MCAS for this, but MCAS controls either browser sessions or native apps where there’s not a lot of fine grained control over these activities.