Additional features, settings, or issues not covered by specific Microsoft Teams categories
To me it says that "Screensharing is controlled by Remote management" (sorry for the translation, i have the Mac in Czech).
On My mac is not set any "remote control" :-O
But as written before, I have solved the problem by reinstall of Teams.