“Links Disabled”: Fixing broken external references in SharePoint-hosted files.

The “Links Disabled” warning appears when an Excel workbook stored in SharePoint Online contains external cell formulas (such as ='[Budget.xlsx]Sheet1'!$A$1) pointing to another workbook. Excel blocks or suspends these links because the security policy restricts automatic external data connections, the underlying linked file paths are unresolvable cloud URLs, or the workbooks are being viewed in Excel for the web.

Quick Fix

To re-enable data flow, click Enable Content on the yellow security bar at the top of the worksheet, or open Data > Workbook Links (or Edit Links) and select Enable Links.

If links are permanently broken, use the Workbook Links pane to update the source location to the valid SharePoint HTTPS URL.


Step 1: Adjust Trust Center Security Settings

Excel blocks background data retrieval from linked workbooks by default to protect against external data exfiltration.

  1. Open Excel and navigate to File > Options > Trust Center.
  2. Click Trust Center Settings, then select External Content.
  3. Under Security settings for Workbook Links, inspect the configuration:
    • Disable automatic update of Workbook Links: Disables all cross-book calculation without prompting.
    • Prompt user about automatic update of Workbook Links: Displays the yellow warning bar allowing you to click “Enable Content.”
    • Enable automatic update of Workbook Links (not recommended): Updates all linked values without prompting.
  4. Select Prompt user about automatic update of Workbook Links, then click OK.
  5. If the startup warning refuses to clear even after allowing access, review Handling “External Link” update errors on Startup.

Step 2: Fix Mismatched Cloud and Local File Paths

When workbooks are migrated from a local file server (\\Server\Share\ or Z:\) to SharePoint Online, external references often break because they still point to local drive letters that do not exist in the cloud.

Furthermore, if User A links two workbooks using their local OneDrive sync paths (C:\Users\UserA\Company\Site\...), User B will receive broken link errors because their local sync folder path begins with C:\Users\UserB\....

Correcting the Source Path:

  1. Open the dependent workbook in the Excel desktop application.
  2. Go to the Data tab and click Workbook Links (in modern Office 365) or Edit Links (in older versions).
  3. In the pane, review the status of each source file. If a path reads Error: Source not found, click the source item and select Change Source (or the three dots ... > Change Source).
  4. Navigate to the source file using its SharePoint HTTPS path rather than a local hard drive path.
    • To obtain the proper cloud URL: Open the source file in SharePoint via your browser, click File > Info > Copy path, and paste this link into the file dialog (strip any trailing web parameters such as ?web=1).

If broken paths result in lookup failures across your sheets, consult #N/A across External Workbook Links.


Step 3: Handle Excel for the Web (Browser) Limitations

Excel for the web behaves differently than desktop Excel when managing external references:

  • Supported Web Links: Excel for the web can update external workbook references only if both the source file and destination file are stored within the same Microsoft 365 tenant, and the link was created using modern cloud-linking methods.
  • Unsupported Scenarios: If the formula references a closed workbook that requires legacy DDE or an absolute local path (e.g., C:\...), Excel for the web displays a warning that links cannot be updated in the browser.
  • Resolution: When working with interconnected corporate spreadsheets that do not resolve online, open both files in the Excel Desktop App using the Editing > Open in Desktop App button. Desktop Excel can resolve relative links and parse complex linked arrays that the web version cannot handle.

If your formulas return #REF! after updating file locations, see #REF! in Linked Workbooks: Broken File Paths/Shared Drive moves.


Step 4: Verify Cross-Site and Library Permissions

When files reside across separate SharePoint sites (e.g., File A is in Finance and File B is in Operations), a user opening File A must have at least View access to the specific library containing File B.

  1. If a user receives a persistent “Links Disabled” message or an authentication challenge when updating links, test their direct access.
  2. Have the user open a web browser and navigate directly to the destination library of the linked file.
  3. If they receive an “Access Denied” error, the external formulas cannot pull cached cell values through the SharePoint API. Grant read access to the source library to restore formula functionality.

Summary Checklist

  • Click Enable Content or use Data > Workbook Links to authorize external data retrieval.
  • Set Trust Center External Content settings to prompt for link updates.
  • Convert local paths (C:\Users\... or Z:\...) to canonical SharePoint HTTPS URLs.
  • Open files in the desktop application if the web interface cannot evaluate cross-workbook links.
  • Confirm users have at least View permissions to both the host and source SharePoint document libraries.