A user account was used instead of a dedicated service account when configuring the ODM connections. This same account also had its Teams chats migrated using On Demand Migration (ODM).
During the final stage of the Teams Chats migration, ODM removes the account configured under **Configure Connections** from the migrated user's chats.
If the account configured under **Configure Connections** is the same user whose chats are being migrated, the account removes itself from those migrated chats. As a result, the user no longer has access to view the chats that were migrated.
Create a new project in ODM.
Configure the source and target connections using the appropriate service account.
Re-grant the required consents.
Discover the source accounts and map them to the target accounts.
Discover the Teams chats.
Select the required user and create a new Chats migration task.
Run the Chats migration task.