This container has a python script which will go to your MS-Teams Azure Graph API and take the MS-Teams calls from your organization . This container will take a calls which ended 2 hours ago (relative to the time of the container run) - for example , if you run container at 14:05 , it will collect all call records for the calls ended between 12:00 and 13:00 . The script will also remove any names and email addresses from the output , becouse it is considered as PII information. The output of the script will go to Kafka .
To run the container following variables need to be defined in the environment :
TEAMS_TENANT_ID TEAMS_CLIENT_ID TEAMS_CLIENT_SECRET KAFKA_BOOTSTRAP_SERVER KAFKA_CALL_RECORDS_TOPIC
Here is an example of running this container with assumtion of Kafka running on the same host as this container (all IDs are replaces with the fake IDs):
docker run --network host --rm -d
-e TEAMS_TENANT_ID=1111111-f187-437c-962a-22222222
-e TEAMS_CLIENT_ID=3333333-d1f3-4782-afa5-444444444
-e TEAMS_CLIENT_SECRET=abdsGGGQjDNV8lF4HbXjLabcdefghigklmnop8
-e KAFKA_BOOTSTRAP_SERVER=localhost:9092
-e KAFKA_CALL_RECORDS_TOPIC=ms-teams
ms-teams-pull-logs
Content type
Image
Digest
sha256:79f9f7ced…
Size
116.5 MB
Last updated
over 1 year ago
docker pull extremecanada/ms-teams-pull-logs