If you’re using Teams on the web, you’ll be able to share your screen only if you’re using Google Chrome or the latest version of Microsoft Edge browser. Microsoft has now confirmed that Firefox browser will soon be supported for screensharing in Teams.
Full audio and screensharing support for meetings in Firefox browser
This improved Microsoft Teams meetings experience is coming to Firefox browser this month (April, 2022).