logo
search
SharePoint Document Issues

Does SharePoint Document ID Preserve Links After Moving Files?

Kushani NimanthikaKushani Nimanthika Oct 12, 2026 870 views

Question details

The user wants to know if SharePoint Document IDs maintain persistent, unbroken links after files are moved to different folders, sites, or site collections.

Does SharePoint Document ID Preserve Links After Moving Files?
Product
SharePoint
Device & OS
not provided
Scenario
Reorganizing document libraries or moving files across SharePoint sites while needing to ensure previously shared links remain active for users.
Observed behavior
Links to moved files may break unless the Document ID Service is properly configured to provide persistent redirection URLs.
Before you start

Ensure you have Site Collection Administrator privileges in SharePoint, as enabling and configuring the Document ID Service requires administrative access.

Solution 1Recommended

Enable Document ID Service for Persistent Links

Activating this feature ensures that files receive a unique Document ID URL that survives folder and site moves within the same site collection.

The Document ID Service assigns a unique identifier to every document in the site collection. Instead of linking to the file's folder path, SharePoint provides a special redirection URL (DocIdRedir.aspx) that always locates the file, regardless of where it is moved within the supported scope.

1
Access Site Settings

Log in to your SharePoint site as an administrator, click the gear icon in the top right corner, and select 'Site information' followed by 'View all site settings'.

2
Navigate to Site Collection Features

Under the 'Site Collection Administration' section, click on 'Site collection features'.

3
Activate Document ID Service

Scroll down to locate 'Document ID Service' and click the 'Activate' button next to it. Wait for SharePoint to process this request.

4
Use the Document ID URL

When sharing documents, open the document properties and copy the specific 'Document ID' link provided, rather than copying the address bar URL.

Enable Document ID Service for Persistent Links
Cross-Site Collection Moves: Document IDs reliably persist within the same site collection. If you move files across different site collections, verify your specific SharePoint environment configuration, as cross-collection redirection depends on broader tenant settings.
Free Microsoft Office alternative

Boost Your Document Productivity with WPS Office

While SharePoint helps manage your files online, you need a robust and efficient desktop suite to open, edit, and collaborate on those documents. WPS Office is a highly compatible, lightweight, and free alternative to Microsoft Office that easily handles your enterprise files.

  1. 1. Download and Install: Visit the official WPS website to download the free installation package for your Windows, Mac, or Linux device.
  2. 2. Open Downloaded SharePoint Files: Download your files from SharePoint and double-click them to open instantly in WPS Office without formatting loss.
  3. 3. Edit and Save Seamlessly: Make your edits using the comprehensive toolset, save your work in standard Microsoft formats, and upload back to SharePoint effortlessly.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Lightweight installation that opens large, complex documents in seconds.Familiar tabbed interface requiring zero learning curve for new users.Cost-effective solution with built-in PDF editing and format conversion tools.
microsoft office alternative - wps office

Frequently Asked Questions

Why did my SharePoint link break after moving a file?

If you shared the direct URL path (which includes the folder names) instead of the Document ID URL, the link breaks because the file's path has changed. Always use the DocIdRedir.aspx link provided by the Document ID Service to prevent this.

How long does it take for Document IDs to be assigned after activation?

Once the Document ID Service is activated, a background timer job must run to assign IDs to existing files. It may take anywhere from a few hours to 24 hours for all existing documents in the site collection to receive their unique IDs.

Can I manually choose the Document ID format?

Yes. Site Collection Administrators can customize the prefix of the Document IDs by going to Site Settings > Document ID settings. You can set a custom prefix of 4 to 12 characters to help identify documents belonging to specific sites.

Do Document ID links work for external guests?

Document ID links will resolve for external guests provided the guest user has been granted the appropriate permissions to view the file in its current SharePoint location.