High level overview of setting up VoIP Detective Microsoft Teams Calling:

  1. Create an application in the Azure Portal
  2. Give this application the proper permissions
  3. Create a client secret
  4. Configure Microsoft Teams Call Reporting in VoIP Detective.



Set Up Access to Microsoft Graph


Register an Application in Azure AD:


Go to the Azure portal.
Navigate to Azure Active Directory > App registrations.




Click New registration and create an application.



Note the Application (client) ID and Directory (tenant) ID.



Assign API Permissions:


Under the app's settings, go to API permissions.



Add the Microsoft Graph API permissions:





Choose "application permissions"



You'll be given a search box where we can search for permissions.



Enter "callrecord" into the search box.  You should get two results - place a checkmark next to each and save.



You should now see these permissions added



Choose the button to Grant admin consent for VoIP Detective



Choose Yes to grant permissions



Grant admin consent for these permissions.




Now, go to "Certificates and secrets"



Generate a new client secret by clicking on "New client secret"



Give the client secret a description and choose when it should expire.


Please note - client secrets must be manually created through the Azure Portal, and cannot be extended by VoIP Detective.  Because of this, you will need to manually create a new client secret when the current one expires.



Copy the client secret value and keep it in a safe place



Enabling Microsoft Teams Call Reporting in VoIP Detective.


Go to Administration -> Configuration and scroll down to the MS Teams Call Reporting section.

Enable MS Teams call reporting.  

You will then need to go to Administration -> Configuration from the menu, in order to reload the page.

Enter Your Tenant ID, Application ID, Client Secret, and choose a proper Data Retention timeframe.



VoIP Detective will pull call records from MS Teams every 5 minutes.  So wait a bit, then choose "MS Teams Calls" from the top menubar and then select Admin Search.  By hitting the "search" button, you will see calls that have been imported today.