Salesforce to Salesforce goes dark on your Spring '27 upgrade weekend. Here's how to replace it
Salesforce to Salesforce (S2S) stops working in each org when that org's instance takes Spring '27, and the first production instances go on 16 January 2027. Nobody migrates it for you. We walk through finding what still depends on it, picking a replacement per connection and cutting over without duplicate records.
part 15 of 17 · Running enterprise platforms wellthe ideaS2S dies with the Spring '27 upgrade. Replace it before then
after reading, you can- Spot whether any of your orgs still use Salesforce to Salesforce, and when your instance upgrades
- Pick a replacement for each connection and know what it'll cost you
- Plan a cutover that keeps record IDs matched, so the new sync doesn't create duplicates
If two of your Salesforce orgs, or your org and a partner's, swap leads, opportunities or cases through Salesforce to SalesforcedefinitionS2S for short. One org invites another, and from then on they can send each other records. It stops working with Spring '27., that sharing stops when your instance gets the Spring '27 upgrade. The earliest production instances upgrade on 16 January 2027. Nothing migrates for you. Find out this month whether you use it, pick a replacement for each connection, and cut over before your upgrade weekend.
A built-in pipe between Salesforce orgs is being switched off, and nothing replaces it automatically
Salesforce to Salesforce, usually shortened to S2S, is an old feature that lets one Salesforce org send records to another. A manufacturer might push leads to its resellers' orgs, or a holding company might copy cases between two subsidiaries. Once it was set up, it ran quietly in the background, and engineers who've written about the retirement say plenty of companies forgot they had it. Salesforce stopped fixing it after Summer '26 and retires it in every org with the Spring '27 release. After your org upgrades, records stop moving between the two sides. Any report, rule or automation that leaned on S2S fields stops working the way it used to.
Think of a pneumatic tube between two office buildings. For years someone dropped forms in at one end and they popped out at the other. The building manager is bricking up the tube on a date that depends on which building you're in. You'll need a courier, a shared filing room or a new mail system, and somebody has to choose which one and set it up first.
- Companies sharing leads or deals with partners
- Groups running two or more Salesforce orgs
- Salesforce admins who inherited old setups
- Sales and channel leaders
- IT teams owning integrations
Why it matters to you
S2S doesn't have one switch-off date for everyone. Salesforce ties it to the Spring '27 upgrade of your instance, and Trust lists those upgrades across three weekends. Most production instances move on 6 February or on 19 and 20 February. Salesforce Trust lists a handful for 16 January. If yours is one of them, you've got about eight weeks, and the holidays sit in the middle.
The damage depends on what the shared records drive. Partner leads that stop arriving mean slower follow-up and channel partners who think you've gone quiet. Opportunities that stop syncing leave each org with its own version of the deal, and forecasts drift apart. Engineers who've written about the retirement warn that some of it fails silently. A field that used to say which partner sent a record goes blank, the rule that routed it never fires, and nobody gets an error.
You also can't buy back time. Salesforce no longer fixes S2S bugs. You can still log a case, but nobody will change the product to solve it. And Salesforce says plainly that the recommended replacements carry licence or cost impact, which means a budget conversation before anyone builds anything.
-
01 A record is shared
Someone in the publishing org forwards a lead or a case. S2S queues it and sends it in the background, so it turns up on the other side a bit later.
-
02 The other org accepts it
Changes arrive as the Connection User. Assignment rules and flows in the receiving org fire on that user.
-
03 Your instance upgrades
Spring '27 arrives on the date Trust shows for the instance. From then on S2S doesn't work in that org at all.
-
04 The S2S objects go away
PartnerNetworkConnection and the connection fields only exist while S2S is on. Code and flows that query them start failing.
-
05 Routing stops working
Rules that check which connection sent a record lose that field. Engineers who've documented this warn routing can stop without an error.
-
06 Cut over first
Move each connection to its replacement, tested in a sandbox without S2S, a few weeks before your upgrade date.
For engineers: S2S mainly runs on two standard objects. PartnerNetworkConnection holds each connection. PartnerNetworkRecordConnectiondefinitionThe S2S object with one row per shared record. It pairs your record ID with the other org's, which is why you export it before S2S goes. holds one row per shared record, with LocalRecordId on your side and PartnerRecordId on theirs. There's also a PartnerNetworkSyncLog object, and staging objects for leads and opportunities. Shared objects also carry ConnectionReceivedId, which Salesforce documents as available only while S2S is enabled, and the object reference says the same for PartnerNetworkConnection itself. So when S2S goes, these stop being queryable, and that's what breaks Apex, SOQL and Get Records elements that touch them.
What Salesforce changed, and what it recommends
How Salesforce wound it down, and what goes with it
You could no longer turn S2S on in an org. Orgs that already had it kept working.
Salesforce stopped fixing bugs in S2S. You can still log a case, but nobody will change the product to solve it.
S2S no longer works anywhere, sandboxes included. It happens per instance, on that instance's Spring '27 upgrade date.
PartnerNetworkConnection and fields like ConnectionReceivedId exist only while S2S is enabled. Expect anything that reads them to fail or come back empty.
Search Setup for Release Updates and you'll find Salesforce to Salesforce Is Being Retired. It's the quickest way to show a manager this isn't a rumour.
Published 20 November 2026, it matches each S2S use case to a replacement and lists the trade-offs. It's the best map Salesforce has published so far.
Salesforce's own retirement article sorts the alternatives by use case. Selling through partners points to Partner Cloud, sharing data across your own orgs points to Data Cloud One, and anything bespoke goes to MuleSoft Anypoint or MuleSoft for Flow. The architects' guide published on 20 November adds more, including an Experience Cloud partner site, Partner ConnectdefinitionStill in Beta. It's an add-on for Partner Cloud, and partners use it to pull the records you've approved into their own Salesforce org. (Beta) and the Salesforce Connect cross-org adapterdefinitionA Salesforce Connect option that shows another org's records on demand as external objects, without copying them.. Then it tells you to start with whichever option moves the least.
That advice matters for the budget. Engineers who've written about it note S2S cost nothing extra, and Salesforce says each alternative has some licence or cost impact and sends you to your account executive for the numbers. Before anyone picks a tool, write down what each connection actually does. If a connection turns out to be a one-way copy of a few fields, there's usually a cheaper answer than a platform purchase.
Your options, side by side
| Option | Fits when | Copies data? | Catch |
|---|---|---|---|
| Experience Cloud partner site | A partner can work in your org on records you share with them | No, partners log in to your site | Partners have no copy of their own. Salesforce suggests giving them reports on their pipeline |
| Partner Cloud | You run a channel program with onboarding, tiers and deal registration | No, builds on the Experience Cloud site | Licence cost, Enterprise Edition or higher, and program design work |
| Partner Connect (Beta) | The partner needs its own copy in its own Salesforce org | Yes, partner users export approved records | Beta add-on for Partner Cloud. Accounts, contacts, leads, opportunities and cases only. No formula, multiselect or most lookup fields |
| Salesforce Connect cross-org adapter | Users need to see the other org's data on demand, in small amounts | No, data stays in the source org | Add-on licence. Calls count against the source org's API limits. A slow source org fails the page with no retry |
| Data 360: Data Cloud One | Your own orgs need one shared view for reporting and activation | Unified in a home org | Companion orgs can't ingest or unify and draw credits from the home org |
| MuleSoft for Flow | Each org edits its own copy and an admin team will own the flow | Yes | Conflict handling and alerts are yours to design. Credits grow with record volume |
| MuleSoft Anypoint | More than two systems, transformations, or central monitoring | Yes | New subscription and skills if you don't already run it |
| Custom build (Apex, REST, CDC, Bulk API 2.0) | No product fits a missing feature, volume or cost | Yes | You own retries, duplicates, deletes, backfill and credentials |
The first question splits the field. Does the other side need its own copy of the record, or does it only need to see and work on yours? If seeing is enough, an Experience Cloud site or the cross-org adapter avoids a sync altogether, and a sync you never build can't drift. If the other side needs its own copy, you're choosing between Partner Connect, MuleSoft or a custom build, and you'll need a shared record key from day one.
Watch the beta label on Partner Connect. Salesforce lists it as Beta in the architects' guide, and the guide's own fallback, if a beta can't go into production, is MuleSoft. Partner Connect also keeps your sharing model in charge. Trailhead says it doesn't override the sharing and access levels admins set, and partners can only export records they could already reach on your partner site.
- One org invites, the other accepts. No credentials to store or rotate
- Records queue and cross over a little later
- Failed sends get retried, and whatever's left ends up in Connection History
- Changes arrive as the Connection User, and automation keys off that
- No dedup, no field ownership, no alerts anyone reads
- An integration user or a partner login you own, review and rotate
- You pick the timing. It can be a live view or a nightly load
- Retries, error alerts and an owner who gets paged
- Routing looks at a source field instead. Someone on your team owns it and can fix it
- Both sides keep the same record ID. When a send gets retried, it lands on the record that's already there
Find each connection, then find what leans on it
Engineers who've written about the retirement say many S2S setups were built years ago by an admin who has since moved on. So start by proving whether you use it at all. The connection list is the easy part. The automation that reacts to shared records is where the work hides.
# Run it in Developer Console or the sf CLI. Do every production org and every sandbox SELECT Id, ConnectionName, ConnectionStatus, ConnectionType FROM PartnerNetworkConnection # example output Reseller-West Accepted two rows back means two connections to replace Subsidiary-EU Accepted and someone has to own each one # an error that the object isn't supported means S2S isn't enabled in this org
Inventory S2S before you design anything
- 01Check every org, sandboxes too
Run the query above in each org. If it returns rows, S2S is on. You can also look in Salesforce Classic Setup: if Enable is ticked under Salesforce to Salesforce settings, it's on.
- 02Write down what each connection shares
Record which objects and fields are published and subscribed, which way they flow, who accepts them, and who owns the connection on both sides. Salesforce's architects say to start here.
- 03Export the record map now
Export PartnerNetworkRecordConnection with LocalRecordId, PartnerRecordId, Status and ConnectionId, plus PartnerNetworkSyncLog. It's where Salesforce pairs your record IDs with the partner's, and it goes away with S2S.
- 04Search your metadata for S2S fields
Retrieve Apex, flows, validation rules and reports, then search them for ConnectionReceivedId, ConnectionSentId and PartnerNetwork. Each hit needs a replacement before your upgrade, or it stops working.
- 05Ask your app vendors
Managed packages hide their code, so ask each vendor whether their package uses S2S. Some, like PTC for ServiceMax, already publish an assessment saying there's no impact.
- 06Look up your upgrade date
Search Trust Status for your My Domain or instance and open the maintenance tab. Note the date in UTC: a Friday-evening upgrade in the US can show up as Saturday.
What to do now, by role
Who does what before your Spring '27 weekend
- Ask your Salesforce admin a yes-or-no question: do we use Salesforce to Salesforce in any org? Get the answer in writing.
- If yes, ask which partners or subsidiaries are on the other end, and tell them the date before they find out on their own.
- Set aside budget. Salesforce says the alternatives carry licence or cost impact, so ask your account executive for numbers now.
- Query PartnerNetworkConnection in every org and sandbox, and list each connection with its owner.
- Export PartnerNetworkRecordConnection and PartnerNetworkSyncLog before anything changes.
- Find your instance's Spring '27 date on Trust and put it, with a cutover date a few weeks earlier, in the team calendar.
- Search Apex, flows, validation rules and reports for ConnectionReceivedId, ConnectionSentId and PartnerNetwork.
- Add an external ID field for the source record on each synced object and seed it from the export, so the new sync upserts.
- Find routing that checks ConnectionReceivedId and point it at a source field instead. The new integration fills that field in.
- Sit down with the other org's admin and decide field ownership. Then decide who gets the call when a transfer fails.
- Check what your own automation does with records that arrive as the Connection User, then plan its replacement.
- Stand up a sandbox for joint testing and switch S2S off in it. Both sides need one.
Build the replacement so the next change is boring
S2S hid its design decisions. Records arrived, a user called Connection UserdefinitionThe user that S2S changes appear under in the receiving org. Automation that reacts to it needs replacing too. changed them, and nobody had to say which org owned which field. The replacement forces those choices into the open. Make them on paper before anyone configures a tool, because most of the pain in these moves comes from two systems writing to the same record.
Today: S2S between two orgs
A typical setup. One org publishes, the other accepts, and the receiving org's automation keys off the connection fields.
After: an owned sync with a shared key
One example: MuleSoft for Flow or Anypoint between orgs. Partner-facing work may sit on an Experience Cloud site instead.
The cutover, from inventory to switch-off
- 01Retire what nobody needs
Some connections will turn out to be dead. Switch those off now, in a change window, and see who complains. Every one you drop is one less to rebuild.
- 02Choose per connection
Use the table above. Start with the option that moves the least, and go further down the list only when a requirement forces you to. That's Salesforce's own advice.
- 03Add the shared key
Create an external ID field for the source record ID on each synced object and seed it from your PartnerNetworkRecordConnection export. Without it, the first sync creates a second copy of everything.
- 04Test in a sandbox without S2S
Salesforce warns that running S2S and a replacement together is likely to create duplicates. Test with S2S off, against pass criteria set in advance: peak volume, children arriving before parents, a validation rule rejecting a record, the other org being down.
- 05Freeze, export again, switch
Pick a cutover outside business hours, a few weeks before your Trust date. Pause S2S changes, take a second export to top up the key field, then turn the new sync on.
- 06Reconcile, then clean up
Compare record counts and look for duplicates on the external ID for the first week. Once it's clean, remove the old ConnectionReceivedId logic and reports.
If it goes wrong
If records stop flowing after your upgrade, stop the drift first
There's no rolling back a Salesforce release, so the job is to stop the two orgs drifting further apart, then catch up what was missed.
- 01Confirm the causefirst hour
- Check Trust: did your instance just take Spring '27? If so, S2S is gone in that org and no setting will bring it back.
- Look for Apex and flow errors mentioning PartnerNetworkConnection or PartnerNetworkRecordConnection, and for routing that stopped assigning records.
- 02Stop the damagefirst day
- Turn off or bypass automation that now fails on S2S objects, so it doesn't block users saving records.
- Tell sales and partner teams which records won't sync for now, and give them a stopgap, like a shared report or a scheduled export.
- 03Bridge the gapfirst week
- Use your last PartnerNetworkRecordConnection export to match records across orgs. If you don't have one, match on a business key like email or deal number.
- Load the missed changes with Data Loader or Bulk API 2.0, keyed on the external ID, so nothing gets copied twice.
- 04Put in the replacementfirst month
- Stand up the replacement you'd planned, or the quickest one in the table, and test it in a sandbox before production.
- Check for duplicates on the external ID once it runs. Merge any before people start editing both copies.
- 05Record and preventafter cutover
- Write down what was missed and for how long. Partners and auditors may ask.
- Name an owner for each new sync, with alerts going to a team inbox that someone reads.
What this looks like in practice
We made these companies up. You'll probably still recognise one of them, so hold it up against your own orgs.
Three S2S estates you might recognise
- the setup
- An equipment maker forwards qualified leads from its org to eight resellers' orgs through S2S. Each reseller works the lead in its own Salesforce and the opportunity status flows back.
- what happens
- The maker's instance upgrades on 6 February. Leads stop arriving at the resellers, and status updates stop coming back. Channel managers see stale deals and resellers think the program has gone quiet.
- what to do
- Decide whether resellers can work on a partner site in your org, or need their own copy through Partner Connect or MuleSoft. Tell them the date and test with two resellers first.
- the setup
- A group runs separate Salesforce orgs for two subsidiaries. S2S copies escalated cases from one to the other, and a flow in the receiving org routes them by checking ConnectionReceivedId.
- what happens
- After the upgrade the field is gone. The routing branch stops working, escalations land in a default queue, and nobody may notice until a customer chases.
- what to do
- Ask whether the second org needs its own copy or just a view. If a view will do, the cross-org adapter avoids a sync. Either way, re-key the flow to a field you control.
- the setup
- A company still has an S2S connection set up by a former admin for a partnership that ended. Nobody on the current team knows it exists.
- what happens
- The inventory query turns it up. Sharing stopped months ago, but a report and a validation rule still reference the connection fields.
- what to do
- Export the record map for the history, switch the connection off in a change window, and remove the report and rule references. Then it's off your list.
How Cohash helps
We run the inventory in each of your orgs, export the record maps, and go through your metadata for every reference to S2S. Then we size the options per connection with your admins and partners, and build and test the replacement in a sandbox with S2S switched off. The Salesforce page and MuleSoft page cover the wider work. You can bring in Salesforce engineers for the cutover, or start with an assessment if you'd rather someone checked first.
What to take from this
- 01
S2S is fully retired with the Spring '27 release, per instance. The first production instances upgrade on 16 January 2027, preview sandboxes on 8 and 9 January.
- 02
Query PartnerNetworkConnection in every org this week. If it returns rows, you have work to do.
- 03
Export PartnerNetworkRecordConnection now. It's the map pairing your record IDs with the other org's.
- 04
Pick a replacement per connection, starting with the one that moves the least, and budget for it.
- 05
Test in a sandbox without S2S and cut over a few weeks before your Trust date, keyed on an external ID.
01When exactly is Salesforce to Salesforce retired?
It goes with the Spring '27 release, in every org, but each instance loses it on its own upgrade weekend. The earliest production instances go on 16 January 2027 and most follow in February. Preview sandboxes go first, on 8 and 9 January. Look up your instance on Trust Status to get your date.
02How do I know if we use S2S?
Run SELECT Id, ConnectionName, ConnectionStatus FROM PartnerNetworkConnection in each org. If it returns rows, S2S is on. If the object isn't available at all, S2S isn't enabled there. You can also check Salesforce to Salesforce settings in Classic Setup.
03Will Salesforce migrate our S2S connections automatically?
No. Salesforce recommends alternatives by use case but doesn't move connections for you. You design the replacement, rebuild the dependent automation and run the cutover yourself or with a partner.
04What replaces Salesforce to Salesforce?
There isn't one replacement. For partner selling Salesforce points you at Partner Cloud, and for your own orgs at Data Cloud One. Anything else goes to MuleSoft. Its architects add Experience Cloud sites, Partner Connect (Beta) and the cross-org adapter, and they say to start with whatever moves the least.
05Can we run S2S and the new integration side by side?
Salesforce says you can, but you may get duplicate records. It recommends testing in a sandbox with S2S switched off instead, then cutting over in production.
06Does the replacement cost money?
Usually, yes. Salesforce says the recommended alternatives have some licence or cost impact and asks you to talk to your account executive. A custom build avoids licences but you pay for it in build and support time.
07What happens to the record links between our orgs?
They're stored in PartnerNetworkRecordConnection, which pairs your record ID with the other org's. That object goes away with S2S, so export it now and use it to seed an external ID field for the new sync.
Three questions, about a minute
Pick an answer and we'll tell you if it's right, and why it is or isn't. The score stays in this browser.
-
Q1Trust shows our instance upgrading on 6 February. The partner's org upgrades two weeks later. When does S2S stop working for us?
show the answer
B. On 6 February, the day Spring '27 hits our instance The retirement happens per instance with its Spring '27 upgrade. Your org loses S2S on its own upgrade date, whatever the other side's date is.
-
Q2A flow in your receiving org routes cases by checking ConnectionReceivedId. What happens after your Spring '27 upgrade?
show the answer
D. Routing on that field stops working, possibly without any error ConnectionReceivedId is only available while S2S is enabled. Once S2S goes, logic that checks it stops working, and engineers warn it can happen silently. That's why you search metadata for these fields.
-
Q3You're about to build a MuleSoft sync between two orgs. Which step stops the first run from creating a second copy of every record?
show the answer
A. Seed an external ID field from your PartnerNetworkRecordConnection export and upsert on it The export pairs each local record ID with its partner ID. Seeding an external ID from it lets the new sync update the matching record. Deleting connections loses that map, and running both can create duplicates.