NOTE: This feature is only available for version M365 of the Office Suite, it is not compatible with 2019 or prior. To change the default setting for opening files in Microsoft Teams:
- In Teams, go to your profile picture/icon
- Click Settings
- Select General on the left
- Scroll to the bottom of the general section to Files
- There is a dropdown menu that allows you to choose among Teams, Browser, and Desktop app.
Your files will now automatically open in the location you set.