Forum Discussion
MichaelDenmark
Aug 25, 2022Copper Contributor
EWS with oAuth "An internal server error occurred. The operation failed."
Hi... Since yesterday, my synchronization application starts throwing exceptions with the following error "An internal server error occurred. The operation failed." It only happen for mai...
MikeCoop
Aug 26, 2022Copper Contributor
Same here, we are already using:
ewsClient.HttpHeaders.Add("X-AnchorMailbox", "{emailAddress}")
We've been getting this error for a few days now:
"Microsoft.Exchange.WebServices.Data.ServiceResponseException: An internal server error occurred. The operation failed."
It happens when calling the function:
ewsClient.ResolveName(searchStr, ResolveNameSearchLocation.DirectoryOnly, True)
The console application is running from an Azure VM.
The strange thing is, when I run the same application from my laptop locally, it works. No error.
niteshdashore
Sep 08, 2022Copper Contributor
MikeCoop I am alos getting the same error. Its working locally and getting this issue on server randomly. I will suggest you to open a ticket on microsoft.