This troubleshooting article will help TDX Admins to generate clean tokens for email auth accounts. The user must have the following settings enabled within the Security Role: Organization Admin rights.
Sometimes you will setup tokens for a Microsoft OAuth 2.0 account and yet it is still not working. This is often indicated by an error stating lack of connection/access to the mailbox. This can happen when Microsoft provides tokens against credentials that are not that of the mailbox being monitored or of an account that does not have full rights to that mailbox. This process below can help to provide the best practice to ensure the tokens pulled from Microsoft are correct for the mailbox.
The process for pulling a clean token for your Microsoft Email Auth Account is best assured by following this process: