top of page

Salesforce API Access Control – Part 2 – Enabling It Without Chaos

Continued from Part 1


In Part 1, we broke down why the API Enabled permission can leave your Salesforce data expose and how API Access Control puts a guard at the door.


Salesforce API Access Control – Part 2 – Enabling It Without Chaos | Truffle Consulting

This Part 2 takes it further: setup, approvals, and the critical pitfalls you need to plan for.

How to set up API Access Control

  1. Request enablement from Salesforce Support
    1. This feature isn’t just a toggle you’ll see in every org. You need to log a case and ask Salesforce to turn on API Access Control for your org.

  2. Go to Setup > API Access Control
    1. Once enabled, you’ll find the setting in Setup.

  3. Pick your restriction option
    1. For admin-approved users, all users can only use APIs through allowlisted Connected Apps.

    2. For customers & partners, external (Experience Cloud) users are restricted to installed Connected Apps.

    3. (Optional) Allow Visualforce to override if you still have VF apps that need APIs.

“Salesforce Setup showing API Access Control options to restrict users to approved Connected Apps, with admin and external user settings | Truffle Consulting

How to allow (approve/whitelist) apps once API Access Control is enabled?

Here’s the simple flow:

Salesforce API Access Control showing apps defaulted to pre-authorized and requiring admin approval to unblock. | Truffle Consulting

The app isn’t “blocked” by default. Here’s what actually happens:

  • When you turn on API Access Control (the setting in Setup), Salesforce automatically flips all Connected Apps in your org to the policy: “Admin-approved users are pre-authorized.”

  • That means until you explicitly assign profiles/permission sets to an app, no one can use it. From the user’s perspective, it looks like the app is “blocked.”

  • On the Connected Apps OAuth Usage page, that’s why you sometimes have to Unblock an app  “Unblock” basically means “approve this app for API use and assign it to users.”

 

Most Important part, key considerations after enabling API Access Control

  1. All apps are restricted by default
    1. As soon as you enable it, every Connected App in your org flips to Admin-approved users are pre-authorized.

    2. Users will suddenly lose access unless you quickly assign profiles/permission sets to re-allow the right apps.


  2. Common Salesforce apps are included
    1. Even Salesforce’s own apps (Salesforce Mobile, Outlook integration, etc.) become “blocked” until you explicitly approve them.

    2. Make a checklist of the core apps your teams depend on and allowlist them first.

    3. Your users even won’t be able to access Salesforce Support or Trailhead. External logins may fail if their Connected App (e.g. tbid.digital.salesforce.com) is not allowlisted.

    4. You’ll need to review Experience Cloud apps and unblock the right ones.


  1. Developer Console stops working
    1. Because it runs on REST API, you’ll see “This session is not valid for use with the REST API.”

    2. Workaround: Temporarily assign Use Any API Client permission to Admins, or (better) move them to VS Code / CLI.


  2. Extra admin overhead
    1. Every new integration will require admin approval and assignment before it works.

    2. That’s by design but you need clear SOPs so business users know to request app access instead of raising urgent tickets when “nothing works.”


  3. Not a silver bullet
    1. If credentials are stolen and the user has access to an approved app, the hacker can still log in.

    2. That’s why you still need MFA, SSO, IP restrictions, and good offboarding practices.

 

Think of API Access Control as moving from a wide-open gate to a guarded entry point. It adds some admin overhead and might come with business impact, but in return you know exactly who and which apps are touching your Salesforce data.


Don’t leave Salesforce wide open. API Access Control won’t solve everything but it transforms your security posture from guesswork to guardrails.


Audit your Connected Apps. Lock the API door. Own your risk surface.


If you want a blueprint that balances speed and security, Truffle can help you move fast without breaking trust.


Contact Truffle Consulting:

Fill out our reachout form: https://www.trufflecorp.com/contact-us


References

Comments


bottom of page