none
How to list public folder RRS feed

  • Question

  • Hi,

    I want to list all public folder. I found list public folder via PowerShell. But I want to list it use EWS.

    If anybody know, Please let me know.

    Thanks

    Monday, October 29, 2018 6:11 AM

Answers

  • Hi ymd12876,


    You could list public Folder via EWS. 

    Please refer to this code:

    <?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>
            <FindFolder Traversal="Shallow" xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
            <FolderShape>
                <t:BaseShape>Default</t:BaseShape>
            </FolderShape>
            <ParentFolderIds>
                <t:DistinguishedFolderId Id="publicfoldersroot"/>
            </ParentFolderIds>
            </FindFolder>
        </soap:Body>
        </soap:Envelope>

    For more information, Please refer to this link:

    How to list public folder mailboxes via EWS?

    Regards

    Alina


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread.




    • Edited by Alina Li- MSFT Monday, October 29, 2018 9:39 AM
    • Marked as answer by ymd12876 Tuesday, October 30, 2018 12:55 PM
    Monday, October 29, 2018 9:18 AM