Respect Graph API Limits
The Microsoft Graph API does not permit more than four concurrent connections to the same mailbox. (For information about throttling in the Graph API, refer to the Microsoft documentation). OpenText recommends that you configure the connector to respect this limit. This section describes some of the configuration parameters that you can use.
The main scenario to consider is when you use the connector to synchronize with Exchange. To synchronize as quickly as possible, the connector uses multiple threads. Each thread opens its own connection. The number of threads to use for a synchronize task is controlled by the parameter SynchronizeThreads
, so you could set SynchronizeThreads=4
.
NOTE: The default value for SynchronizeThreads
is 5
. The default configuration file provided with the connector sets this parameter to 3
, but you might need to reduce this further.
There are other reasons, apart from scheduled synchronize tasks, why the connector might open a connection to a mailbox. For example, users of a front-end application might cause the application to send fetch
or view
actions to the connector. The connector can handle multiple actions simultaneously. The parameter MaximumThreads
, in the [Actions]
section of the configuration file, specifies how many asynchronous actions to process concurrently. The parameter Threads
, in the [Server]
section, specifies how many synchronous actions to process concurrently. Any fetch
action (synchronize, collect, delete, insert, and so on) is asynchronous by default. The view
action is a synchronous action.
The following configuration would allow up to one concurrent fetch
action, and two concurrent synchronous actions (including actions such as getstatus
or view
):
[Fetch] MaximumThreads=1 [Server] Threads=2