← All articles
Action requiredWinter '27Platform / SOAP API Authentication

Action Required: Grant Use Any API Auth to SOAP login() Users

A practical checklist for locating SOAP login() callers and verifying the permission before enforcement.

Required action

Before December 1, 2026, assign the Use Any API Auth user permission to every user that authenticates with the SOAP API login() operation. Salesforce enforces this requirement uniformly across production, preproduction sandboxes, and all other org environments.[1]

Who is affected

The update applies to Lightning Experience and Salesforce Classic in all API-enabled editions.[1]

This permission requirement is specific to the login() operation; using another SOAP API operation does not by itself place a user in scope.[1]

What happens if the permission is missing

A user without Use Any API Auth can no longer authenticate through SOAP API login(); the request is rejected with an INSUFFICIENT_ACCESS error.[3] Any integration that relies on that user and operation can fail to sign in when the requirement is enforced.[1]

Find the affected users

  1. In Setup, review Login History. Look for entries where Login Type is Other Apex API or Partner Product, Login Subtype is SOAP API, and API Type is SOAP Enterprise, SOAP Partner, or SOAP Tooling. The Username identifies a user to contact about the calling client.[3]
  2. For more detail, inspect the API Total Usage EventLogFile for entries with API_FAMILY = SOAP and API_RESOURCE = login. Review entries with an empty CONNECTED_APP_ID; this can indicate SOAP login() or session-based authentication, so confirm the method with the owner.[3] All orgs can access the previous 24 hours; Event Monitoring extends access to 30 days. Older or infrequent jobs can fall outside those windows, so check schedules with owners too.[3]
  3. Map each confirmed client to the Salesforce user it uses; record its org/environment and whether the user receives permissions through a profile, permission set, or both. Include production, preproduction sandboxes, and other org environments.[1]

Grant the permission

Assign Use Any API Auth through a profile or permission set for each user you confirmed above.[1] A dedicated permission set assigned only to affected users is often easier to audit than expanding a broadly used profile; choose the method that matches your org’s access model.

Don’t grant it to other users just because they have API access.

Verify before December 1

  • In Setup, open Release Updates and read the test instructions for Assign Use Any API Auth Permission for SOAP login().[1] Run the test in a sandbox before production.
  • In a sandbox, test each affected integration with its real Salesforce user and confirm the SOAP login() authentication and a representative subsequent API request both succeed.
  • Confirm the intended profile or permission-set assignment exists in every environment, including production. This article covers only the Use Any API Auth permission gate. A separate release update retires SOAP API login() for API versions 31.0–64.0 in Summer ’27.[2] Assigning this permission does not complete that migration.

Sources

  1. Assign Use Any API Auth Permission for SOAP login() (Release Update)https://help.salesforce.com/s/articleView?id=release-notes.rn_api_soap_login.htm&language=en_US&release=264&type=5
  2. SOAP API login() Call in SOAP API Versions 31.0 Through 64.0 Is Being Retired (Release Update)https://help.salesforce.com/s/articleView?id=release-notes.rn_api_soap_login_retirement.htm&language=en_US&release=264&type=5
  3. Platform SOAP API login() Retirement & New Security Requirementshttps://help.salesforce.com/s/articleView?id=005132110&language=en_US&type=1