logo
search
SharePoint Document Issues

How to Reconnect Microsoft Access to SharePoint Lists with Smart-Card Authentication

Olivia MillerOlivia Miller Oct 9, 2026 869 views

Question details

The user needs a reliable method to reconnect a Microsoft Access database to SharePoint lists after the smart-card authentication session times out and causes the database to become unresponsive.

How to Reconnect Microsoft Access to SharePoint Lists with Smart-Card Authentication
Product
Microsoft Access
Device & OS
not provided
Scenario
Accessing a database linked to SharePoint lists that requires smart-card authentication, which frequently expires after periods of inactivity.
Observed behavior
The Access database becomes unresponsive when attempting to load data after the smart-card authentication has expired, normally requiring a manual reconnection via the External Data menu.
Before you start

Ensure your smart-card reader is properly connected to your computer and that your smart card is fully inserted before attempting to reconnect to the SharePoint server.

Solution 1Recommended

Use an Unbound Startup Form to Trigger Reconnection

Loading an unbound form at startup prevents Access from freezing and allows you to use VBA to prompt for smart-card authentication before data is queried.

When Access tries to open a bound form and the SharePoint authentication has already expired, the data fetch request hangs, causing the database to become unresponsive. By using an unbound form as your startup screen, you can safely re-establish the connection manually or automatically.

1
Create an Unbound Startup Form

In Microsoft Access, create a new blank form that is not bound to any SharePoint list or table. Set this new form as your default startup form in the Current Database options.

2
Add a Manual Reconnect Button

Add a command button to this unbound form. Open the button's On Click event and insert the VBA code 'DoCmd.TransferSharePointList' to manually trigger the SharePoint reconnection process.

3
Automate with On Timer Event

To make the process seamless, you can also place the 'DoCmd.TransferSharePointList' command inside the form's On Timer event so that the authentication prompt appears automatically when the database opens.

4
Enter Smart-Card Credentials

When the VBA code executes, Access will communicate with SharePoint and prompt you to enter your smart-card PIN to re-authenticate.

Use an Unbound Startup Form to Trigger Reconnection
Why Credentials Cannot Be Saved: Because smart-card authentication inherently requires the physical presence of the card and manual PIN entry for security compliance, Access cannot store these credentials to bypass the prompt.
Free Microsoft Office alternative

Try WPS Office as a Free Alternative for Your Document Needs

While WPS Office does not include a direct replacement for complex Microsoft Access databases, it provides a highly compatible, free, and lightweight suite for all your document, spreadsheet, and presentation needs. It is perfect for analyzing exported SharePoint list data.

  1. 1. Download the Installer: Visit the official WPS Office website to download the free installation package for your operating system.
  2. 2. Install WPS Office: Run the downloaded installer and follow the simple on-screen instructions to complete the setup.
  3. 3. Analyze Your Data: Open your exported SharePoint lists and database reports directly in WPS Spreadsheet with full formatting compatibility.
Free, lightweight, and lightning-fast office suiteExcellent compatibility with Microsoft Excel formats (.xlsx, .csv) for managing exported SharePoint dataFamiliar user interface ensuring a seamless migration from other office softwareIntegrated cloud collaboration features for secure document sharing
microsoft office alternative - wps office

Frequently Asked Questions

Why does my Access database freeze after a period of inactivity?

If your database's startup form is bound directly to a SharePoint list, Access attempts to fetch that data immediately upon opening or refreshing. When your smart-card session has expired due to inactivity, this data request hangs indefinitely, causing the application to become unresponsive.

Can I save my smart-card PIN in Access to avoid having to reconnect manually?

No. Smart-card authentication is specifically designed for high-level security and mandates the physical presence of the card along with manual PIN entry. Access cannot permanently cache these credentials.

How do I manually reconnect to a SharePoint list without using VBA code?

You can manually restore your SharePoint connection by navigating to the 'External Data' tab on the Access ribbon, clicking 'New Data Source', and selecting 'From Online Services' > 'SharePoint List'. This will manually trigger the smart-card authentication prompt.