敏感度標籤和 SharePoint 移轉 APISensitivity Labels and the SharePoint Migration API

無法使用 SharePoint 移轉 API 將敏感度標籤套用至檔案和資料夾。Sensitivity labels cannot be applied to files and folders using the SharePoint Migration API. 如果想要將敏感度標籤套用至您要移轉至 Microsoft 365 的內容,建議您使用 Microsoft 資訊保護 (MIP) SDK。If you want to have sensitivity labels applied to your content being migrated to Microsoft 365, we recommend using the Microsoft Information Protection (MIP) SDK. API 中目前沒有可將敏感度標籤套用至檔案的參數。There currently isn't a parameter in the API to apply sensitivity labels to files.

步驟 1:Step 1:
在使用移轉 API 來移轉您的內容之前,請熟悉敏感度標籤在 Microsoft 365 中的運作方式,並了解 Microsoft 資訊保護 (MIP) SDK:Before you migrate your content with the Migration API, become familiar with how sensitivity labels work in Microsoft 365 and learn about the Microsoft Information Protection (MIP) SDK:

步驟 2:Step 2:
下載並設定 Microsoft 資訊保護 (MIP) SDK。Download and configure the Microsoft Information Protection (MIP) SDK. 此處所列的文章將說明如何安裝和設定您的 Microsoft 365 訂閱和用戶端工作站,以準備使用 SDK。The article listed here shows you how to set up and configure your Microsoft 365 subscription and client workstation, in preparation for using the SDK.

步驟 3: 使用 MIP SDK 套用敏感度標籤。Step 3: Apply sensitivity labels using the MIP SDK.

如果您目前使用 Azure 資訊保護,您必須將標籤移轉至 Office 365 安全性與合規性中心。If you're currently using Azure Information Protection, you must migrate your labels to Office 365 Security and Compliance Center. 如需有關此程序的詳細資訊,請參閱如何將 Azure 資訊保護標籤移轉至 Office 365 安全性與合規性中心For more information on the process, see How to migrate Azure Information Protection labels to the Office 365 Security & Compliance Center.

步驟 4: 使用 SharePoint 移轉 API 移轉內容Step 4: Migrate content using the SharePoint Migration API