MicrosoftTeams Powershell and Skype for Bussiness Online connection

Eric Chen 96 Reputation points
2020-12-15T11:49:59.417+00:00

Hi everyone,

Need to manage Teams Meeting policy via powershell, so installed Microsoft Teams module, as below Doc,

https://learn.microsoft.com/en-us/microsoftteams/teams-powershell-install

Installed version is 1.1.6
48373-image.png

As instruction, need below cmds to manage TeamsMeetingPolicy,
Get-CsTeamsMeetingPolicy
Grant-CsTeamsMeetingPolicy

but they don't included in above module,

is that because still need to skype for business online connecter? ver 1.1.6 is not enough?

48366-image.png

tried New-CsOnlineSession for connect to skype for business online, but got below error,
Not sure what does that mean.
48314-image.png

Microsoft Teams Microsoft Teams for business Other
0 comments No comments
{count} votes

Accepted answer
  1. Sharon Zhao-MSFT 25,756 Reputation points Microsoft External Staff
    2020-12-16T03:16:34.92+00:00

    @Anonymous ,

    Could you connect Skype for Business Online Connector before?

    Do you try in other machines? And what is the result?

    The latest version is 1.1.10 now. It recommends you install the latest version and try again.

    Moreover, I tested in my environment. It has no problem.
    48545-image.png

    It recommends you refer to this link to reinstall the Skype for Business Online Module again.

    Besides, check the network status in you machine.


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Eric Chen 96 Reputation points
    2020-12-16T08:02:22.053+00:00

    Hi SharonZhao,

    Thank you for your quick response and test confirmation,
    Yes, I finally understood the relationship between the MicrosoftTeams and SfBO module, after I tested on our envrionment,
    I can connect to SfBO as your showed above, seems I was using the old version Teams module, so I have to import SfBO connector.
    Thanks.

    However, that was exactly my question I met, I tried following below instruction DOC, but part of it seems to be hard to understand,
    especially below part about the "If you're using the latest Teams PowerShell public release, you don't need to install the Skype for Business Online Connector."

    Which version does the latest version mean?
    What is the relationship between the Teams module and SfBO connector?
    It just confused me, then I had to try by myself rather than make everything clear by reading the guide DOC, because I only had 1.1.6 since it is pubic release version, and prepare a test is not always easy and quick, when you work for a big organization.

    https://learn.microsoft.com/en-us/microsoftteams/teams-powershell-install

    48664-image.png


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.