Skip to Content

MS-721: Which PowerShell Cmdlet Sets Up a Microsoft Teams Compliance Recording Bot?

Discover the essential PowerShell cmdlet (New-CsOnlineApplicationInstance) for configuring third-party compliance recording bots in Microsoft Teams, critical for MS-721 certification.

Question

You have a Microsoft Teams deployment.

You plan to implement a third-party compliance recording solution for meetings.

You need to first set up the recording bot for the solution.

What PowerShell cmdlet should you run?

Select only one answer.

A. New-CsCloudCallDataConnection
B. New-CsOnlineApplicationInstance
C. Set-CsUser
D. Set-TeamsEnvironmentConfig

Answer

To implement a third-party compliance recording solution for Microsoft Teams meetings, the New-CsOnlineApplicationInstance PowerShell cmdlet (Option B) is required to create the recording bot instance.

B. New-CsOnlineApplicationInstance

Explanation

The first step is to create an application instance for compliance recording by using the New-CsOnlineApplicationInstance cmdlet. The other options are unrelated to the setup of compliance recording.

New-CsOnlineApplicationInstance registers the compliance recording bot in your Teams tenant by associating it with a third-party application ID provided by the compliance vendor. This cmdlet:

  1. Creates a bot instance with parameters like -UserPrincipalName, -DisplayName, and -ApplicationId.
  2. Links the bot to your tenant, enabling it to join meetings and calls for recording purposes.

Why Other Options Are Incorrect

A. New-CsCloudCallDataConnection: Manages call data connectors for analytics, not bot deployment.

C. Set-CsUser: Assigns policies to users but does not configure bots.

D. Set-TeamsEnvironmentConfig: Configures tenant-wide settings unrelated to compliance bots.

Implementation Workflow

  1. Grant admin consent to the bot’s permissions (e.g., access media streams).
  2. Create the bot instance using:
    New-CsOnlineApplicationInstance -UserPrincipalName "[email protected]" -DisplayName "ComplianceBot" -ApplicationId "vendor-app-id"
  3. Sync the instance with Sync-CsOnlineApplicationInstance.
  4. Assign policies to users via Grant-CsTeamsComplianceRecordingPolicy.

This process ensures the bot is automatically invited to meetings/calls for compliance recording, aligning with Microsoft’s requirements for third-party solutions.

Microsoft 365 Certified Collaboration Communications Systems Engineer Associate MS-721 certification exam assessment practice question and answer (Q&A) dump including multiple choice questions (MCQ) and objective type questions, with detail explanation and reference available free, helpful to pass the Microsoft Collaboration Communications Systems Engineer MS-721 exam and earn Microsoft 365 Certified Collaboration Communications Systems Engineer Associate certification.