Skip to main content

Configure Microsoft Teams Voice and Meetings capture

This article shows you how to configure Microsoft Teams Voice and Meetings capture so supported Teams calls and meetings can be recorded, transcribed, archived, and monitored in MCO eComms.

For Microsoft Entra administrators, Microsoft Teams administrators, and MCO eComms administrators.

Before you begin

  • Confirm you have access to Microsoft Entra ID with the required administrator role.

  • Confirm you can run PowerShell as an administrator.

  • Confirm the PowerShell execution policy is set to at least RemoteSigned.

  • Confirm the Microsoft Teams PowerShell module is installed.

  • Confirm the covered users or groups that should be recorded.

  • Confirm Microsoft Teams Voice and Meetings capture is enabled in your MCO eComms account.

  • Confirm the users who need Teams V&M source mappings in MCO eComms.

For more information about Microsoft Teams recording, see Introduction to Teams recording.

PowerShell prerequisites

You need the following PowerShell setup before you create the Microsoft Teams compliance recording policy:

Requirement

Description

PowerShell

Use PowerShell 5.1 or later. PowerShell 5.1 is included with Windows.

Administrator mode

Run PowerShell as an administrator.

Execution policy

Use an execution policy of at least RemoteSigned.

Teams module

Use the Microsoft Teams PowerShell module.

Microsoft Entra role

Use a Microsoft Entra administrator account that can configure Teams compliance recording policies.

Microsoft provides setup guidance for the Microsoft Teams PowerShell module and installing Microsoft Teams PowerShell.

Connect to Microsoft Teams PowerShell

  1. On your Windows computer, open the Start menu.

  2. Search for PowerShell.

  3. Right-click Windows PowerShell.

  4. Click Run as Administrator. An elevated PowerShell window opens.

  5. Set the execution policy to RemoteSigned.

    Set-ExecutionPolicy RemoteSigned 

    For more information, see Microsoft’s Set-ExecutionPolicy documentation.

  6. Install the Microsoft Teams PowerShell module.

    Install-Module MicrosoftTeams 
  7. If the Microsoft Teams PowerShell module is already installed, update it.

    Update-Module MicrosoftTeams 
  8. Import the Microsoft Teams PowerShell module.

    Import-Module MicrosoftTeams 
  9. Connect to Microsoft Teams PowerShell with Microsoft Entra administrator credentials.

    Connect-MicrosoftTeams 

Create the compliance recording application instance

A Microsoft Teams compliance recording policy requires an application instance, a recording policy, and a recording application.

The application instance connects your Microsoft Entra tenant to the MCO recording application.

  1. Create the application instance.

    New-CsOnlineApplicationInstance -UserPrincipalName <email of the generated Microsoft Entra ID resource> -DisplayName <name for the generated Microsoft Entra ID resource> -ApplicationId 82da7f37-355e-4430-a678-1ff49f539458 

    The ApplicationId value 82da7f37-355e-4430-a678-1ff49f539458 is the MCO recorder application ID.

  2. Copy the ObjectId returned by the command.

  3. If you need to retrieve the ObjectId later, run this command:

    Get-CsOnlineApplicationInstance -DisplayName <the name you provided> 
  4. Synchronize the application instance into the Agent Provisioning Service.

    Sync-CsOnlineApplicationInstance -ObjectId <the object ID of the application instance> -ApplicationId 82da7f37-355e-4430-a678-1ff49f539458 

Create the compliance recording policy

The compliance recording policy defines which users are recorded.

  1. Create the recording policy.

    New-CsTeamsComplianceRecordingPolicy -Identity <provide a name for your policy> -Enabled $true 
  2. Save the policy name. You need it when you create the recording application and assign the policy.

NOTE: At this point, the policy exists but does not record calls or meetings until a recording application is assigned to it.

Create the recording application

