SharePoint Document Issues

How to Keep Original ID Columns When Importing Lists to SharePoint

Algirdas JasaitisAlgirdas Jasaitis Oct 26, 2026 868 views

Question details

The user wants to retain the original database ID column without SharePoint overwriting or renaming it during a list import.

How to Keep Original ID Columns When Importing Lists to SharePoint
Product
Microsoft SharePoint
Device & OS
not provided
Scenario
Importing tables from a local database into a SharePoint list.
Observed behavior
SharePoint automatically generates its own required ID column for the new list and renames the imported original database ID to 'Old ID'.
Before you start

Before importing your data, clean up your source tables and ensure your primary key columns are explicitly named so they are easily identifiable once transferred to SharePoint.

Solution 1Recommended

Maintain the Original ID in a Separate Custom Column

SharePoint strictly requires its own auto-incrementing system ID for list items, so you cannot override it. The standard practice is to let SharePoint create its ID and keep yours in a separate column.

SharePoint's architecture uses a built-in, hidden ID column to manage list items internally. When you import external data, SharePoint cannot adopt an external ID as its internal identifier. Instead, it renames your original column (usually to 'Old ID') to prevent naming conflicts.

1
Perform the data import

Import your local database table or spreadsheet into SharePoint as a new list using the standard 'Export to SharePoint' or custom import process.

2
Locate the renamed column

Open the newly created SharePoint list, navigate to the list view, and find the column automatically named 'Old ID' by the system.

3
Rename for clarity

Click on the gear icon to open List Settings, click on the 'Old ID' column name, and rename it to something meaningful like 'Database ID' or 'Source System ID'.

4
Adjust list views

Modify your default list view to display your custom 'Database ID' column prominently, and hide the system-generated SharePoint ID if it is not required for your workflow.

Maintain the Original ID in a Separate Custom Column
System Limitations: You cannot delete the system-generated SharePoint ID column, but you can easily hide it from all user-facing views.
Free Microsoft Office alternative

Seamlessly Manage and Format Data Before Importing to SharePoint

While WPS Office cannot change SharePoint's internal ID rules, it is the perfect lightweight alternative to Microsoft Excel for cleaning, formatting, and preparing your database exports (CSV/XLSX) before migrating them to SharePoint. Enjoy a familiar interface and excellent format compatibility completely free.

  1. 1. Open your data file: Open your exported database file (CSV or XLSX) using WPS Spreadsheet.
  2. 2. Rename ID headers: Rename your original ID column header to something specific like 'Original_DB_ID' to avoid naming confusion during the SharePoint import.
  3. 3. Save for import: Save the document in .xlsx format to ensure maximum compatibility with SharePoint's list creation tools.
Highly compatible with Microsoft Excel formats (.xlsx, .xls, .csv) for seamless data preparation before SharePoint import.Advanced data filtering and formatting tools to organize your original ID columns effectively.Free, lightweight, and incredibly fast, even when handling large database exports.Familiar user interface that requires no learning curve for Microsoft Office users.
microsoft office alternative - wps office

Frequently Asked Questions

Why does SharePoint force a new ID column when importing a list?

SharePoint uses its own internal, sequential ID system to uniquely identify list items, manage relationships, and track item versions. This internal architecture means external database keys cannot replace the core SharePoint ID.

Can I delete the SharePoint-generated ID column?

No, the built-in SharePoint ID column is a mandatory system field and cannot be deleted. However, you can hide it from your list views so it does not interfere with your workflow.

How can I maintain relationships between multiple imported lists in SharePoint?

You should use Lookup columns in SharePoint that reference the custom 'Old ID' or 'Database ID' column you preserved during the data import, rather than relying on SharePoint's newly generated internal IDs.

Does SharePoint limit the number of columns I can import from a database?

SharePoint has list view thresholds and specific column limits depending on data types. Generally, you can import standard database tables seamlessly, provided they do not exceed the 5,000-item view threshold without proper indexing.