As you know working with PowerShell modules for cloud services can be challenging as you need to keep up with the version.
Well, now it is a good time to ensure you are working with the latest version of Teams PowerShell module as any version older than 4.x will be retired by June 15 2022.
The current version of the Teams PowerShell module is 4.1.0 (and to be honest I was myself behind it).
To update your Teams PowerShell module to the latest version use the below command to install the latest available version
Update-Module -Name MicrosoftTeams
Or to install it the below command
Update-Module -Name MicrosoftTeams
Enjoy