移轉評估掃描:完整信任元件結果Migration assessment scan: Full trust component results

概觀Overview

完整信任解決方案掃描會檢查您的 SharePoint 環境,以取得透過伺服器陣列層級解決方案套件 [WSP] 檔案部署的參考程式碼。Microsoft 365 中的 SharePoint 不支援完整信任解決方案,因此必須了解您要在什麼位置使用這種類型的功能,並提出 SharePoint 的移轉計劃。The full trust solution scans check your SharePoint environment for references to code that was deployed via farm level solution packages [WSP] files. SharePoint in Microsoft 365 does not support full trust solutions and as a result it will be necessary to understand where you are using this type of functionality and come up with a plan for migration to SharePoint.

移轉資料Migrate data

內容會移轉到 SharePoint,不過,與完整信任程式碼繫結的功能在移轉之後將無法運作。當您運用的部分內容是仰賴移轉之後無法再使用的完整信任程式碼時,您可能會看到錯誤。Content is migrated to SharePoint, however functionality tied to full trust code will not function post migration. You may see failures when leveraging some of the content that relies on the full trust code that is no longer available post migration.

重要

任何設定為「無法存取」(鎖定) 的網站在 SharePoint 中都將予以略過。若要查看鎖定的網站集合清單,請參閱「鎖定的網站」掃描輸出。Any site that is configured as "No Access" (locked), in SharePoint will be skipped. To see a list of locked site collections see the Locked Sites scan output.

準備移轉Prepare for migration

判斷在您內部部署環境中使用完整信任程式碼的原因。建置計劃將重要的商務案例取代為 SharePoint 功能。您可能需要建立自訂項目,或運用增益集來涵蓋所有案例。Determine the various reasons full trust code was used in your on-premises environment. Build out a plan to replace the key business scenarios with SharePoint functionality. It may be necessary to build customizations or leverage add-ins to cover all scenarios.

如果您發現 Microsoft 365 中的 SharePoint 沒有提供相同的解決方案,可以遵循 Microsoft 365 模式與實務文件,尋求自訂 SharePoint。If you find there is not an equivalent solution provided in SharePoint in Microsoft 365, you may want to look into customizing SharePoint by following the Microsoft 365 patterns and practices documentation.

移轉後Post-migration

一旦內容移轉完成後,請實作「準備移轉」期間所建立的計劃。這可能包括部署自訂項目、增益集,或透過 SharePoint 介面啟用網站上的功能。Once the content migration is complete, implement the plan that was built during "Preparing for Migration". This could involve deploying customizations, add-ins, or enabling functionality on the sites via the SharePoint interface.

詳細的輸出Detailed output

注意

輸入檔案位於 <RootOutputFolder>\Internal\FullTrustSolution。閱讀所有已安裝的伺服器陣列層級的完整信任解決方案套件,並建立 SharePoint 伺服器陣列中所安裝項目的報告,從而產生輸入檔案。輸入檔案位置包含所有解壓縮的完整信任程式碼套件檔案,以及用來產生報告檔案的檔案,如下所述。Input files are located under <RootOutputFolder>\Internal\FullTrustSolution. The input files are generated by reading all the installed farm level full trust solution packages and building a report of what is installed in the SharePoint farm. The input files location includes all the extracted full trust code package files as well as the files used to generate the report files described below.

在 2017 年 7 月更新中,完整信任元件分成兩個不同的掃描器。In the July 2017 update, the full trust components are split into two separate scanners.

  • FullTrustSolution_Farm 會掃描完整信任程式碼的伺服器陣列層級使用量。FullTrustSolution_Farm scans for farm level usage of full trust code.

  • FullTrustSolution_Content 會掃描您內容中的完整信任程式碼參考。FullTrustSolution_Content scans for full trust code references in your content.

完整信任解決方案輸出掃描現在著重於環境的報告區域,其會運用部署到您伺服器陣列的伺服器陣列層級 WSP 檔案所提供的功能。如果您的內容中有單獨的完整信任解決方案參考,這項工具將不會報告這項資訊。如果這些資訊與您的移轉相關,您可以運用 SharePoint 隨附的 Test-SPContentDatabase PowerShell Cmdlet 來加以尋找。The output for full trust solution scans are now focused on reporting areas of your environment that are leveraging functionality provided by farm level WSP files deployed to your farm. If there are orphaned full trust solution references in your content, this tool will not report that information. You could leverage the Test-SPContentDatabase PowerShell cmdlet that ships with SharePoint to look for those if they are of concern for your migration.

