Using Microsoft Teams on macOS, including installation, features, and compatibility
The interesting part is, this must be an API offered by Apple, otherwise they would not have allowed to ru the app at all.
Or did they use private APIs to achieve this but Apple did not notice, because they did not try out screensharing?
Wouldn't be the first time, someone slips through such a functionality.