How to Keep Original ID Columns When Importing Lists to SharePoint
Question details
The user wants to retain the original database ID column without SharePoint overwriting or renaming it during a list import.

- 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 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.
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.
Import your local database table or spreadsheet into SharePoint as a new list using the standard 'Export to SharePoint' or custom import process.
Open the newly created SharePoint list, navigate to the list view, and find the column automatically named 'Old ID' by the system.
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'.
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.

Seek Advanced Guidance on Microsoft Tech Community
For complex enterprise environments where relational database mapping is critical, seeking advice from SharePoint deployment experts is recommended.
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. Open your data file: Open your exported database file (CSV or XLSX) using WPS Spreadsheet.
- 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. Save for import: Save the document in .xlsx format to ensure maximum compatibility with SharePoint's list creation tools.

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.




