Additional features, settings, or issues not covered by specific Microsoft Teams categories
Go to MS Teams switch it to full screen mode, you will be prompted to go to settings, just the info will be thru "pop up" message and you should see the option in settings again...
I have the same issue and the screen sharing works just in the full screen mode...
Or see my more detailed info on page 9 bottom in this channel.