Additional features, settings, or issues not covered by specific Microsoft Teams categories
go the application, then look for Terminal/ or your can type Term in the search bar
then copy the code: tccutil reset ScreenCapture com.microsoft.teams
press Return => then follow the instruction above. It really work