Platform
External Client Apps: migrating off Connected Apps before the deadlines
The 'New Connected App' button is gone, and a staggered set of OAuth deadlines runs from late 2026 into Summer '27. The easy apps convert in App Manager. The integrations on the dying flows are a rebuild, not a migrate, and those are the ones to find first.
Open App Manager in a fresh org and the “New Connected App” button is gone. Since Spring ‘26, Salesforce disabled creating new Connected Apps by default across every org, in the Setup UI and the Metadata API both, and getting it back means a support case.
The replacement is the External Client App (ECA), and Salesforce is steering every integration onto it with a run of OAuth deadlines. They start in November 2026 and end with Connected App support winding down by Summer ‘27.
Most of your apps convert with a button in App Manager. A few cannot, because they run on OAuth flows that ECAs do not offer, and those are a re-architecture. The job this quarter is to find which is which before a deadline finds it for you.
My advice up front: inventory your Connected Apps by OAuth flow, not by name, and migrate the ones on the username-password or device flows first. The clean apps will still be there in March. The password-flow integration that nobody has touched since its author left is the one that 401s on a Saturday.
What changed, and the dates that bite
The shift has been rolling out in stages, and the dates that matter are spread across three releases. Treat these as Salesforce’s stated guidance from the Winter ‘27 release material, and confirm your own instance’s timing in your Setup before you plan around any single one.
- Spring ‘26: creating new Connected Apps is off by default, org-wide, via UI and Metadata API. A managed package that ships a Connected App still installs one. Re-enabling creation is a Salesforce support request, and Salesforce has signalled a future release where even that stops.
- November 4, 2026: in production, refresh tokens start expiring after 30 days of inactivity. A low-frequency integration that runs monthly and assumed its refresh token lived forever is what this breaks.
- November 30, 2026: the OAuth 2.0 device flow is restricted. Reports put the surviving path as a local, org-owned ECA with a localhost callback, with no setting that restores it for a Connected App. If any integration uses the device flow, read that one closely.
- Spring ‘27: the OAuth 2.0 username-password flow retires, along with the user-agent and hybrid user-agent flows. This date moved once already (it was first slated for Winter ‘27), so pin it against current release notes rather than a blog’s memory of it, this one included.
- Summer ‘27: Salesforce’s own guidance says Connected App support ends. The SOAP
login()call retires in the same window, a separate thread covered in the SOAP login permission change.
Two of these are a quiet trap because nothing in the UI warns you. A refresh token that idles out and a retired flow both surface as an auth failure in an integration log, not as a banner in Setup. The inventory is how you get ahead of them.
An External Client App is not one record
A Connected App was a single metadata record. An ECA is a small cluster of them, and the split is the first thing that trips people moving config between orgs.
The header is ExternalClientApplication (file suffix .eca, in the externalClientApps folder, available from API v59.0). Around it sit separate records for OAuth settings and for policies, and the division between those two is the design idea you have to hold on to:
- Settings are developer-owned: the protocol, callback URLs, the OAuth flows you enable, the scopes. These travel with the app when you package it.
- Policies are admin-owned and local to each org: permitted users, IP relaxation, refresh-token lifetime, session policy, pre-authorization. These do not travel. A subscriber sets them per org.
The consumer key and secret live in their own record, ExtlClntAppGlobalOauthSettings. That record is not packageable and does not belong in source control. If your deployment pipeline tried to treat a Connected App’s consumer key as just another bit of metadata, that habit has to change here: store the global OAuth settings on a stable Dev Hub org, not in your repo.
That settings-versus-policies line is the part worth internalising. Package authors keep expecting policy to ride along with the app and it never does, so a packaged ECA lands in a subscriber org with its scopes intact and its permitted-users policy blank, waiting for the admin to set it.
The migrate button, and what it does not promise
For an eligible app the path is short. Setup, App Manager, open the Connected App, click Migrate to External Client App. “Eligible” means the app is local and does not use the username-password flow. The tool builds a new ECA, and the old Connected App flips to read-only in App Manager, kept for reference.
Three things that button does not promise, and you want to know them before you click it in production.
It is one-way. There is no documented, supported path back from an ECA to a Connected App, and the read-only original is a record, not a rollback. Vendor guides disagree on whether deleting the ECA revives the old app; do not build a cutover plan that leans on that.
The consumer key behaviour is not documented clearly. Some write-ups say the running app keeps its existing key and never re-authenticates. Others say the tool mints a new key and the old one stops working. I could not find a plain statement from Salesforce either way, and the two outcomes mean very different cutover work.
Assume nothing. Migrate a representative app in a sandbox, read the ECA’s consumer key, and watch the integration user’s Login History to see whether the live token survives before you touch production.
And an empty result after migration is almost always identity, not the app. Confirm the integration user still authenticates through the new ECA in Setup, Users, Login History before you decommission anything. This is the same running-user discipline that OAuth token hygiene already demands, covered in auditing your connected app OAuth tokens.
The apps that cannot just migrate
The migrate button is for apps that already speak a flow the ECA supports: JWT bearer, authorization code, client credentials, device. The ones it refuses are the ones on the flow that is going away, and those need a plan, not a button.
The username-password flow does not exist in an ECA. An integration doing grant_type=password, or a SOAP login() with a username, password, and token, has nothing to migrate to in the ECA model. It has to be re-architected onto a different grant before it moves.
For a server-to-server job with no human in the loop, that grant is almost always client credentials, running as a dedicated integration user. You set it with isClientCredentialsFlowEnabled and a ClientCredentialsFlowUser on the global OAuth settings. The broader case for retiring password auth is in the username-password retirement playbook, and this migration is the forcing function that finally makes a team do it.
# A password-flow integration has no lift-and-shift target.
# This request stops working when the flow retires:
curl https://login.salesforce.com/services/oauth2/token \
-d grant_type=password \
-d client_id=$KEY -d client_secret=$SECRET \
-d username=$USER -d password=$PASS_PLUS_TOKEN
# Re-architect to client credentials on an ECA, run-as a dedicated user:
curl https://MyDomain.my.salesforce.com/services/oauth2/token \
-d grant_type=client_credentials \
-d client_id=$KEY -d client_secret=$SECRET
When the agent or service needs to act as the end user rather than a single integration identity, the pattern is OAuth token exchange, which is its own build and covered in letting an agent act as the user. Either way, the point holds: a dying-flow app is development work with a deadline, so it goes to the front of the queue, not the migrate-button pile.
Packaging and the sandbox gap
Two more edges catch teams that ship or test apps rather than just running them.
ECAs package with second-generation managed packaging (2GP) only. A Connected App could be packaged in 1GP or 2GP; the ECA is 2GP. An ISV still distributing a 1GP package cannot carry an ECA the old way, and the move off Connected Apps is tangled up with the move to 2GP for anyone in that position.
Local ECAs are not copied when a sandbox is cloned or refreshed. Teams report that only packaged ECAs survive a refresh; a local one has to be recreated in the refreshed sandbox, and the integration that depended on it fails silently until someone rebuilds it. If your lower environments lean on locally created apps, add “recreate the ECAs” to the sandbox refresh runbook.
One integration-specific warning worth carrying: not everything supports ECAs yet. Some first-party and vendor connectors still want a Connected App, and some vendors set migration deadlines earlier than Salesforce’s own. The vendor’s date, not Salesforce’s, is the one that takes your integration down first, so check each connector’s guidance alongside the platform timeline.
Where I would start
Build the inventory before you touch a single app. List every Connected App, and against each one record the OAuth flow it uses and the integration that depends on it. That list sorts itself into three piles.
The first pile is the dying flows: anything on username-password, device, or SOAP login(). These are rebuilds, they have the nearest deadlines, and they are the work. Start here, this week.
The second pile is clean apps on supported flows. These take the migrate button, and you can move them in a sandbox, confirm the consumer key and the login history behave, and roll through production at a measured pace. The third pile is packaged and vendor apps, where the answer depends on someone else’s roadmap and the job is to read their migration notes and schedule around them.
The deadlines are real and staggered, which is a gift: you do not have to do this in one weekend. You do have to know which of your integrations is in the first pile, because that is the one that was never a migration at all.
Understanding the basics
What is the difference between a Connected App and an External Client App?
Both let an external system authenticate to Salesforce over OAuth. A Connected App is a single, globally available record. An External Client App is a cluster of records, local and secure by default, splitting developer-owned settings (flows, scopes, callback URLs) from admin-owned policies (permitted users, IP relaxation, token lifetime). New Connected App creation has been off by default since Spring ‘26, so ECAs are the forward path.
How do I migrate a Connected App to an External Client App?
For an eligible app, go to Setup, App Manager, open the Connected App, and click Migrate to External Client App. Eligible means the app is local and does not use the username-password flow. The tool creates a new ECA and leaves the original as a read-only entry. The migration is one-way, so test a representative app in a sandbox first, and confirm the integration user still authenticates through the new ECA in Login History before decommissioning anything.
Will migrating change my consumer key and secret?
Sources disagree, and I could not find a definitive statement from Salesforce. Some report the key is preserved and the running integration never re-authenticates; others report the tool generates new credentials and the old key stops working. Because the two outcomes mean very different cutover work, migrate a sample app in a sandbox, inspect the new ECA’s consumer key, and verify the live token still works before you migrate anything in production.
When do Connected Apps stop working?
Existing Connected Apps keep working for now, but a sequence of OAuth deadlines narrows what they can do: refresh-token inactivity expiry and the device-flow restriction land in November 2026, the username-password and user-agent flows retire in Spring ‘27, and Salesforce’s guidance puts the end of Connected App support by Summer ‘27. These dates have shifted before, so confirm them against current release notes and your own instance’s upgrade schedule.
Planning a migration off Connected Apps, and not sure which integrations are a one-click convert and which are a rebuild onto a new grant? Talk to us. Inventorying OAuth flows, re-architecting the password-flow integrations, and moving the rest onto External Client Apps without an outage is exactly the work we do.