TL;DR
- The sandbox cutoff is 6:00 PM PT on 7 January 2027 (02:00 UTC on 8 January, 3:00 PM NZDT on 8 January). A sandbox has to be created or refreshed, and finished, before that moment to sit on a preview instance. Refresh a preview sandbox after it and Salesforce routes it to a non-preview instance and reverts it to Winter '27.
- Preview instances upgrade on 8 and 9 January 2027 Pacific time. Salesforce Trust lists Spring '27 production upgrade dates of 9 January, 16 January, 6 February, 19 February and 20 February 2027 (UTC), and your org is assigned to one of them by instance.
- Salesforce's Release Updates page lists 13 items under Spring '27, and eight are security relevant. Only four of those arrive with your upgrade weekend: guest user PII masking, non-public fields in Aura responses, Salesforce Connect cross-org legacy authentication, and the View Setup Audit Trail permission.
- The other four security items run on their own clocks. The OAuth username-password and user-agent retirements both enforce on 20 February 2027, instanced URLs enforce by instance from 12 January to 25 March 2027, and the SOAP
login()version retirement sits under the Spring '27 heading while its own page says Summer '27. - About three quarters of production instances upgrade on 19 and 20 February, so for most orgs the release, both OAuth retirements and the Salesforce to Salesforce shutdown all land on the same weekend.
- The list that applies to your org is the one in your own Setup under Release Updates, because updates only appear when they are relevant to the features you use.
What You'll Learn
- The Spring '27 dates that matter, and how to find your org's specific one
- What each of the eight security changes breaks, in one place
- Which ones are tied to your upgrade weekend and which run on fixed dates
- The items due before Spring '27 that are easy to miss, including one that hits sandboxes on the cutoff day
- A step-by-step admin action plan, with the Setup paths and queries for each change
- A week-by-week plan for the sandbox preview window
- What to tell users, and when to tell them
The Problem
Winter '27 was quiet because most of its hard changes slipped into 2027, and two of them now land on the same weekend as most orgs' Spring '27 upgrade.
For most orgs, the third weekend of February 2027 now carries the Spring '27 upgrade, the retirement of the OAuth username-password flow, the retirement of the OAuth user-agent and hybrid user-agent flows, and the final shutdown of Salesforce to Salesforce. Two of those break integrations server to server with nothing surfaced in the UI. One breaks browser and mobile logins. If something stops working on the Monday, there are four candidate causes and they all happened on the same weekend.
The usual readiness pattern makes this worse. Somebody reads the release notes in January, sees that most of the Spring '27 updates are narrow, and plans around the upgrade weekend. But the two OAuth retirements are not upgrade-weekend items. They enforce on a fixed date, so an org on the 6 February window gets its upgrade first and then loses its password-flow integrations two weeks later, on a weekend with no release attached to it.
The preview window has its own trap. The sandbox cutoff falls on 7 January Pacific time, which in New Zealand and Australia sits at the tail end of the summer shutdown. Salesforce recommends requesting a refresh at least a week before the cutoff, which puts the real deadline around 31 December.
Common questions this article answers:
- What is actually enforcing in Spring '27, and when does my org get it?
- Which of these changes land on my upgrade weekend, and which land on a fixed date?
- What should I be doing before the sandbox cutoff, and during the preview window?
Quick Answer
Your sandbox has to be created or refreshed before 6:00 PM PT on 7 January 2027 to sit on a preview instance, and refreshing a preview sandbox after that cutoff reverts it to Winter '27. Preview instances upgrade on 8 and 9 January 2027 Pacific time, and Salesforce Trust lists Spring '27 production upgrade dates of 9 January, 16 January, 6 February, 19 February and 20 February 2027, assigned by instance. Find your org's date by looking up your instance on Salesforce Trust Status, and confirm which updates apply to you in Setup under Release Updates. Salesforce lists 13 release updates under Spring '27, of which eight are security relevant. Four of those arrive with your upgrade weekend: Conceal Personal Information Fields from Guest Users, Remove Non-Public Fields from Custom Object Data in Aura Action Responses, the retirement of password and OAuth 2.0 authentication for the Salesforce Connect cross-org adapter, and the new View Setup Audit Trail permission. The other four do not. The OAuth username-password flow and the OAuth user-agent and hybrid user-agent flows both retire on 20 February 2027 regardless of your upgrade date. Update Instanced URLs in API Traffic enforces in production by instance between 12 January and 25 March 2027. The SOAP API login() retirement for versions 31.0 to 64.0 is listed under Spring '27, but its own page says it takes effect in Summer '27. Test the two OAuth retirements and the instanced URL change first, because they fail completely, and two of the three fail silently, server to server.
The dates
Every fixed date in this post, from the device flow restriction on 30 November 2026 to the last instanced URL window on 25 March 2027, in one place:
- 30 Nov 2026Device flow restrictedOAuth device flow works only for local external client apps with a supported callback URL. Connected apps must migrate.
- 01 Dec 2026Email verification exceptionSupport-granted allowlists that disable email verification are removed. Configure an authorized email domain to keep the exception.
- 07 Jan 2027SSO migration: sandboxesOrgs requiring SSO through the legacy configuration move to the Single Sign-On Required permission. The window runs 7 to 18 January. Self-service extension available.
- 07 Jan 2027Sandbox preview cutoff, 6 PM PTCreate or refresh, and finish, before this to land on a preview instance. Refreshing a preview sandbox after it reverts to Winter ’27.
- 09 Jan 2027Preview sandboxes upgrade196 sandbox instances take Spring ’27. So do 32 production instances, which get no preview window.
- 12 Jan 2027Instanced URLs: first production windowAPI traffic to a stale instanced hostname stops working, by instance. Windows run to 25 March.
- 16 Jan 2027Production upgrade: 11 instancesOne week after preview starts.
- 04 Feb 2027SSO migration: productionSame change as the sandbox step, now in production. The window runs 4 to 20 February.
- 06 Feb 2027Production upgrade: 127 instancesThe OAuth retirements still wait for 20 February, two weeks later.
- 19 to 20 Feb 2027Production upgrade: 510 instancesAbout three quarters of production, plus non-preview sandboxes. Salesforce to Salesforce stops working with this upgrade.
- 20 Feb 2027OAuth username-password and user-agent flows retiredFixed date for every org, whatever its upgrade weekend. grant_type=password and response_type=token stop working.
- 25 Mar 2027Instanced URLs: last production window endsAll remaining production instances enforced.
These are the Spring '27 major release windows published on Salesforce Trust, counted by distinct instance, as of 24 November 2026:
| Date (UTC) | Sandbox instances | Production instances |
|---|---|---|
| 9 January 2027 | 196 | 32 |
| 16 January 2027 | 0 | 11 |
| 6 February 2027 | 0 | 127 |
| 19 February 2027 | 18 | 53 |
| 20 February 2027 | 130 | 457 |
Those are the window start times as Salesforce Trust publishes them, which is UTC. Read them in your own timezone before planning around them, because for anyone west of UTC the local date can be a day earlier, and for New Zealand the 19 February windows start on the morning of 20 February.
Four things about that table are worth reading carefully.
Salesforce Help says 8 and 9 January, and Trust says 9 January. Both are right, for the same reason as last release. The earliest preview windows begin at 02:00 UTC on 9 January, which is 6:00 PM Pacific on 8 January. What binds you is neither date but the cutoff 24 hours before it.
32 production instances upgrade on preview day. For those orgs, preview sandboxes and production take Spring '27 on the same weekend, so there is no testing window at all. The 11 instances on 16 January get one week. If you are on either, you are testing in production or not testing, so check your instance now rather than in January.
The February weekends are where the volume is. 127 production instances upgrade on 6 February, and 510 across 19 and 20 February. That last figure is about three quarters of production, and it is the same weekend both OAuth retirements enforce.
Non-preview sandboxes upgrade on 19 and 20 February, alongside most of production. If your only sandbox is non-preview, you have no window, and the fix (a refresh before the cutoff) has to happen before the end of the year.
To find your date: open Setup, then Company Information, and note your instance. Then look that instance up on Salesforce Trust Status and open its maintenance schedule. Setup, then Release Updates, shows the enforcement status of each update as it applies to your org specifically.
Due before Spring '27
Salesforce keeps a separate section for updates "Scheduled To Be Enforced Before Spring '27". These have fixed dates rather than upgrade weekends, and several fall inside or before the preview window.
| Item | Date | Detail |
|---|---|---|
| Restrict the OAuth 2.0 Device Flow to Local External Client Apps | 30 November 2026 | Device flow restriction |
| Maintain Your Email Verification Exception | 1 December 2026 | Email change verification |
| Migrate to an Easier Way to Require Single Sign-On | Sandboxes 7 to 18 January 2027, production 4 to 20 February 2027 | Below |
| Finish Preparing for MFA, previously exempt users, phishing-resistant MFA, and report export step-up | The date in your org's release update | Revised MFA dates |
The first two are already enforced or due within days of this post, so if you have not acted on them, those two posts are the place to start.
The four "Finish Preparing" updates apply only to orgs that received an extension. If your org was granted more time for MFA, exempt users, phishing-resistant MFA for privileged users, or step-up on report exports, the release update in your Setup shows your enforcement date and includes a self-service tool to request another extension. If you have no extension, you will not see them.
The SSO migration needs a closer look. It applies only to orgs that require SSO through the legacy configuration, which combines org-wide SSO settings with the Is Single Sign-On Enabled user permission. Salesforce migrates those orgs to a new Single Sign-On Required permission and assigns it to every existing SSO-only user. Delegated authentication is out of scope, and so is any org that does not require SSO. Salesforce says it does not expect disruption, and users who were SSO-only stay SSO-only. Two things change that your support team will see: SSO-only users who try a username and password get a new, clearer error message, and Login History records a new status. After migration the legacy settings can no longer be edited.
The timing is what makes it worth a note. Salesforce migrates sandboxes between 7 and 18 January 2027, starting the same day as the preview cutoff, and production between 4 and 20 February 2027, a window that opens before the 6 February upgrade weekend and closes on the day both OAuth retirements enforce. These windows already moved once, on 17 November 2026. A self-service extension is available in the release update. To see whether it applies to you, start from the Single Sign-On Settings page rather than the permission, as step 4 of the action plan below explains. The full walkthrough is in Salesforce Migrates Legacy SSO-Only Users to Single Sign-On Required.
The eight security changes, and which ones wait for your upgrade
Arrive with your upgrade weekend: guest user PII masking, non-public fields in Aura responses, Salesforce Connect cross-org legacy authentication, and the View Setup Audit Trail permission.
Run on their own clocks: the OAuth username-password retirement and the OAuth user-agent retirement on 20 February 2027, instanced URLs by instance from 12 January to 25 March 2027, and the SOAP login() version retirement in Summer '27.
The rule used to sort them is simple. A change counts as security relevant here if it changes who can authenticate, how they authenticate, or what data they can see. That leaves out the retirements and behaviour changes that break things for other reasons, which are covered further down.
1. OAuth 2.0 username-password flow retirement
Status: enforced on 20 February 2027, a fixed date. Salesforce states it "was scheduled to be enforced in Winter '27, but we postponed the enforcement date to February 20, 2027". It does not wait for your Spring '27 upgrade.
What breaks: Any connected app integration that authenticates by posting grant_type=password with a username, password and security token stops receiving an access token.
How it fails: Completely and silently, server to server. Nothing appears in the Salesforce UI.
Who is exposed: Older orgs with long-running integrations. New orgs already block this flow by default.
Where to look: Setup then Release Updates for Salesforce's own assessment, Login History for the OAuth Username-Password login subtype, and Connected Apps OAuth Usage.
Full detail, including the migration paths to client credentials and JWT bearer, is in Salesforce Retires the OAuth Username-Password Flow on 20 February 2027.
2. OAuth user-agent and hybrid user-agent flow retirement
Status: enforced on 20 February 2027, a fixed date. First available in late Summer '26.
What breaks: Browser and mobile apps that request response_type=token and receive the access token in the URL fragment. The replacement is the web-server flow or hybrid web-server flow with PKCE.
How it fails: At login, for users. Unlike the username-password retirement, this one shows up as somebody who cannot sign in to an app, so it gets reported quickly. The risk is the reverse: it gets reported by users on Monday morning rather than caught by you in January.
Why it pairs with item 1: The two retirements hit opposite halves of an estate on the same day. Username-password is server to server, user-agent is browsers and mobile apps. Teams that audit one tend to assume they have covered both.
Full detail in Salesforce Retires the OAuth User-Agent Flows on 20 February 2027.
If you are not sure which flow an integration uses, or what to move it to, answer the questions below. The path you take shows the replacement flow and the date it has to be done by.
What is authenticating to Salesforce?
Four changes, three dates
Start at the top. Each answer opens the next question, and the panel tells you the flow to move to and the date your path hits.
- 30 November 2026Device flow restricted to local external client apps
- 20 February 2027Username-password (ROPC) flow retired
- 20 February 2027User-agent and hybrid user-agent flows retired
- Summer '27All connected apps migrate to external client apps
3. Update Instanced URLs in API Traffic
Status: enforced by instance, not by release. Production windows run 12 to 14 January, 26 to 28 January, 2 to 4 March and 23 to 25 March 2027. Sandboxes were enforced in October and November 2026.
What breaks: API calls to an instanced hostname such as na139.salesforce.com that no longer matches the instance your org sits on.
How it fails: Silently, at the network layer, before authentication is attempted.
Why it matters for Spring '27: The two January windows fall inside the preview window, before most production orgs have taken the release. If your instance is in one of them, your enforcement date comes before the release reaches you. Your sandboxes have already been enforced, so any sandbox integration that broke in late October or early November and was quietly fixed is a clue to what will break in production.
The useful part: A My Domain setting blocks this traffic on demand, so you can cut over on a weekday morning of your choosing and stop tracking the window.
Full detail in Salesforce Stops Supporting Incorrect Instanced URLs in API Traffic.
4. Conceal Personal Information Fields from Guest Users
Status: enforced with your Spring '27 upgrade. First available in Winter '27.
What changes: Enforcement turns on Independent Guest Field Masking and adds a Guest_PersonalInfo_EPIM field set, so you can hide fields from guest users without changing what portal users see.
How it fails: Mostly it doesn't. In an existing org the new guest field set starts as a copy of the current one, so enforcement changes nothing visible, and the protection the update exists to give you only arrives once you edit the field set.
Full detail in Salesforce Spring '27 Conceals PII from Guest Users.
5. Remove Non-Public Fields from Custom Object Data in Aura Action Responses
Status: enforced with your Spring '27 upgrade. First available in Summer '26.
What breaks: Aura and Lightning components that read internal system fields that were never part of the public API. Salesforce filters those fields out of the response, and the component receives undefined.
How it fails: In the browser only, as a JavaScript error or a blank where data used to be. No deployment, Apex test or static scan will catch it, because the server side is working as designed.
What to do: Turn on the Test Run in a preview sandbox and click through the components that process custom object data. This is manual testing, so it needs time booked rather than a pipeline run.
Full detail in Salesforce Strips Non-Public Fields from Aura Action Responses in Spring '27.
6. Salesforce Connect cross-org adapter legacy authentication
Status: retired with your Spring '27 upgrade.
What breaks: Cross-org adapter external data sources that authenticate with the password or OAuth 2.0 methods. Salesforce's reason is that both "rely on the SOAP login() call, which is being retired". The replacement is named credentials, which the cross-org adapter now supports.
How it fails: External objects backed by that data source stop returning rows. Expect the symptom on external object pages and related lists, not as a login failure, so the cause is not obvious from what users report.
Who is exposed: Multi-org estates that read records from one org into another as external objects. It is a different feature from Salesforce to Salesforce, which retires on the same weekend, so check for both.
What to do: In Setup, open External Data Sources, find any with the type Salesforce Connect: Cross-Org, and check the authentication on each. Migrate to a named credential, ideally the modern format rather than a legacy one. See Migrating legacy Named Credentials.
7. View Setup Audit Trail permission
Status: enforced with your Spring '27 upgrade.
What changes: Access to Setup Audit Trail moves behind a dedicated View Setup Audit Trail permission. Salesforce automatically enables it on every profile and permission set that already has View Setup, so existing access is preserved. Admins are not affected.
How it fails: Only for things created after enforcement. A new profile, permission set or user that needs audit trail access has to be given View Setup Audit Trail explicitly. The likely casualty is the auditor or compliance reviewer provisioned in March who can see Setup and not the audit trail.
What you gain: A least-privilege improvement you can use. People who only need the audit trail, such as internal audit or a security reviewer, no longer need the broader View Setup permission. Once the update is enforced, check who holds View Setup purely to read the audit trail and narrow them to the new permission.
8. SOAP API login() in versions 31.0 to 64.0
Status: listed under Spring '27, effective in Summer '27. The Release Updates page places it under "Scheduled to Be Enforced in Spring '27". Its own page says: "You can continue to use login() in SOAP API versions 31.0 through 64.0 until Summer '27 is released."
What breaks: Applications calling login() against SOAP API versions 31.0 to 64.0. Requests fail with an error saying the login() endpoint has been deactivated. Salesforce's direction is to move authentication to external client apps.
Why it is here: The Test Run is already available, and it disables SOAP login() in the org where you enable it. A sandbox with that Test Run on is the cheapest way to find every client still using SOAP login(), months before it matters. It disables the call outright, current API versions included, so use a sandbox nobody else is depending on that week.
This is separate from the Winter '27 change that requires the Use Any API Auth permission for SOAP login(). That one controls who may call it. This one removes the old versions it can be called against. See Use Any API Auth for SOAP login().
The other five, which still break things
Five Spring '27 release updates fall outside the security rule above. Three of them can still break something in production.
Salesforce to Salesforce is retired with your upgrade weekend and stops working in every org. There is no extension and no migration tool. One query tells you whether you use it, covered in Salesforce to Salesforce Stops Working in Spring '27.
Update Apex Code and Flows for Changed Sharing Recalculation Behavior. After large-scale changes to groups or roles, Salesforce now recalculates some sharing asynchronously. Salesforce says it affects an org only if all three of these are true: large data volumes with very high ownership skew (for example, a single user owning hundreds of thousands of records of one object), Apex or flows that change group membership or roles, and logic that expects the updated share records to exist immediately afterwards. If you have a data-skew problem, you probably already know, and Large Data Volumes: When a Query Stops Being Selective covers the territory. Apex tests that assert on share records straight after a role change are the place this will show first.
Roll Back Platform Event Trigger Transactions on Unhandled Exceptions. When a platform event Apex trigger throws an unhandled exception, Salesforce now rolls back the transaction, so partially written records are no longer committed. This is a correctness fix and usually a welcome one. The catch is any trigger that writes a log or error record and then lets the exception escape: that record now rolls back with everything else. Check that your platform event triggers catch, log and handle rather than relying on a partial commit.
Render Visualforce Pages as Accessible (Tagged) PDFs (Beta). Pages using renderAs="pdf" move to the accessible rendering engine and produce tagged PDF/UA output. Not a security change, but anything that generates customer-facing documents, such as quotes and invoices, is worth regenerating once in preview to check the layout.
Enable Accessibility Enhancements for To Do Lists and Lightning Dual Listboxes When Zoom Is Greater Than 200%. Part of Salesforce's WCAG 2.2 Resize and Reflow work. Worth a look if you have users working at high zoom, and not a security item.
The full list, and why other lists differ
Salesforce's Release Updates page, under "Scheduled to Be Enforced in Spring '27", lists 13 items:
| Item | Security relevant | When it actually enforces |
|---|---|---|
| Conceal Personal Information Fields from Guest Users | Yes | Your Spring '27 upgrade |
| Enable Accessibility Enhancements for To Do Lists and Lightning Dual Listboxes When Zoom Is Greater Than 200% | No | Your Spring '27 upgrade |
| OAuth User-Agent and Hybrid User-Agent Flows Retirement | Yes | 20 February 2027 |
| Remove Non-Public Fields from Custom Object Data in Aura Action Responses | Yes | Your Spring '27 upgrade |
| Render Visualforce Pages as Accessible (Tagged) PDFs (Beta) | No | Your Spring '27 upgrade |
| Retirement of OAuth 2.0 Username-Password Flow for Connected Apps | Yes | 20 February 2027 |
| Roll Back Platform Event Trigger Transactions on Unhandled Exceptions | No | Your Spring '27 upgrade |
| Salesforce Connect Cross-Org Adapter Legacy Authentication Is Being Retired | Yes | Your Spring '27 upgrade |
| Salesforce to Salesforce Is Being Retired | No | Your Spring '27 upgrade |
| SOAP API login() Call in SOAP API Versions 31.0 Through 64.0 Is Being Retired | Yes | Summer '27 |
| Update Apex Code and Flows for Changed Sharing Recalculation Behavior | No | Your Spring '27 upgrade |
| Update Instanced URLs in API Traffic | Yes | By instance, 12 January to 25 March 2027 |
| View Setup Audit Trail Permission to Access Setup Audit Trail | Yes | Your Spring '27 upgrade |
Three things fall out of that table.
A heading is not a date. Four of the 13 items do not enforce on your Spring '27 upgrade weekend at all. Lists built by copying the heading will tell you the SOAP version retirement is a Spring '27 problem, when Salesforce's own page for it says Summer '27. They will also tell an org on the 6 February window that its OAuth integrations break on 6 February, when they break two weeks later.
The count depends on what you call security. S2S, sharing recalculation and the platform event rollback can each break production, which is why some lists include them. The rule used here, a change to who can authenticate, how, or what they can see, puts them outside. Either way, they are all in this post.
The release notes are not out yet. As of late November, this list comes from the Winter '27 release notes' Release Updates page. The Spring '27 notes normally publish in December, and items can move between now and then. Last release, three changes moved out of Winter '27 after the first lists were written.
That said, do not build your plan from anybody's list, including this one. Release Updates appear on your own page only when they are relevant to the features your org uses. Open Setup, then Release Updates, in your own production org, and work from that.
Your admin action plan
Everything below can be done in your current org, on Winter '27, unless a step says preview sandbox. The steps are in deadline order. Each one says where to go, what to run, and what done looks like, so you can hand a step to somebody else and know when it is finished.
The queries run in the Developer Console query editor (the gear icon, then Developer Console, then the Query Editor tab), or from a terminal with sf data query --query "..." --target-org yourorg.
Step 1: Get your dates (15 minutes, do it today)
- Open Setup, then Company Information, and note the Instance value.
- Search for that instance on Salesforce Trust Status, open the Maintenance tab, and note the Spring '27 Major Release date.
- Find your instance in the production windows table in the instanced URL post and note that date too.
- Open Setup, then Sandboxes, and read the Release Type column. Note which sandboxes say Preview.
- Open Setup, then Release Updates, and take a screenshot of the list. That is your scope. Anything in this post that is not on it does not apply to your org.
Done when you can write down four things: your upgrade date, your instanced URL window, 20 February 2027 for OAuth, and the name of your preview sandbox.
Step 2: Secure a preview sandbox (before your last working day of 2026)
If no sandbox says Preview, refresh one now. A full or partial copy sandbox can take days, and any sandbox still copying at 6:00 PM PT on 7 January is reset to a non-preview instance.
If a sandbox already says Preview, do not refresh it after the cutoff. Tell your team in writing, because a routine refresh in the first week of January is the most common way to lose the window.
Done when one sandbox shows Release Type Preview and its refresh has completed.
Step 3: Find every integration using a retiring OAuth flow (by mid-January)
This covers both 20 February retirements.
- Open Setup, then Login History. Create a new list view filtered on Login Subtype equals OAuth Username-Password, then a second one for OAuth User-Agent and OAuth User-Agent for Hybrid Apps. Each row is a login that stops working on 20 February.
- For a longer view than the list shows, run this and look up each application in the results:
SELECT Application, UserId, COUNT(Id) Logins, MAX(LoginTime) LastSeen
FROM LoginHistory
WHERE LoginType = 'Remote Access 2.0'
AND LoginTime = LAST_N_DAYS:180
GROUP BY Application, UserId
ORDER BY MAX(LoginTime) DESC
- If you have code in a repository, search it for the user-agent flow:
grep -rniE "response_type=token" --include='*.js' --include='*.ts' --include='*.html' --include='*.page' --include='*.cmp' .
- Put every hit in a spreadsheet with four columns: integration, owner, current flow, replacement flow. The flow picker above fills in the last column.
- Email every vendor on the list now. Vendors are the slowest part of this, and late January is too late to start.
Done when every row has a named owner and a replacement flow, and every vendor has replied with a date.
Step 4: Check whether the SSO migration applies to you (before 7 January)
Start with the settings, because delegated authentication uses the same Is Single Sign-On Enabled permission, so a list of users holding it does not prove your org is in scope.
- From Setup, open Single Sign-On Settings.
- Check whether Disable login with Salesforce credentials is turned on, and whether Delegated Gateway URL is empty.
- If the setting is off or the gateway URL has a value, the migration does not apply, and you can skip the rest of this step.
If both match, run this to see who will be migrated:
SELECT Assignee.Username, PermissionSet.Label
FROM PermissionSetAssignment
WHERE PermissionSet.PermissionsIsSsoEnabled = true
AND Assignee.IsActive = true
No rows means nobody is SSO-only, so there is nothing to migrate. If there are rows, check that every user on the list should be SSO-only, then tell your support desk that from the migration window (7 to 18 January in sandboxes, 4 to 20 February in production) those users will see a new error message if they try a password, and Login History will record "Denied: Single Sign-On Required". Nothing else changes for them.
Done when each org is confirmed out of scope, or you have a reviewed user list and a note to the support desk with both windows.
Step 5: Fix hardcoded instanced URLs (before your instanced URL window)
Search integration code and middleware configuration for hostnames like na139.salesforce.com:
grep -rnE "https://(na|ap|eu|cs|um|gs)[0-9]+\.salesforce\.com" . \
--include="*.java" --include="*.js" --include="*.py" \
--include="*.json" --include="*.xml" --include="*.yml" --include="*.properties"
Replace each hit with your My Domain URL, then turn on the My Domain block setting in production on a weekday morning of your choosing, as described in the instanced URL post. Your sandboxes were enforced in October and November, so any sandbox integration that broke then and was patched is a strong hint about production.
Done when the block setting is on in production and a full integration cycle has run cleanly.
Step 6: Check the upgrade-weekend items (during preview)
Do these in the preview sandbox.
- Salesforce to Salesforce. Run
SELECT ConnectionId, Status, COUNT(Id) shared, MAX(StartDate) lastAccepted FROM PartnerNetworkRecordConnection GROUP BY ConnectionId, Status. Any rows mean you use it, and the S2S post has a picker for the replacement. - Cross-org adapter. Open Setup, then External Data Sources, and look for the type Salesforce Connect: Cross-Org. Switch each one to a named credential and open an external object page to confirm records still load.
- Aura components. Turn on the Test Run for Remove Non-Public Fields in Release Updates, then log in as a standard user and click through every custom component that shows custom object records. Watch for blanks and errors.
- Guest users. Open Setup, then User Management Settings, and turn on Independent Guest Field Masking. Then open Object Manager, User, Field Sets, Guest_PersonalInfo_EPIM, and remove anything guests should not see. Load your public site pages as a guest and check them.
- Setup Audit Trail. List who reads Setup without being an admin, which is where the new permission lets you narrow access:
SELECT Assignee.Username, PermissionSet.Label
FROM PermissionSetAssignment
WHERE PermissionSet.PermissionsViewSetup = true
AND PermissionSet.PermissionsModifyAllData = false
AND Assignee.IsActive = true
Done when every item above is either confirmed unused or tested in the preview sandbox with a fix deployed there.
Step 7: Find old SOAP clients (any time before Summer '27)
In a sandbox nobody else is relying on that week, turn on the Test Run for SOAP API login() Call in SOAP API Versions 31.0 Through 64.0 Is Being Retired. The Test Run disables SOAP login() completely, so every integration that still uses it fails in that sandbox. Note each one, then turn the Test Run off.
Done when you have a list of SOAP login() clients and an owner for each, even though the deadline is Summer '27.
Using the preview window
If your production instance upgrades on 19 or 20 February, preview gives you six weeks. If it upgrades on 6 February, four. On 16 January, one. On 9 January, none, so check your date before you plan around this schedule.
Before the cutoff (now to 31 December):
Work through steps 1 to 5 of the action plan above, because none of them needs Spring '27 to exist.
Then sort out your sandboxes. Salesforce recommends requesting a create or refresh at least a week before the 7 January cutoff, because the queue backs up and any sandbox still copying at the cutoff is reset to a non-preview instance. A week before the cutoff is 31 December. For teams in New Zealand and Australia that is inside the summer shutdown, so the practical deadline is your last working day of 2026. Check the Release Type column under Setup, then Sandbox, to see which instance each sandbox is on.
Week 1 of preview: the fixed-date OAuth retirements.
Test the username-password and user-agent retirements first, because they enforce on 20 February no matter what, they fail completely, and their fixes take the longest when a vendor is involved. Switch off the username-password flow under OAuth and OpenID Connect Settings in the sandbox to force that failure early, and run a full integration cycle, not just the daily jobs. For the user-agent flows, test each app's replacement web-server login with PKCE end to end. If your instance is in a January instanced-URL window, enable the My Domain block setting in the same week.
Week 2: the upgrade-weekend breakers.
Turn on the Test Run for non-public Aura fields and click through custom components as a standard user. Switch any cross-org adapter data source to a named credential and confirm external objects still load. Confirm your S2S replacement is carrying the traffic.
Week 3: the quiet ones.
Edit the guest PII field set rather than accepting the copy. Create a test permission set for an auditor role and confirm it needs View Setup Audit Trail explicitly. If the sharing recalculation update applies to you, run the Apex tests that touch roles and groups. Regenerate any Visualforce PDFs customers receive.
Week 4: the long-interval jobs.
The monthly and quarterly integrations will not have run in weeks 1 to 3. List anything in your scheduler with an interval longer than a week and trigger it manually, or verify its authentication by inspection.
Week 5: fix and re-test.
Deploy fixes to the sandbox and run the whole cycle again. Test the negative cases, particularly that SSO-only users still cannot log in with a password and see the new error message.
Week 6: production preparation.
Schedule the production cutovers you control for weekday mornings in the week before 19 February, with owners available and a rollback plan. Cutting over early means the 20 February weekend carries only the changes you could not control.
The sequencing principle is that you test the fixed-date changes before the upgrade-weekend ones, and the total failures before the partial ones. A blank field in a guest page is a bad afternoon. A payroll integration that has not authenticated since Saturday is a different kind of problem.
If you want the inventory step automated rather than done by hand, our open-source sf-audit plugin (sf plugins install @cclabsnz/sf-audit) inventories connected apps, OAuth scopes, integration users and privileged access in one command. See Catch Salesforce security gaps in one command.
What your users will see
Most of Spring '27 is invisible to end users. Two messages are worth sending, to different audiences.
To everybody, close to your upgrade date:
Salesforce updates its platform three times a year, and our next update lands in February. Most of what is changing happens behind the scenes and you should notice nothing at all. If an app that signs in to Salesforce stops letting you log in, or a screen you rely on stops showing something you need, tell us rather than working around it.
To the people who own reports and dashboards fed by other systems:
On 20 February Salesforce retires two older ways that connected systems sign in. We are moving our integrations ahead of that date. If a report or dashboard of yours is fed from another system, please keep an eye on whether the data still looks current through late February. There will be no error message if something goes wrong. The symptom is data that quietly stops refreshing, so a quick "this looks out of date" is the fastest way for us to catch it.
The second message matters more. The people who would notice a stale number are already looking at it every day. Telling them that silence is the failure mode turns them into your monitoring.
Frequently Asked Questions
Q: When exactly does my org upgrade to Spring '27?
A: Look up your instance on Salesforce Trust Status and check its maintenance schedule. Trust lists five Spring '27 major release dates in UTC: 9 January, 16 January, 6 February, 19 February and 20 February 2027. About three quarters of production instances are on the 19 and 20 February weekend. Setup, then Release Updates, shows the enforcement date for each update as it applies to your org.
Q: Do the OAuth retirements happen on my upgrade weekend?
A: Only if your upgrade weekend is 19 and 20 February. Both the username-password and the user-agent retirements enforce on the fixed date of 20 February 2027, regardless of when your instance upgrades. An org on the 6 February window upgrades first and loses those flows two weeks later, on a weekend with no release attached to it.
Q: Is SOAP login() being retired in Spring '27?
A: Not for most purposes. The release update for SOAP API login() in versions 31.0 to 64.0 is listed under Spring '27 on the Release Updates page, but its own page says you can keep using those versions until Summer '27 is released. The Test Run is available now, so use a preview sandbox to find old clients early. Note that the Salesforce Connect cross-org adapter loses its password and OAuth 2.0 authentication in Spring '27 because those methods rely on SOAP login().
Q: We have no preview sandbox. What are our options?
A: Create or refresh one before 6:00 PM PT on 7 January 2027, and request it at least a week earlier, because the copy has to finish before the cutoff rather than just be requested by it. If that is not possible, focus on what you can verify without Spring '27 present. The username-password flow can be switched off in a sandbox today, the SOAP version retirement has a Test Run, and the My Domain block setting for instanced URLs exists in your current org.
Q: Does the SSO migration change who can log in?
A: Salesforce says no. Orgs that require SSO through the legacy configuration are moved to a new Single Sign-On Required permission, which is assigned automatically to every existing SSO-only user, and those users still cannot log in with a username and password. What changes is the error message they see if they try, and a new status in Login History. Salesforce migrates sandboxes between 7 and 18 January 2027 and production between 4 and 20 February 2027, and a self-service extension is available in the release update.
Q: Does any of this affect our MFA position?
A: Only if your org received an extension. The four "Finish Preparing" release updates cover MFA for employees, previously exempt users, phishing-resistant MFA for privileged users, and step-up authentication on report exports, and they appear only in orgs that were granted more time. Each shows your enforcement date and offers a self-service tool to request another extension. The background is in Salesforce MFA enforcement paused: the revised dates.
Key Takeaways
- The sandbox cutoff is 6:00 PM PT on 7 January 2027, which is 3:00 PM on 8 January in New Zealand. Request your refresh a week earlier, which for most of the Pacific means before the summer shutdown.
- Spring '27 lists 13 release updates and eight are security relevant, but only four of those arrive with your upgrade weekend: guest PII masking, non-public Aura fields, cross-org adapter authentication and the View Setup Audit Trail permission.
- Both OAuth retirements enforce on 20 February 2027, a fixed date, which is also the upgrade weekend for about three quarters of production instances.
- A heading is not a date. The SOAP
login()version retirement is listed under Spring '27 and takes effect in Summer '27, and instanced URLs enforce by instance from January to March. - Build your plan from Setup, then Release Updates, in your own org, because the set of updates that applies varies by org and no published list is correct for everyone.
What's Next?
Recommended Reading:
- Salesforce Winter '27 Security Readiness
- Salesforce Retires the OAuth Username-Password Flow on 20 February 2027
- Salesforce Retires the OAuth User-Agent Flows on 20 February 2027
- Salesforce to Salesforce Stops Working in Spring '27
Action Items:
- Look up your instance on Trust Status to get your upgrade date, and open Setup then Release Updates to get the list that actually applies to your org.
- Confirm you have a preview-eligible sandbox, and request any refresh before your last working day of 2026.
- Work through steps 3 to 5 of the action plan before preview begins: retiring OAuth flows, the SSO check, and hardcoded instanced URLs.
Resources & References
- Release Updates, including the "Scheduled to Be Enforced in Spring '27" list (Salesforce Help)
- Salesforce Sandbox Preview Instructions (Salesforce Help) is the source for the 7 January 2027 cutoff
- Migrate to an Easier Way to Require Single Sign-On (Salesforce Help)
- SOAP API login() Call in SOAP API Versions 31.0 Through 64.0 Is Being Retired (Salesforce Help)
- Update Apex Code and Flows for Changed Sharing Recalculation Behavior (Salesforce Help)
- Salesforce Trust Status (find your instance's release date) is the source for the five upgrade dates in this article
- Catch Salesforce security gaps in one command
Responses
Checking your session.
Loading responses.