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

Boopathi Subramaniam 3,196 Reputation points
2020-08-21T17:04:22.353+00:00

Hi,

I need to get the Teams Meeting participant list. I posted in the below forum
https://social.technet.microsoft.com/Forums/en-US/1596142b-afba-431d-abdb-a8b6a1542b9f/how-to-capture-participant-list-in-a-meeting?forum=msteams

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

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.
5,388 questions
0 comments No comments
{count} votes

Accepted answer
  1. Pete 91 Reputation points
    2021-02-04T12:00:10.333+00:00

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

    ModuleType Version Name ExportedCommands


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

    #Check local script policy

    PS C:\Users\administrator> Get-ExecutionPolicy
    Restricted

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

    PS C:\Users\administrator> Get-ExecutionPolicy
    Unrestricted

    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

    3 people found this answer helpful.

3 additional answers

Sort by: Most helpful
  1. Rich Matheisen 45,096 Reputation points
    2020-08-21T18:43:20.003+00:00

    Did you read the documentation for that module?

    The module you want is SkypeOnlineConnector.

    0 comments No comments

  2. Boopathi Subramaniam 3,196 Reputation points
    2020-08-24T18:26:17.037+00:00

    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.

    0 comments No comments

  3. Rich Matheisen 45,096 Reputation points
    2020-08-24T22:45:52.03+00:00

    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.
    get-teams-meeting-attendee-list

    33989875-view-or-export-a-list-of-users-who-attended-a-meet

    0 comments No comments