Skip to main content
OAuth 2.0 authentication uses special access tokens, which must be updated regularly. ABBYY FlexiCapture stores these tokens in the dbo.Identities table in the SQL database. The Token Management Service (TMS) updates the tokens automatically. The refresh token required to use the Microsoft Graph Mail API expires after 90 days of inactivity. Microsoft no longer lets administrators change this lifetime. For more information, see the Microsoft documentation on configurable token lifetimes.

Token Management Service

TMS is installed by the main install wizard and set up alongside ABBYY FlexiCapture in the Administration and Monitoring Console. It is available in FlexiCapture 12 Release 4 Update 2 and later. In IIS Manager, it appears as the FlexiCapture 12 Token Management site. After you set up a connection to a database, restart either the entire IIS or your particular TMS pool. TMS refreshes tokens only for projects on the Application Server. Tokens in local projects are not refreshed, so you must sign in again before they expire. For help with sign-in and token errors, see Microsoft Graph Mail API sign-in and import errors.