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
Procedure
-
Open PowerShell as an administrator that has the Teams Service Administrator role.
-
If the Verint Recorder is on a different Azure tenant, to access that tenant:
-
At the prompt, run:
Connect-MicrosoftTeams. -
When prompted, log on to Teams using your admin-level credentials.
-
-
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'
-
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')
-
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.
-
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