Apps in Salesforce API don’t match UI and both endpoints

apiappconnected-appslightning-app-manageroauth2

I'm attempting to get a detailed list of all apps connected to my instance.

I'm looking at my UI:

  1. Lightning Experience App Manager (App Manager)
  2. Connected Apps OAuth Usage
  3. Manage Connected Apps

And API endpoints:

  1. ConnectedApp (REST API)
  2. ConnectedApplication (SOAP API)

There is no consistency. I'm at a loss to understand. Some apps appear in one and not in another. None of the sources seems to include all of them.

Can someone please explain why I see different results in each UI/endpoint? And where would you look for a definitive list of apps installed?

Best Answer

Short Answer - Most accurate information to find what apps are connected to your Salesforce org will be to visit the section Connected Apps OAuth Usage. And which endpoints they are connected is not possible to find for all types of the Connected apps.

There are various types of Connected Apps

  1. The Connected Apps you create in your Salesforce instance to allow third party to reach into Salesforce using APIs. This is what you see in Manage Connected Apps and also Lightning Experience App Manager (App Manager) You created it so you can edit and find the call back url you allow for authorization.

  2. The Connected Apps that a third party application (Like Postman, Workbench, Force.com migration toolkit) have them in their Salesforce environment and you authorized your Salesforce environment through those. This you see only in the Connected Apps OAuth Usage. No information here about from which endpoint reaching into Salesforce. You can only manage policies and revoke access.

  3. Connected App that comes Pre Installed or from a Managed package app. This you see in the Lightning Experience App Manager (App Manager). It will say Connected App (Managed Package). No information here about from which endpoint reaching into Salesforce. You can only manage policies and revoke access.

Use Event Monitoring if you want to get list of all systems reaching into Salesforce and want to track down what APIs are being uses

Related Topic