The recording application associates the compliance recording policy with the application instance.

  1. Create the recording application.

    New-CsTeamsComplianceRecordingApplication -Parent <recording policy name> -Id <application instance object ID> 
  2. Confirm the Parent value matches the policy name you created.

  3. Confirm the Id value matches the application instance ObjectId.

Assign the compliance recording policy

Assign the recording policy to the users or groups that should be recorded.

NOTE: It may take a few minutes for the policy to take effect. Signed-in Teams users may need to sign out and sign back in to receive a new access token.

Assign the policy to all users

Use this option if all users in the tenant should use the recording policy.

Grant-CsTeamsComplianceRecordingPolicy -Global -PolicyName <recording policy name> 

Assign the policy to one user

Use this option if only specific users should use the recording policy.

Grant-CsTeamsComplianceRecordingPolicy -Identity <user principal name> -PolicyName <recording policy name> 

The user principal name is often the user’s email address, but it can be different. You can find the user principal name in the Microsoft Entra admin center.

To verify that the policy was assigned, run:

Get-CsOnlineUser <user principal name> | ft sipaddress, tenantid, TeamsComplianceRecordingPolicy 

Assign the policy to a group

Use this option if users in a group should use the recording policy.

Grant-CsTeamsComplianceRecordingPolicy -Group <group object ID> -PolicyName <recording policy name> 

You can find the group object ID in the Microsoft Entra admin center.

Connect Teams Voice and Meetings in MCO eComms

MCO eComms uses the MCO eComms Teams Archiver application to connect your Microsoft Teams environment to your MCO eComms account.

  1. Sign in to MCO eComms as an administrator.

  2. Go to Settings > Integrations.

  3. Locate the Microsoft Teams Voice and Meetings integration.

  4. Click the More options menu.

  5. Click Connect. Microsoft prompts you to select the account used to install the MCO eComms app.

  6. Sign in with a Microsoft Entra account that has the Application Administrator or Cloud Application Administrator role.

  7. Review the confirmation message.

  8. Approve the connection. Microsoft adds the MCO eComms application to your Microsoft Entra enterprise applications.

  9. Return to MCO eComms and confirm the integration is connected.

Map covered users

Covered users must be mapped in MCO eComms before their Teams Voice and Meetings communications can be associated with the correct user profiles.

NOTE: The same users must also be included in the Microsoft Teams compliance recording policy.

  1. Sign in to MCO eComms as an administrator.

  2. Go to Settings > Users. The Users page opens.

  3. Locate the user you need to map.

  4. Click Edit. The user profile opens.

  5. Locate the Sources section.

  6. Click Edit in the Sources section. The section enters edit mode.

  7. Click Add Source. A new source mapping row appears.

  8. In Source name, select Teams V&M.

  9. In Unique Identifier, enter the user’s Teams email address.

  10. Click the check icon. The source mapping row is saved in the profile editor.

  11. Add any additional Teams Voice and Meetings identities required for the user.

  12. Click Save. MCO eComms saves the user profile.

Remove a recording policy assignment

Use this section only if you need to remove a compliance recording policy assignment from users or groups.

To remove a recording policy assignment, pass $null as the PolicyName value.

Grant-CsTeamsComplianceRecordingPolicy -Identity <user principal name> -PolicyName $null 

Remove a compliance recording policy

Use this section only if you need to remove the policy from Microsoft Teams.

  1. List the configured policies.

    Get-CsTeamsComplianceRecordingPolicy

  2. Remove the policy.

    Remove-CsTeamsComplianceRecordingPolicy -Identity <policy name> 

NOTE: You may also need to remove related configuration entities, such as the application instance. The underlying user principal must be removed through Microsoft Entra directory operations.

Result

Microsoft Teams Voice and Meetings capture is configured. MCO eComms can use the MCO recording bot to capture supported Teams calls and meetings for users assigned to the compliance recording policy and mapped in MCO eComms.

Captured recordings and transcripts can be archived, monitored, and reviewed according to your organization’s configured policies and license limitations.

Did this answer your question?