Skip to main content

KI-155

Office 365 check-in error in Spring '25

Created date06/18/2026Updated date06/18/2026
StatusSalesforce DependencyRelated work itemN/A
DescriptionAs of Thursday, June 18, 2026, orgs running Spring '25 can no longer check in documents from Office 365. Clicking Check In returns an error dialog reading process is not defined.

Root cause:
Salesforce changed how Lightning Web Security (LWS) processes code when applying its distortions. LWS now references variables unsafely, so any undefined variable causes the LWS code itself to throw an error. MCM uses a testing variable that is not always defined; our code references it safely via a JavaScript optional chaining operator. This worked without issue for a year, until the Salesforce LWS change began erroring on it.
Affects version(s)Scientific Publications Cloud Spring '25Impacted capabilitiesN/A
Steps to reproduce
  1. In a Spring '25 org, ensure the Microsoft 365 integration is configured.
  2. Check out a document to Office 365.
  3. On the document page, click the Check In button. The following error is shown:
WorkaroundDisable LWS.

Note: You'll need to re-enable LWS for the next upgrade.
Fix versionScientific Publications Cloud Fall '25Resolution notes