Strange errors last 3 days when trying to find folders under ARCHIVE ROOT in Office 365 using EWS.findFolders method RRS feed

  • Question

  • Hi,

    Last 3 days we see (starting on February 1st 2020) we see on many customers error when trying to find folders under ARCHIVE ROOT using EWS findFolders : "The requesting account does not have permission to serialize tokens". Before February 1st, everything was fine, there was few here and there, but now it's happen a lot.

    Please advise what is this and how it can be fixed.

    Please see request / response log :

    POST /EWS/Exchange.asmx HTTP/1.1
    Content-Length: 1106
    Content-Type: text/xml; charset=utf-8
    Connection: Keep-Alive
    User-Agent: Apache-HttpClient/4.5.9 (Java/1.8.0_60)
    Accept-Encoding: gzip,deflate
    Authorization: Basic 
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:soap="" xmlns:t="">
    		<t:RequestServerVersion Version="Exchange2016"/>
    		<FindFolder xmlns="" xmlns:t="" Traversal="Deep">
    					<t:FieldURI FieldURI="folder:ParentFolderId"/>
    					<t:FieldURI FieldURI="folder:DisplayName"/>
    					<t:FieldURI FieldURI="folder:FolderClass"/>
    					<t:FieldURI FieldURI="folder:DistinguishedFolderId"/>
    			<IndexedPageFolderView MaxEntriesReturned="500" Offset="0" BasePoint="Beginning"/>
    				<t:DistinguishedFolderId Id="archiveroot"/>
    HTTP/1.1 500 Internal Server Error
    Cache-Control: private
    Transfer-Encoding: chunked
    Content-Type: text/xml; charset=utf-8
    Server: Microsoft-IIS/10.0
    request-id: f7ddc493-4389-4856-8d35-f8ddf435dd71
    X-BackEndHttpStatus: 500
    Set-Cookie: exchangecookie=a2cecb605fb2a8f30e7; expires=Thu, 04-Feb-2021 09:03:08 GMT; path=/; secure; HttpOnly
    X-BackEndHttpStatus: 500
    X-RUM-Validated: 1
    X-MailboxGuid: 1c882ca8-aaaa-4d84-b9d5-eddddd0c5b0
    x-EwsHandler: FindFolder
    X-AspNet-Version: 4.0.30319
    X-BeSku: WCS5
    X-DiagInfo: BN7PR13MB2388
    X-BEServer: BN7PR13MB2388
    X-Proxy-RoutingCorrectness: 1
    X-Proxy-BackendServerStatus: 500
    X-FEServer: BN6PR10CA0047
    X-Powered-By: ASP.NET
    X-FEServer: MN2PR05CA0041
    Date: Tue, 04 Feb 2020 09:03:07 GMT
    <?xml version="1.0" encoding="utf-8"?>
    <s:Envelope xmlns:s="">
    			<faultcode xmlns:a="">a:ErrorTokenSerializationDenied</faultcode>
    			<faultstring xml:lang="en-US">The requesting account does not have permission to serialize tokens.</faultstring>
    				<e:ResponseCode xmlns:e="">ErrorTokenSerializationDenied</e:ResponseCode>
    				<e:Message xmlns:e="">The requesting account does not have permission to serialize tokens.</e:Message>


    • Edited by slavag1 Tuesday, February 4, 2020 9:44 AM
    Monday, February 3, 2020 6:47 PM