Configuring active-active infrastructure for Teams compliance recording bot

Riccardo Moschetti 60 Reputation points
2023-09-11T19:45:43.81+00:00

Hello, we've correctly set up a teams compliance recording bot, based on this sample: https://github.com/microsoftgraph/microsoft-graph-comms-samples/tree/a3943bafd73ce0df780c0e1ac3428e3de13a101f/Samples/BetaSamples/LocalMediaSamples/ComplianceRecordingBot

The bot worked on a single Windows Virtual machine on Azure, and we deployed it on a second machine behind an Azure load balancer.

We saw unfortunately that there are problems if both virtual machines get different API calls and packets for the same call. The bot won't always get engaged correctly; some calls will drop unless only one machine gets all of API calls and the packets. That's why we switched to an active-passive configuration. One machine will get all of the traffic; if it goes down, another one (previously passive) will get all of the new traffic.

How is it possible to have an active-active infrastructure, with a variable number of virtual machines doing the compliance recording?

Thanks a lot!

Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,186 questions
0 comments No comments
{count} votes

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.