/powershell/module/sharepoint-server/Test-SPContentDatabase?view=sharepoint-ps/powershell/module/sharepoint-server/Test-SPContentDatabase?view=sharepoint-ps

請務必了解完整信任程式碼的兩個層級 [伺服器陣列和內容],以建立完整的計劃,以避免干擾貴公司或延遲移轉專案。It is important to understand both levels [Farm and Content] of full trust code to build a comprehensive plan to avoid disruptions to your business or delays in your migration project.

FullTrustSolution_Farm 會產生下列報告:FullTrustSolution_Farm generates the following reports:

元件Component 描述Description 輸入檔案Input File 元件報告Component Report
伺服器陣列功能Farm Features
自訂在伺服器陣列範圍內啟用的功能。Custom features that are activated at the farm scope.
Features.csvFeatures.csv
FullTrustSolution_Features_Farm_Usage.csvFullTrustSolution_Features_Farm_Usage.csv
Web 應用程式功能Web Application Features
自訂在 web 應用程式範圍內啟用的功能。Custom features that are activated at the web application scope.
Features.csvFeatures.csv
FullTrustSolution_Features_WebApplication_Usage.csFullTrustSolution_Features_WebApplication_Usage.cs
元件Component 描述Description 輸入檔案Input File 元件報告Component Report
內容類型Content Types
部署自訂內容類型的位置。Locations that custom content types are deployed.
ContentTypes.csvContentTypes.csv
FullTrustSolution_ContentTypes_Usage.csvFullTrustSolution_ContentTypes_Usage.csv
使用自訂事件接收器的內容類型Content Types using Custom Event Receivers
使用自訂事件接收器的內容類型。例如,如果您已部署自訂事件接收器,且將其附加在現成可用的內容類型中,這份報告就會顯示這項資訊。Content types that are using custom event receivers. For example, if you deployed a custom event receiver and attached it to an out of the box content type, this report will display that information.
EventReceivers.csvEventReceivers.csv
FullTrustSolution_ContentTypesUsingEventReceivers_Usage.csvFullTrustSolution_ContentTypesUsingEventReceivers_Usage.csv
自訂欄位Custom Fields
使用自訂欄位或欄位定義的清單和內容類型。Lists and content types that are using custom fields or field definitions.
CustomFields.csvCustomFields.csv
FieldTypes.csvFieldTypes.csv
FullTrustSolution_CustomFields_Usage.csvFullTrustSolution_CustomFields_Usage.csv
事件接收器Event Receivers
使用自訂事件接收器的清單Lists that are using custom event receivers.
EventReceivers.csvEventReceivers.csv
FullTrustSolution_EventReceivers_Usage.csvFullTrustSolution_EventReceivers_Usage.csv
網站功能Site Features
使用自訂功能的網站。Sites that are using custom features.
Features.csvFeatures.csv
FullTrustSolution_Features_Site_Usage.csvFullTrustSolution_Features_Site_Usage.csv
清單範本List Templates
使用自訂清單範本的清單。Lists that are using custom list templates.
ListTemplates.csvListTemplates.csv
FullTrustSolution_ListTemplates_Usage.csvFullTrustSolution_ListTemplates_Usage.csv
部署的版面配置Page Layouts Deployed
已部署自訂版面配置的位置。包含所有自訂版面配置。Locations that custom page layouts have been deployed to. Includes all the custom page layouts.
PageLayouts.csvPageLayouts.csv
FullTrustSolution_PageLayouts_DeployedLayouts_Usage.csvFullTrustSolution_PageLayouts_DeployedLayouts_Usage.csv
使用自訂版面配置的頁面Pages using custom page layouts
使用自訂版面配置的頁面。Pages that are using custom page layouts.
PageLayouts.csvPageLayouts.csv
FullTrustSolution_PageLayouts_Pages_Usage.csvFullTrustSolution_PageLayouts_Pages_Usage.csv
網頁組件Web Parts
使用自訂網頁組件的頁面。Pages that are using custom web parts.
WebParts.csvWebParts.csv
FullTrustSolution_WebParts_Usage.csvFullTrustSolution_WebParts_Usage.csv