How to Fix Microsoft Access Error -3151 Salesforce ODBC Connection Failed
Question details
Users need a solution to restore their Salesforce database connections in Microsoft Access after experiencing an ODBC failure.

- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- Attempting to access or refresh linked Salesforce tables in Microsoft Access after a Microsoft 365 update.
- Observed behavior
- The built-in Salesforce ODBC connector fails and displays Error -3151. Standard troubleshooting methods like refreshing links or checking security tokens do not resolve the issue.
Before modifying your Office installation, ensure you save any open databases and keep your Microsoft 365 account credentials handy, as applying updates or rolling back versions will require restarting the application.
Update Microsoft 365 to the Latest Version
Microsoft has released a patch for the Salesforce ODBC connector issue. Updating to Current Channel version 2408 (build 17928.20156) or later is the official fix.
Applying the latest Microsoft 365 update is the most straightforward and secure way to resolve Error -3151 without needing to use command-line tools.
Launch Microsoft Access or any other Office application. Click on 'File' in the top-left corner and select 'Account' from the side menu.
Under the 'Product Information' section, locate and click the 'Update Options' drop-down button.
Select 'Update Now' from the menu. Wait for Microsoft 365 to download and install the latest Current Channel version (build 17928.20156 or higher). Once completed, restart Microsoft Access and test your Salesforce connection.

Temporarily Roll Back Microsoft Office
If the patched update is unavailable, reverting Microsoft Office to a previous stable build (version 16.0.17726.20126) serves as an effective temporary workaround.
Verify Your ODBC Driver Source
Confirming which ODBC driver is currently active can help diagnose if the failure is tied to the built-in Microsoft connector or a third-party Salesforce driver.
Looking for a Lightweight, Bug-Free Office Alternative?
While Microsoft Access manages complex database connections, routine tasks like spreadsheet tracking, document editing, and presentations don't have to rely on heavy, update-prone software. WPS Office provides a stable, highly compatible, and completely free alternative to Microsoft Office.
- 1. Download the Installer: Visit the official WPS Office website and click the free download button.
- 2. Install WPS Office: Run the downloaded executable file and follow the on-screen instructions to complete the setup.
- 3. Open and Edit: Launch WPS Office to immediately start creating or editing your documents, spreadsheets, and presentations.

Frequently Asked Questions
Why am I suddenly getting Error -3151 when connecting to Salesforce?
This error is caused by a known bug introduced in the Microsoft 365 Version 2406 update. It specifically impacts the built-in Microsoft Access Salesforce ODBC connector, breaking active database links.
Will refreshing my linked tables fix the ODBC connection failure?
No. Standard troubleshooting methods, such as refreshing linked tables, reimporting your tables, or verifying your Salesforce token, will not bypass this error. A software update or rollback is required.
How do I stop Microsoft 365 from automatically reinstalling the broken version?
If you choose to temporarily roll back your Office version to fix the error, you must stop automatic updates. Open any Office application, go to File > Account, click on 'Update Options', and select 'Disable Updates'.




