Open sauranga2593 opened 4 years ago
We had the same issues with connecting to EWS it seems to be a throttling problem. You are not allowed to make too many connections and you cannot change the threshold at what this error occures only way to solve this problem is to create an user pool and impersonate as different user for every request..
Hello,
I am using a async function which enables EWS OAuth for mailbox. It tries to access mail folders and reads emails. While calling the function, I am facing following error: "too many concurrent connections opened. cannot open mailbox"
Here is a code sample I am using:
ewsClient.Url = new Uri(ewsClientURL); ewsClient.Credentials = new OAuthCredentials(result.AccessToken);
What can be a resolution for this issue?