If using Microsoft Remote Desktop, make sure it's up to date.
End the session, make the display changes on your Mac, and then restart the session.
Go to Teams settings, navigate to Devices, and ensure that the correct audio device is selected. Also, check the balance settings in the Mac sound preferences.
Sign out of Teams, quit the app, and restart it. Sometimes a simple reset can fix audio issues.
Update both MacOS and the remote desktop application. Ensure that you have the latest versions of all software.