Internal Server Error connecting to O365 Exchange using OAuth

Graham Jenkins 6 Reputation points
2022-08-24T15:08:46.927+00:00

Hello

We have an app registered in Azure which allows our software to "import" emails from mailboxes into our software using OAuth; as well as send outbound emails via our software. Since yesterday, we have noticed that emails are getting duplicated in our system as well as connectivity errors for outbound emails.

We have tried various logging but the only error that is getting returned is "An internal server error occurred. The operation failed" (See Trace below) This is affecting multiple users across multiple sites connecting to their own O365 Exchange. Only affecting OAuth connections, Basic Authentication works fine. No updates to our software have been made.

Any ideas?

<Trace Tag="EwsResponse" Tid="24" Time="2022-08-24 14:19:16Z" Version="15.00.0913.015">
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Header>
<Action s:mustUnderstand="1" xmlns="http://schemas.microsoft.com/ws/2005/05/addressing/none">*</Action>
</s:Header>
<s:Body>
<s:Fault>
<faultcode xmlns:a="http://schemas.microsoft.com/exchange/services/2006/types">a:ErrorInternalServerError</faultcode>
<faultstring xml:lang="en-US">An internal server error occurred. The operation failed.</faultstring>
<detail>
<e:ResponseCode xmlns:e="http://schemas.microsoft.com/exchange/services/2006/errors">ErrorInternalServerError</e:ResponseCode>
<e:Message xmlns:e="http://schemas.microsoft.com/exchange/services/2006/errors">An internal server error occurred. The operation failed.</e:Message>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>
</Trace>

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,348 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,465 questions
{count} vote