question

SLDing-6603 avatar image
0 Votes"
SLDing-6603 asked ZhengqiLou-MSFT commented

Set-CsTeamsMeetingPolicy error

I would like to Turn on meeting registration. After researching in the technical forum on how to get this functionality. I have run the following powershell command

Install-Module -Name PowerShellGet -Force -AllowClobber

Install-Module -Name MicrosoftTeams -Force -AllowClobber

Connect-MicrosoftTeams

Set-CsTeamsMeetingPolicy -AllowMeetingRegistration $True

Then I got the error below. I just can't figure what to do next as I can't find any information on error.

Any advice is appreciated.

121221-screenshot-2021-08-06-172900.png


office-teams-windows-itprowindows-server-powershell
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @SLDing-6603 ,

Could you run some Teams cmdlets like Get-Team?

Agree with michev, you could retry connecting to the Teams Powershell. And if that doesn’t work, please also try re-installing the Teams PowerShell and reconnect.

Best regards,
Lou


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 Votes 0 ·

Hi @SLDing-6603 ,

Do the suggestions above help? If the issue has been resolved, please click “Accept as answer” to mark the helpful reply as an answer, this will make answer searching in the forum easier and be beneficial to other community members as well.

If you are still stuck in this issue, please feel free to post your questions.

Regards,
Lou


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 Votes 0 ·

1 Answer

michev avatar image
0 Votes"
michev answered

The latest versions of the Teams module include also the SfB cmdlets, part of which is Set-CsTeamsMeetingPolicy. The connection to SfB remote PowerShell should happen the first time you use a cmdlet, however it is known to fail. Try to open a new PowerShell window and connect again.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.