Not able to share screen in MS Teams (v 1.4.00.7556) on Ubuntu 21.04 Hirsute Hippo

Have you tried to use xorg instead of Wayland? If not: logout, switch to xorg (click the symbol in the lower right corner of your logon screen) and try again.