
Document ID is automatically generated by system in each tenant when the document is uploaded. It is unique and cannot be changed by users.
So, I suggest you use embedded link, such as https://xyz.com/sites/test/Shared%20Documents/test.docx in the document.
To bulk edit embedded link in the document, you could try to use VBA.
Please start a new discussion with Office Development so that you can get dedicated support on this issue.
If the answer is helpful, please click "Accept 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.