Skip to main content

Installation

Getting started​

This installation process may look a bit daunting πŸ‘©β€πŸŽ“! But trust me, it's actually super simple πŸ”€, we just set it out in lots of steps to give you all the detail you may need.

If you do get stuck or have questions, please contact our Customer Operations team who would be happy to help guide you over what needs to happen.

Requirements​

Before getting starred please make sure that you have the following ready to go:

  1. An Azure Administration account with access to App registrations.
  2. PowerShell on your laptop and the azure permissions to run teams commands.

App registration​

  1. Login to your Azure portal.
  2. Head or Search for "App registrations".

App registrations

  1. Click New registration

App registrations

  1. Complete the options as below:

App registrations

  1. Once created, copy the two new GUIDs (IDs) to a safe place for later use:
    1. Application (client) ID.
    2. Directory (tenant) ID .

App registrations

Certificate creation​

  1. Select Add a certificate or secret from the right hand side of the same page.
  2. Select New client secret.
  3. Complete the information as below:
    • Name: Aiphoria-Scribe-Secret.
    • Expires: 12 months (or longer if you wish).
    • Press "Add".

App registrations

warning

On the next screen you will see the secret in the value as section shown. This is only visible when first created and cant be found later! Use the copy icon to make sure you copy the full value of the secret and add it to a safe place along with the other information needed earlier.

  1. Copy both values for use later.

App registrations

API Permissions​

  1. Select API Permissions from within the manage menu.
  2. Followed by Add a permission.

App registrations

  1. Select Microsoft Graph from the list of common APIs.

App registrations

  1. Followed by Application permissions
  2. Search for onlinemeeting in the search box.
  3. Tick both the permissions OnlineMeetingTranscript.Read.All and OnlineMeeting.Read.All.
  4. Once both are ticked, press Add permissions at the bottom of the page.

App registrations

  1. On the next screen you should now see the two new lines (along with any already set), the two new lines will show as Not grated for (your org).
  2. Press the Grant admin consent for (your org) button.

App registrations

  1. You should now see a green tick next to all the permissions.

App registrations

Linking the app to Teams via Powershell​

  1. Open a PowerShell terminal window (You will need to run this as an Admin via CMD, Terminal or PowerShell directly).

App registrations

PowerShell options

Depending on your setup you can run Powershell commands in Windows Command Prompt (CMD), Terminal or the PowerShell shell. Normally you will need to run the application as an Administrator, in Windows Right click on the application before opening it and select "Run as administrator"

  1. Run the following two (A & B) commands:

A) Run the teams import command:

Import-Module MicrosoftTeams
tip

Sometime PowerShell takes its time β˜• to run and may not look like its doing anything. If you think it maybe stuck, try pressing "Return/Enter" on the keyboard if nothing happens, its still going.

Possible error message

When running the above step depending on what you have used powershell for in the past you may get one of or all of the following error messages.

If you get an error saying: Import-Module : The specified module 'MicrosoftTeams' was not loaded because no valid module file was found in any module directory.

  1. Run the following line of powershell:
Install-Module -Name MicrosoftTeams -Force

This should install the missing module.

  1. Once complete, close the terminal window then open a new window in the same way (making sure you are still running as an administrator).

  2. Run the the same import command that gave you the error:

Import-Module MicrosoftTeams

If this now works, continue with the process below, if you get a new error, see if its covered by another tab above.

B) Once completed with no errors run the teams connection command:

Connect-MicrosoftTeams
  1. You may (or may not) get a popup asking you to login, make sure you login with your Azure admin account from the above App registration steps and accept the permission options.

App registrations

  1. If everything worked and the script has completed you should an output with your Azure Tenant information
  2. Update the below PowerShell to add β€œYOUR APP ID” instead of the placeholder below.
APP ID Value

The APP ID you need to replace in the bellow is the same as the Application (client) ID you stored from Step 5 during the App registration steps

New-CsApplicationAccessPolicy -Identity AiphoriaTranscriptSub-policy -AppIds "YOUR APP ID" -Description "A Policy that enables Aiphoria TeamScribe Bot to access Teams transcripts"
  1. You should see a response like the below:

App registrations

  1. Once the above is shown, just one more step to go. Run the last line of PowerShell:
Grant-CsApplicationAccessPolicy -PolicyName AiphoriaTranscriptSub-policy -Global
  1. Close the PowerShell window πŸ’š.

Next steps​

And thats the hard part done πŸš€. Next its just sending an email πŸ“§ and a quick test πŸ§ͺ. I told you it was easy!

Send the below to Aiphoria​

Aiphoria now need to complete a small setup on there side. You need to send them the following information via a secure method:

  1. From step 5 during the App registration steps: Application (client) ID .
  2. From step 5 during the App registration steps: Directory (tenant) ID.
  3. From step 4 during the Certificate creation steps: The β€œvalue” from the secret created .
  4. Delivery method: select one of the below and supply the additional information requested:

Test the integration​

Once Aiphoria has confirmed setup is complete with the information sent over in the above section you will need to run a quick test to make sure Aiphoria can get the transcript and you are able to get the output πŸ€–.

  1. To run a test, simply add a new meeting into outlook with a teams meeting invite attached.
  2. Start the meeting (no one else needs to join to run the test but the more the merrier πŸ€—).
  3. Once started, in Teams click on
    1. More
    2. Record and transcribe
    3. Start transcription (Note: if you also wish to have a copy of the audio you can select "Start recording" as well but this is not needed.)

Teams transcription options

  1. The transcription should now start to show within teams. Make sure you say a few words, something profound no doubt.
  2. End the meeting
  3. A few minutes later you should see the results of the analysis via your selected method.

Congratulations​

πŸŽ‰ Congratulations, that really is it this time! You are setup and good to go πŸŽ‰