Additional features, settings, or issues not covered by specific Microsoft Teams categories
I am getting same error in ISE also.
there is no difference between powershell and powershell ISE regarding to the teams module,
so the solution is the same, unistall the current version and install an older version by running :
Uninstall-Module MicrosoftTeams
and then you install the version you want / need :
Install-Module -Name MicrosoftTeams -RequiredVersion 1.0.0 or
Install-Module -Name MicrosoftTeams -RequiredVersion 0.9.5 (we seem to have other problems with 1.0.0)