How to auto update the sharing URL after migrate SharePoint documents to a new domain

Yisheng Cao 0 Reputation points
2023-11-16T21:27:49.8133333+00:00

We are migrating the SharePoint site from one domain to a new domain(tenant).

Many documents are already shared with different systems. e.g. Jira, Confluence...

After the migration, do we need to manually modify all the existing document URLs which already been shared?

Any automation can be done for this modification?

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,567 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Sedat SALMAN 13,740 Reputation points
    2023-11-16T22:16:22.6466667+00:00

    When migrating SharePoint documents to a new domain, the URLs of shared documents will change, affecting links in systems like Jira and Confluence. To automate the update of these links, you can use PowerShell scripts or SharePoint's URL Rewrite feature. However, these methods may require customization based on your specific setup. There isn't a built-in feature in SharePoint or Azure Migrate for automatically updating external links.

    https://learn.microsoft.com/en-us/sharepoint/change-your-sharepoint-domain-name

    0 comments No comments

  2. AllenXu-MSFT 19,556 Reputation points Microsoft Vendor
    2023-11-17T06:33:08.7433333+00:00

    Hi @Yisheng Cao,

    As declared in this article: Cross-tenant SharePoint migration FAQs (Preview),

    After the SharePoint cross-tenant migration, existing shared links for files that were migrated will automatically redirect to the new target location.

    you don't need to modify all the existing document URLs which already been shared. Existing shared links for files that were migrated will automatically redirect to the new target location.


    If the answer is helpful, please click "Accept as Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.