_cparker could you please help me with the above question.
Additionally, below is a sample SOAP API request that we use to retrieve the Calendar folder as an example. We retrieve user's Calendar, Contacts and Emails using this API. Please note the ExchangeImpersonation header in that request. Will this EWS request remain functional after this deprecation?
Below are the authentication headers which will be sent along with this request.
Authorization : Bearer token
<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages">
<soap:Header>
<t:RequestServerVersion Version="Exchange2010"/>
<t:ExchangeImpersonation>
<t:ConnectingSID>
<t:PrincipalName>email address removed for privacy reasons</t:PrincipalName>
</t:ConnectingSID>
</t:ExchangeImpersonation>
</soap:Header>
<soap:Body>
<GetFolder xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
<FolderShape>
<t:BaseShape>IdOnly</t:BaseShape>
</FolderShape>
<m:FolderIds>
<t:DistinguishedFolderId Id="contacts">
<t:Mailbox>
<t:EmailAddress>email address removed for privacy reasons</t:EmailAddress>
</t:Mailbox>
</t:DistinguishedFolderId>
</m:FolderIds>
</GetFolder>
</soap:Body>
</soap:Envelope>