Clean up pre-multi-source legacy fields from chatlog records
Strips top-level selectedFolder (and other pre-multi-source dead fields: enablePersonalFiles, enableAclFiltering, personalWorkspaceWeight) from chatlog documents in the chatlog Cosmos container. Functionally cosmetic — rendering and rehydration of legacy chatlogs already work without this; the cleanup just drains dead extra data in parallel with the chats migration on the chat container.
Idempotent. Already-clean records are skipped without writes.
Authorizations
Azure AD access token obtained via MSAL
Query Parameters
When true, logs what would change without writing. Defaults to false in this admin endpoint (applies the cleanup).
true, false Response
ChatLog cleanup result with summary and details