Allow guest users to participate in your team meetings and access team channels.
Login to Team Admin Center (admin.teams.microsoft.com) > Users > Guest access > set ‘Allow guest access in Teams’ to ‘On‘.
Meetings > Meeting policies > Manage policies > Global (Org-wide default) > Participants & guests > enable ‘Let anonymous people join a meeting‘ to ‘On‘.
Meeting > Meeting settings > Participants > enable ‘Antonymous users can join a meeting’ to ‘On‘ > Save.