You may have set Firefox or Google Chrome as your default browser. However, when you open a link within the Microsoft Teams app, it is launched in a new window using Microsoft Edge. Microsoft Teams overrides your Windows browser preference, deciding that Edge is the best option. Fortunately, if you wish to prevent this, a simple solution exists.

This preference is then also applied in all Microsoft 365 apps, see image: