The customer reported that approximately xx.xxx Teams messages were not archived during the migration. The ODM logs showed the following error:
Request failed with BadRequest status code (Bad Request).
{"error":{"code":"BadRequest","message":"Maximum number of tabs allowed on the thread is set to '50'. The channel already has '50' tabs" ... }}
This occurred when ODM attempted to create additional tabs in the Teams channel to display archived chat history.
This issue is caused by a Microsoft Teams API limitation. Each Teams channel has a hard limit of 50 tabs, as defined by Microsoft.
During the archive process, the ODM tool generates HTML files containing archived Teams messages and attempts to attach them as individual tabs within the target Teams channel.
When the number of existing tabs (including default tabs) plus newly added archive tabs exceed the limit, Microsoft blocks the creation of additional tabs, triggering a 'BadRequest' error.
This is not a limitation of Quest ODM, but rather an enforced restriction within Microsoft Teams.
Note 1: Archived messages from a successful previous attempt will not be recreated unless the original archive failed or the messages were modified.
Note 2: In all scenarios new task must be created.