Create Enterprise application

For the Verint MS Teams Bot to record, you must first create an online enterprise application and assign that application to a compliance policy in Azure Active Directory on the Azure tenant that hosts the Verint Recorder.

Before you begin 

Install Microsoft Teams Module

Grant admin consent for the permissions

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 an enterprise application, at the prompt, run:

    New-CsOnlineApplicationInstance -UserPrincipalname <UPN> -
    ApplicationId <BotAppId> DisplayName <DisplayName>

    • Replace <UPN> with a unique name for the bot. Example: recordingbot@verint.com.

    • Replace <BotAppId> with the App ID you got when you registered the Bot channel.

    • Replace <DisplayName> with the name of the Teams client. Example: Recording Bot

    Example: New-CsOnlineApplicationInstance -UserPrincipalName iprec1bot@verintenglab.com -ApplicationId f46de070-f0ee-46e7-a644-4eb6a29171f8 -DisplayName IPRec1-BOT

    Wait for the application to take effect. When the application is registered in the Azure Active Directory, you will get the Object ID, which you need to sync the application (step 5 below).

  4. To check that the application was registered, run Get-CsOnlineApplicationInstance -Identity '<UPN>'.

    Replace <UPN> with the Bot unique user principal name that you created in the previous step.

  5. Sync the application instance from Azure Active Directory to the Agent Provisioning Service, at the prompt, run

    Sync-CsOnlineApplicationInstance -ObjectId <ObjectId>.

    Example: Sync-CsOnlineApplicationInstance -ObjectId 20ce1f33-c359-4742-855b-8ef0e065e9c9

Assign the bot to a recording policy

Install Microsoft Teams PowerShell Module