'Set-CsTeamsMeetingPolicy' is not recognized as the name of a cmdlet

Boopathi Subramaniam 2,581 Reputation points


I need to get the Teams Meeting participant list. I posted in the below forum

I am getting the 'Set-CsTeamsMeetingPolicy' is not recognized as the name of a cmdlet

I have installed Install-Module MicrosoftTeams module.
Please help on how to execute Set-CsTeamsMeetingPolicy -AllowEngagementReport enabled

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
4,763 questions
No comments
{count} votes

Accepted answer
  1. Pete 86 Reputation points

    Finally worked this out in Feb 2021 on a Win 10 PC
    PS C:\Users\administrator> Get-Module

    ModuleType Version Name ExportedCommands

    Script ISE {Get-IseSnippet, Import-IseSnippet, New-IseSnippet}
    Manifest Microsoft.PowerShell.Management {Add-Computer, Add-Content, Checkpoint-Computer, Clear-Content...}
    Manifest Microsoft.PowerShell.Utility {Add-Member, Add-Type, Clear-Variable, Compare-Object...}

    #Check local script policy

    PS C:\Users\administrator> Get-ExecutionPolicy

    PS C:\Users\administrator> Set-ExecutionPolicy "Unrestricted"

    PS C:\Users\administrator> Get-ExecutionPolicy

    PS C:\Users\administrator> import-module PowerShellGet

    PS C:\Users\administrator> Install-Module MicrosoftTeams -AllowPrerelease
    WARNING: Version '1.1.6' of module 'MicrosoftTeams' is already installed at 'C:\Program Files\WindowsPowerShell\Modules\MicrosoftTeams\1.1.6'. To install version '1.1.10-preview', run Install-Module and add the -Force parameter, this command will install version '1.1.10-preview' side-by-side with version '1.1.6'.

    PS C:\Users\administrator> Install-Module MicrosoftTeams -AllowPrerelease -Force

    PS C:\Users\administrator> Connect-MicrosoftTeams

    Account Environment Tenant TenantId

    email@xxxxxx AzureCloud

    PS C:\Users\administrator> $session = New-CsOnlineSession

    PS C:\Users\administrator> Import-PSSession $session

    ModuleType Version Name ExportedCommands

    Script 1.0 xxxxxxxxxxx xxxxxxxxxxxxxx

    PS C:\Users\administrator> Get-InstalledModule

    Version Name Repository Description

    1.1.10-preview MicrosoftTeams PSGallery Microsoft Teams cmdlets module for Windows ...
    1.4.7 PackageManagement PSGallery PackageManagement (a.k.a. OneGet) is a new ...
    2.2.5 PowerShellGet PSGallery PowerShell module with commands for discove...

    PS C:\Users\administrator> Set-CsTeamsMeetingPolicy -Identity Global -AllowEngagementReport "Enabled"

    PS C:\Users\administrator> Get-CsTeamsMeetingPolicy

    Identity : Global
    Description :
    AllowEngagementReport : Enabled

    Identity : Tag:Primary or Secondary Educators and Staff - Meeting
    Description : Recommended Meeting policies for Primary or Secondary faculty and staff
    AllowEngagementReport : Enabled

    2 people found this answer helpful.

3 additional answers

Sort by: Most helpful
  1. Rich Matheisen 36,331 Reputation points

    Did you read the documentation for that module?

    The module you want is SkypeOnlineConnector.

  2. Boopathi Subramaniam 2,581 Reputation points

    Hi Rich Matheisen,

    I need to send minutes of meeting with participants. There are 30 members join the meeting and I am unable to get all the attendees.
    Please let me know how to get the list of participant in a meeting in Teams.

  3. Rich Matheisen 36,331 Reputation points

    During the meeting you can save the attendance list. After the meeting? Nope. At least not yet, but that's a limitation of Microsoft Teams, not PowerShell. Also, I don't now of a way to get the list during the meeting with PowerShell, but, again, that's a limitation of Microsoft Teams.