Assign the bot to a recording policy

To have the recording bot active in Teams, you need to add it to a recording policy and assign the policy to users.

Before you begin 

Install Microsoft Teams Module

Create Enterprise application

Procedure 

  1. Open PowerShell as an administrator that has the Teams Service Administrator role.

  2. If the Verint Recorder is on a different Azure tenant, to access that tenant:

    1. At the prompt, run:

      Connect-MicrosoftTeams.

    2. When prompted, log on to Teams using your admin-level credentials.

  3. To create a compliance recording policy, enter the command:

    New-CsTeamsComplianceRecordingPolicy' -Enabled $true -Description '<Policy Description>' -Identity '<PolicyName>'

    Example:

    New-CsTeamsComplianceRecordingPolicy'46d89311-9c51-463a-9e03-bd6054759374' -Enabled $true -Description 'IPRec1-Recording-Bot-Policy' -Identity 'Rec-Policy-IPRec1'

  4. To create and set the recording application for the policy, enter:

    Set-CsTeamsComplianceRecordingPolicy -Identity '<PolicyName>' -ComplianceRecordingApplications @(New-CsTeamsComplianceRecordingApplication' -Parent '<PolicyName>' -Id '<ObjectId>')

    Example:

    Set-CsTeamsComplianceRecordingPolicy '46d89311-9c51-463a-9e03-bd6054759374' -Identity 'Rec-Policy-IPRec1' -ComplianceRecordingApplications @(New-CsTeamsComplianceRecordingApplication '46d89311-9c51-463a-9e03-bd6054759374' -Parent 'Rec-Policy-IPRec1' -Id ‘20ce1f33-c359-4742-855b-8ef0e065e9c9')

  5. To grant the policy to a user, enter:

    Grant-CsTeamsComplianceRecordingPolicy -Identity '<User’s UPN>' -PolicyName '<PolicyName>'

    Example:

    Grant-CsTeamsComplianceRecordingPolicy -Identity 'jane.doe@verintenglab.com' -PolicyName 'Rec-Policy-IPRec1'

    It can take several minutes for the policy to be applied.

  6. To verify that the policy was granted, enter:

    Get-CsOnlineUser -Identity '<User’s UPN>' | Select-Object -ExpandProperty 'TeamsComplianceRecordingPolicy'

    Example:

    Get-CsOnlineUser -Identity 'jane.doe@verintenglab.com' | Select-Object -ExpandProperty 'TeamsComplianceRecordingPolicy'

What to do next 

Set up the Microsoft Teams integration as a host provider

Configure Audio, Video, and VbSS capture