Salesforce is going to rollout this security change: https://help.salesforce.com/s/articleView?id=005132365&type=1&utm_source=techcomms&utm_medium=email&utm_campaign=FY26_Core_4013001
We have a managed package that is accessed from external API through connected app. So I can see the CONNECTED_APP_NAME
in Setup -> Connected Apps OAuth Usage and I see Install
button for it.
We want to avoid asking our users to click Install
for it and put our Connected App to the managed package components. We did it for beta to try, and after upgrading the package version to the beta version I see CONNECTED_APP_NAME
in the Setup -> Manage Connected Apps. Now, in the Setup -> Connected Apps OAuth Usage I see Uninstall
beside the name, BUT I get duplicate records in Setup -> Manage Connected Apps.
Is it a way to NOT see the duplication? For the clean package installation it works fine: we login to sf, allow the usage and the connected app from managed package appears already installed (as expected), the problem is only in upgrades.
UPDATE:
I have replicated the flow on three different orgs and on the one in the initial question (after reinstalling the package and upgrading it again), no more duplications: also connected app appears to be installed after upgrade of the package to the version, where connected app is inside the components.