FeatureFuel
0

Microsoft folder selection may be limited to 999 folders

Source: twentyhq/twenty#26028 · opened by @lmeyer
Current behaviour One of my users has a large Outlook mailbox and cannot find the folder they want to select in Twenty’s email sync settings. I’m running a self-hosted instance on v2.37.4. I checked the code and suspect the problem is in [MicrosoftGetAllFoldersService]( It requests up to 999 folders, then reads response.value without following @odata.nextLink. If Microsoft returns multiple pages, folders beyond the first page would be missing from the selection. I haven’t captured the Graph response for this account yet, so pagination remains the suspected cause. Temporarily increasing the limit may not work either: computeFolderIdsToDelete appears to treat previously selected folders as deleted if they disappear from subsequent discovery results. Expected behaviour Twenty should retrieve all pages of folders by following @odata.nextLink, so I can select any available folder regardless of how many folders the mailbox contains. It should only check for deleted folders after the …

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests