Additional features, settings, or issues not covered by specific Microsoft Teams categories
I had the same problem as you all, but I managed to solve it in a rather simply way.
If I go to System Preferences and keep it open, I can share my screen. Once I close it, the screen sharing stops working :S
Weird, but I hope it helps anyone.
Thank you
in this way you can share also an application window (e.g. excel file or word file)?