PS cmdlet Connect MicrosoftTeams error message

Anonymous
2020-05-22T18:18:11+00:00

I would like to enable the 'download a participant list' feature in Teams using the cmdlet

Set-CSTeamsMeetingPolicy - Identity Global - AllowEngagementReport "Enabled"

I installed the MicrosoftTeams module in PowerShell as instructed and confirmed the install. However, when trying to connect to MicrosoftTeams so I can do the above I get an error message.

This error message is after uninstalling and then reinstalling. How can I proceed?

Thanks,

Sashaa

Microsoft Teams | Microsoft Teams for business | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes
Answer accepted by question author
  1. Anonymous
    2020-05-27T14:38:45+00:00

    Thank you for clarifying Rudy. To be able to enable the Engagement Report my final workflow was the following:

    Import-Module MicrosoftTeams

    Import-Module SkypeOnlineConnector

    $sfbSession = New-CsOnlineSession

    Import-PSSession $sfbSession

    I was then required to enter my username and authenticate with MFA

    Once connected I did the following:

    Set-CsTeamsMeetingPolicy -AllowEngagementReport "Enabled"

    All code was then successfully accepted. I will test the functionality during my next meeting.

    0 comments No comments
Answer accepted by question author
  1. Anonymous
    2020-05-27T14:21:02+00:00

    Using the following code allowed me to properly connect to MicrsoftTeams.

    Set-ExecutionPolicy RemoteSigned, then type A to finish it. And then try again.

    0 comments No comments

6 additional answers

Sort by: Most helpful
  1. Anonymous
    2020-05-23T01:59:12+00:00

    Hello Sashaa,

    How are you?

    For this case, please restart the PowerShell app and runs in admin mode, then reinsert the command Connect-MicrosoftTeams. In this time, you may can run it successfully since via this way which works on my side.

    Hope it helps.

    Please do take care.

    Regards,

    Rudy

    2 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2020-05-23T02:07:40+00:00

    Thanks for the suggestion Rudy. I was using it as an Administrator, but just tried again with no luck. I got the same error code.

    Sashaa

    0 comments No comments
  3. Anonymous
    2020-05-23T02:36:28+00:00

    Dear Sashaa,

    Thanks for your quick response.

    Try to run this command firstly: Set-ExecutionPolicy RemoteSigned, then type A to finish it. And then try again.

    Feel free to let us know how it goes.

    Meanwhile, if issue persists, reboot your PC to check it.

    Also let us know the details of your windows version: *Get-computerInfo | FL Windows*.*Mine is Windows 10 Enterprise 1909 (version 6.3). 

    Regards,

    Rudy

    0 comments No comments