Skip to content

Fix: Fix calendar permission folder selection - #467

Open
kris6673 wants to merge 1 commit into
CyberDrain:devfrom
kris6673:fix/calendar-permission-folder-selection
Open

Fix: Fix calendar permission folder selection#467
kris6673 wants to merge 1 commit into
CyberDrain:devfrom
kris6673:fix/calendar-permission-folder-selection

Conversation

@kris6673

@kris6673 kris6673 commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Cache the root calendar folder instead of the last one returned to ensure accurate folder statistics. Update the handling of default calendar permissions to warn about incomplete coverage when no cached default row exists. This improves the reliability of calendar permission evaluations.

Get-MailboxFolderStatistics returns every calendar folder under one
OperationGuid, so last-wins cached subfolders instead of the root. Phase 2 then
queried the wrong folder and cached nothing, and since the cache is only written
on a miss, re-syncing could not repair it. Select by FolderType instead, and
stamp it on entries so stale rows self-heal.

calDefault treated a mailbox with no cached Default row as compliant. It now
matches mailbox identities and warns on partial coverage.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant