microsoft teams – PowerShell ‘Get-TeamChannelUser’ is not recognized as the name of a cmdlet


I am trying Get the Channels users, using the following PowerShell Comments

$ChannelUser=Get-TeamChannelUser -GroupId $GroupId -DisplayName $ChannelName

It throws an error: The term ‘Get-TeamChannelUser’ is not recognized as the name of a cmdlet, function, script file, or operable program.

I have installed the following teams package

Install-Module MicrosoftTeams