Wrong mailbox retrieved Exchange Web Services (Full Version)

All Forums >> [Microsoft Exchange 2007] >> Mobility



Message


avocom -> Wrong mailbox retrieved Exchange Web Services (23.Mar.2012 3:46:00 AM)

OS: SBS 2008
Exchange: 2007

On Windows everything works fine, but there are 3 Mac-users, two of them use Office for Mac, 1 uses mail-app. All of them are configured to use Exchange, no IMAP or POP3.
On the two Offices for Mac, the client keeps asking for credentials. On the mail app the user recieves the content of other mailboxes. His clients loads headers but also complete messages from the other mac users. This happens only when an other mac-user is connected asswell.

To emulate this we used a soap request.
The conclusion:
With the same credentials we receive different folder ID's for the same request.

The Soap request:
quote:

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
<soap:Body>
<GetFolder xmlns="http://schemas.microsoft.com/exchange/services/2006/messages"
xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
<FolderShape>
<t:BaseShape>Default</t:BaseShape>
</FolderShape>
<FolderIds>
<t:DistinguishedFolderId Id="sentitems"/>
</FolderIds>
</GetFolder>
</soap:Body>
</soap:Envelope>


Two different answers for the same request with the same credentials, notice the different folder ID's:
quote:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Header>
<t:ServerVersionInfo MajorVersion="8" MinorVersion="1" MajorBuildNumber="340" MinorBuildNumber="0" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"/>
</soap:Header>
<soap:Body>
<m:GetFolderResponse xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages">
<m:ResponseMessages>
<m:GetFolderResponseMessage ResponseClass="Success">
<m:ResponseCode>NoError</m:ResponseCode>
<m:Folders>
<t:Folder>
<t:FolderId Id="AQASAGZpbGlwQGFjdG9ub215LmNvbQAuAAAD7YnD0hOIK0+B0UBi7Mi/WgEAammH9BPJKE2ehCGmCEJOgQAHZ+99JQAAAA==" ChangeKey="AQAAABYAAABqaYf0E8koTZ6EIaYIQk6BAAdn75Gf"/>
<t:DisplayName>Verzonden items</t:DisplayName>
<t:TotalCount>60</t:TotalCount>
<t:ChildFolderCount>0</t:ChildFolderCount>
<t:UnreadCount>0</t:UnreadCount>
</t:Folder>
</m:Folders>
</m:GetFolderResponseMessage>
</m:ResponseMessages>
</m:GetFolderResponse>
</soap:Body>
</soap:Envelope>


<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Header>
<t:ServerVersionInfo MajorVersion="8" MinorVersion="1" MajorBuildNumber="340" MinorBuildNumber="0" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"/>
</soap:Header>
<soap:Body>
<m:GetFolderResponse xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages">
<m:ResponseMessages>
<m:GetFolderResponseMessage ResponseClass="Success">
<m:ResponseCode>NoError</m:ResponseCode>
<m:Folders>
<t:Folder>
<t:FolderId Id="AAAZAGpvZXJpLm1lc2Vuc0BhY3Rvbm9teS5jb20ALgAAAAAAz/OfQ/nnc0mRxAqQL3W8wgEAammH9BPJKE2ehCGmCEJOgQAAQmTG9AAA" ChangeKey="AQAAABYAAABqaYf0E8koTZ6EIaYIQk6BAABCZMku"/>
<t:DisplayName>Verzonden items</t:DisplayName>
<t:TotalCount>609</t:TotalCount>
<t:ChildFolderCount>0</t:ChildFolderCount>
<t:UnreadCount>0</t:UnreadCount>
</t:Folder>
</m:Folders>
</m:GetFolderResponseMessage>
</m:ResponseMessages>
</m:GetFolderResponse>
</soap:Body>
</soap:Envelope>


The user that uses mail app is an administrator.




Page: [1]