I have the same issue with 3CX. As i understand right many applications using Device GUID to identify devices. Citrix is generating new device GUIDs with every new connection(this is the reason why all the application loosing Device Assignment and reset to default) . For 3CX i found a workaround with Powershell script. But I don‘t know if it possible to do the same with teams.