Skip to content

Implement SubscribeToAllFolders attribute to subscription requests #1243

@ecederstrand

Description

@ecederstrand

Pull, Push and Streaming subscription requests support a SubscribeToAllFolders attribute. See
https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/pullsubscriptionrequest, https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/pushsubscriptionrequest, https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/streamingsubscriptionrequest

exchangelib should support that flag. Possibly as the default if the subscription is created from Account.root.

Discussed in #1242

Originally posted by CubePirate October 30, 2023
I can't seem to figure out how to create a stream subscription for all folders, does the library support it?
I know EWS does support it, via "<StreamingSubscriptionRequest SubscribeToAllFolders="">"
See https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/streamingsubscriptionrequest

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions