SharePoint 移轉工具設定SharePoint Migration Tool Settings

下表詳述 SPMT 中可用的設定。進階設定僅限由您的 IT 專業人員進行變更或管理。The following table details the settings available in SPMT. Advanced settings should only be changed or managed by your IT professional.


設定Setting 描述Description
只執行掃描Only perform scanning 如果您想要掃描檔案做為移轉前的評估,請設定為 [開啟 ]If you wish to scan the files as a pre-assessment to migration, set to On.
若未找到掃描問題,則會自動開始移轉Start migration automatically if no scan issue found 如果設為 [開啟],若未找到掃描問題,則會自動開始移轉。If set to On, migration will start automatically if no scan issues are found.
保留 SharePoint 權限Preserve SharePoint permissions 如果設為 [開啟],則將移轉來源 SharePoint 檔案、資料夾和項目的權限。If set to On, permissions on your source SharePoint files, folders, and items will be migrated.
保留權限繼承Preserve permissions inheritance 保留權限繼承。Preserve permissions inheritance.
保留檔案共用權限。Preserve file share permissions. 保留已移轉檔案的權限。Preserve permissions on the files migrated.


設定Setting 描述Description
Azure Active Directory 查閱Azure Active Directory lookup 根據預設,這個設定會設為 [開啟]。如果使用者未提供使用者對應檔案,則會使用 Azure Active Directory 作為使用者對應的預設值。By default, this is set to On. If no user mapping file is provided by the user, then Azure Active Directory is used as the default for user mapping.
自動使用者對應Automatic user mapping 使用者對應將自動完成。User mapping will be done automatically.
使用者對應檔案User mapping file By default, Azure AD lookup is used to map users when submitting migration jobs.By default, Azure AD lookup is used to map users when submitting migration jobs. 如果您希望使用自己的對應檔案,請按一下 [選擇檔案] 來選取要使用的檔案。If you want to use your own mapping file, select the file to be used by selecting Choose file. 如果您選擇使用自訂的使用者對應檔案,並想要保留使用者權限,請關閉 [Active Azure Directory 查詢]If you choose to use a custom user mapping file and want to preserve user permissions, turn off Azure Active Directory lookup. 如此一來,如果在對應檔案中找不到使用者,該工具就不會在 Azure AD 中尋找。By doing so, if a user isn't found in the mapping file, the tool won't look it up in Azure AD.


設定Setting 描述Description
移轉檔案版本歷程記錄Migrate file version history 如果設為 [關閉],則只會移轉檔案的最新版本。如果設為 [開啟],您可以選擇要保留所有版本,或限制為特定編號。If set to Off, only the most recent version of the file will be migrated. If set to On, you can choose whether to keep all versions, or limit it to a specific number.
保留所有版本Keep all versions 如果設為 [開啟],將會移轉所有檔案版本。If set to On, all versions of a file will be migrated.
要移轉的版本數Number of versions to migrate 輸入數字,以限制要移轉的檔案版本數。Enter a number to limit the number of file versions migrated.
包括隱藏的檔案Include hidden files 如果設為 [關閉],「不會」移轉隱藏的系統檔案。If set to Off, hidden system files will not be migrated.
移轉之後建立的檔案Migrate files created after 只移轉所選日期後建立的檔案。Only migrate files created after the selected date. 此設定可用於限制移轉的檔案數量,或是遵守有關檔案保留的整體公司控管政策。This setting may be used to limit the number of files migrated or to adhere to overall company governance policy regarding file retention.
移轉之後修改過的檔案Migrate files modified after 只移轉所選日期後修改的檔案。Only migrate files modified after the selected date. 此設定可用於限制移轉的檔案數量,或是遵守有關檔案保留的整體公司控管政策。This setting may be used to limit the number of files migrated or to adhere to overall company governance policy regarding file retention.
不要移轉具有這些副檔名的檔案Do not migrate files with these extensions 輸入您不想移轉的檔案類型的副檔名清單。Enter a list of file extensions of file types you do not want to migrate. 使用冒號來分隔輸入的每個副檔名。Separate each extension entered with a colon. 請勿包含點。Do not include the dot. 例如,.txt 會輸入為 txtFor example, .txt is entered as txt.
注意 若檔案有多個副檔名 (例如 .ext1.ext2),請只將最後一個副檔名,.ext2*,新增至排除清單。Note For files with multiple file extensions, for example *.ext1.ext2, add only the last extension, .ext2, to the exclusion list.
將 OneNote 資料夾移轉為 OneNote 筆記本Migrate OneNote folder as OneNote notebook
根據預設,此設定 [關閉]。By default, this is set to Off. 設為 [關閉] 時,OneNote 資料夾將會以含有檔案的一般資料夾 (而不是 OneNote 筆記本) 的形式移轉。When set to Off, OneNote folders will migrate over as a regular folder with files, and not as a OneNote Notebook. 如果設為 [開啟],則會以 OneNote 筆記本的形式移轉。If set to On, they will migrate as OneNote Notebooks. 目前,在 SharePoint 內部部署移轉筆記本的功能已停用。At this time, the ability to migrate notebooks on SharePoint on-premises is disabled.
取代無效的檔案名稱字元Replace invalid filename characters 如果設為 [開啟 ],則檔案名稱中的任何無效字元都會以您在方塊中提供的單一有效字元取代。If set to On, any invalid character found in a filename will be replaced with the single valid character you have provided in the box. 無效字元包括 *"<>:/'。Invalid characters include *"<>:/'. 如需完整清單,請參閱:OneDrive 和 SharePoint 中無效的檔案名稱和檔案類型For a complete list, see: Invalid file names and file types in OneDrive and SharePoint.

如果設為 [關閉],工具會略過名稱中包含無效字元的檔案。If set to Off, the tool will skip files whose name includes invalid characters. 在來源可能有大量包含無效字元檔案的情況下,將此設定為 [關閉] 雖然能提升效能,但也有缺點。While having this set to off can improve performance when the source potentially contains a high number of files containing invalid characters, it also has drawbacks. 為了預防惡意活動,對目的地伺服器產生 100 個以上錯誤的來源封裝會遭到封鎖,To prevent malicious activities, source packages that generate more than 100 errors to the destination server will be blocked. As a result, all valid files in that package would also be blocked.As a result, all valid files in that package would also be blocked.
篩選子網站Filter subsites 輸入您要排除在移轉之外的所有子網站名稱。Enter any subsite names you want to exclude from migration.
篩選清單與文件庫Filter lists and libraries 輸入您想要排除在移轉之外的清單和文件庫名稱。Enter the names of the lists and libraries you want to exclude from migration.
篩選內容類型Filter content type 輸入您要排除在移轉之外的內容類型。Enter the content types you want to exclude from migration.


設定Setting 描述Description
移轉網站設定Migrate site settings 僅當選定的來源為 所有清單、庫、頁和 web 組件 時,此設定才可用。This setting is available only when the source selected is all lists, libraries, pages, and web parts. 有四種選項可用:Four options are available:
保留所有設定:遷移所有支援的網站層級設定,包括標題、標誌、功能、稽核設定等。Preserve all settings: Migrate all site level settings supported, including title, logo, features, audit settings, and others.
跳過標題和標誌: 將跳過標題和標志,但將遷移所有其他網站設定。Skip title and logo: Title and logo are skipped, but all other site settings will be migrated.
僅標題和標誌: 僅標題和標誌將遷移。Only title and logo: Only the title and logo will migrate.
跳過所有設定: 不會遷移任何網站層級的設定。Skip all settings: No site level settings will be migrated.
略過已啟用選取目標對象的清單Skip list with audience targeting enabled 選擇您是否要移轉已啟用選取目標對象的 SharePoint Server 清單。Choose if you want to migrate SharePoint Server lists with audience targeted enabled.
移轉所有網站欄位和內容類型Migrate all site fields and content types 選擇是否要移轉網站欄位,即使它們不需要移轉。Choose if you want to migrate sites fields even if they aren't required for migration.
移轉受管理的中繼資料Migrate managed metadata 選擇是否要移轉網站上正在使用的所有受管理的中繼資料字詞。Choose if you want to migrate all managed metadata terms that are in use on the site.
移轉 Web 組件和網頁Migration of web parts and pages 如果目的地已存在頁面和 Web 組件,請選擇如何處理移轉。Choose how to handle migration if the pages and web parts already exist in the destination.
選擇一個:覆寫重複項重新命名重複項略過重複項不移轉Select one: Overwrite duplicate, Rename duplicate, Skip duplicate, or Do not migrate.
暫時允許遷移腳本Temporarily allow migration of scripts 此設定將自動允許指令 web 組件的遷移。This setting will automatically allow the migration of scripted web parts.
移轉網站導覽Migrate site navigation 移轉 SharePoint 中的網站或頁面導覽連結。Migrate the navigation links of a site or page in SharePoint.
使用查閱欄遷移清單Migrate lists with lookup columns 此設定控制遷移查閱欄中參照的所有清單的行為。This setting controls the behavior of migrating all lists referenced in lookup columns. 選項包括:遷移查閱欄中參照的所有清單略過遷移清單中的查閱欄,以及 僅報告具有查閱欄的任何清單的錯誤。請勿遷移。Options include: Migrate all lists referenced in lookup columns, Ignore lookup columns in migrated lists, and Only report error for any list with a lookup column. Do not migrate. 只有在工作中選定的來源是清單時,此設定才可用。This setting is only available if the source selected in a task is a list. 如果您正在進行網站移轉,SPMT 會自動移轉所有引用的清單,所以使用者不會看到此設定。If you are doing a site migration, SPMT will automatically migrate all referred lists, so this setting will not appear to the user.


設定Setting 描述Description
移轉自動重新執行Migration auto rerun 選擇是否要自動重新執行移轉工作,以尋找變更或新增項目。Choose if you want to automatically rerun a migration task to look for changes or additions. 選取 [執行一次][最多連續執行 5 次]Select either Run once, or Run up to 5 successive times.
SharePoint 移轉工具工作資料夾SharePoint Migration Tool working folder
選擇是否要建立自己的工作資料夾。Choose if you want to create your own working folder. 根據預設,系統會建立一個暫時資料夾。By default, a temp folder will be created.
附註: 根據預設,工作資料夾位於 %appdata%\Microsoft\MigrationToolNote: By default, the working folder is %appdata%\Microsoft\MigrationTool. 確定您的工作資料夾有至少 150 GB 的可用空間。Make sure that your working folder has a minimum of 150 GB of free space. 視您要移轉的資料大小而定,您可能需要準備更大的空間。It may need more depending on the size of the data you plan to migrate.

自訂 Azure 儲存體Custom Azure Storage


如果您選擇使用您的 Azure 儲存體,請注意,這可能會產生頻寬費用。If you choose to use your Azure Storage, be aware that you could incur bandwidth charges. 系統會根據您的 Azure 方案類型和移轉大小計費。Those will be billed depending on your Azure offer type and migration size. 如需一般價格,請參閱 頻寬價格For general prices, see Bandwidth pricing.

設定Setting 描述Description
使用自訂 Azure 儲存體Use custom Azure Storage 如果您想要使用您自己的 Azure 儲存體,請將此值設為 [開啟 ]If you wish to use your own Azure Storage, set this value to On. 輸入您的帳戶和密碼。Enter your account and key. 選取是否要啟用加密,以及是否要在轉移完成後删除暫時的工作檔案。Select if you want to enable encryption, and if you want temporary working files to be deleted when migration is complete.


此功能僅支援將 一般用途儲存空間帳戶 視為支援 Azure Blob 和佇列的一般用途帳戶。This feature is supported only for General Purpose storage accounts as General Purpose accounts support Azure blobs and queues. 此功能不適用於 Blob 儲存體帳戶。This feature is not available for Blob Storage accounts.

SharePoint 移轉工具意見反應及支援論壇SharePoint Migration Tool Feedback and Support Forum