MS Teams polling- How it works

Introduction

The polling module is a mechanism that allows getting files and messages from MS Teams without the need to use WebHooks. It can be used as a secondary method to WebHooks to handle missed events, or independently without WebHooks.

 

How It Works

Every channel or chat message is sent to the Microsoft API. In the WebHooks approach, we create a subscription and get notified about all events. In the Polling method we actively ask the API about new events. These events will come into the database from Teams traffic without the need for the incoming WebHook to access our portal.

 

If you are not using the AGAT Azure app, you need to request Microsoft to enable Protected API https://agatsoftware.atlassian.net/wiki/spaces/SFTKB/pages/1466302655