Office-docs-powershell: Add-TeamChannelUser not recongnised

Created on 19 Sep 2020  Â·  11Comments  Â·  Source: MicrosoftDocs/office-docs-powershell

[Enter feedback here]
This function is not recognised and is not displayed when one does "get-command -Module microsoftteams". I have version 1.1.6 installed and I uninstalled and reinstalled.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

teams

Most helpful comment

Hello @DerekSomerville how are you?

You can find more information on the difference between Public Preview and GA here. Specifically, the cmdlet you are trying to use is still part of the Public Preview version.
Also here is the instructions to install a specific version.
Hope this information helps you,

All 11 comments

Dear yogkumgit,
I have exactly the same issue, been struggling with it all weekend, many reboots and attempt to fix it.
Here's a screenshot of my get-command -Module microsoftteams
I don't think Add-TeamChannelUser is the only cmdlet missing either
missing cmdlets

Please, how do I get a version, beta or otherwise of the cmdlet Add-teamChannelUser. Ppl seem to have access to it from other fora. I have to add 240 ppl to 40 channels. Manually doing it makes MSTeams not fit for purpose.

I fixed it. I uninstalled the current MSTeams module and ran this "Install-Module -Name MicrosoftTeams -RequiredVersion 1.1.3-preview -AllowPrerelease". Closed Powershell and reopened , it worked.

Hi cardenp, I tried this but it does not appear to work for me. I tried the below to uninstall, but I am not sure it worked.
Uninstall-Module MicrosoftTeams

Hi cardenp, I tried this but it does not appear to work for me. I tried the below to uninstall, but I am not sure it worked.
Uninstall-Module MicrosoftTeams

This is the command I used, Derek "Uninstall-Module -Name MicrosoftTeams"

Hi Cardenp
uninstall went ok (try it as Administrator immediately after restarting the shell)
install worked, I had to add -allowClobber for it to work
Restart shell (as admin)
and OMG it worked. I'd tried this with version 1.1.4 before and that didn't work so I did not do this with much hope.
Updating the microsoftTeams module made it disappear again
and now I can't get it back even if I repeat the steps NOOOOOOOO

Ok got it back
the secret it to uninstall (in admin) close powershell immediately - this was the secret as otherwise the uninstall didn't complete
Install v1.1.3 (as admin)
Close powershell again
reopen powershell (as admin) and there the command was, along with several other previously missing commands

Hello @DerekSomerville how are you?

You can find more information on the difference between Public Preview and GA here. Specifically, the cmdlet you are trying to use is still part of the Public Preview version.
Also here is the instructions to install a specific version.
Hope this information helps you,

so what you're saying is that it's in 1.1.3-preview and 1.1.5-preview, but not the normal download.
I have to say Microsoft are doing an appalling job at making things clear. I have wasted literally days on this.
Anyway - thank you for pointing this out :-) that's helped a lot
David

Great thanks all. I got the uninstall to work for me with -Force. I now have it working. Thanks for everyone's help.

@get-itips Thank you very much for the contribution and sharing this explanation. @DerekSomerville Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.

Was this page helpful?
0 / 5 - 0 ratings