SharePoint Online 與商務用 OneDrive 與 Microsoft 團隊互動的方式How SharePoint Online and OneDrive for Business interact with Microsoft Teams


觀看以下工作階段以了解 Teams 如何與 Azure Active Directory (AAD)、Microsoft 365 群組、Exchange、SharePoint 和商務用 OneDrive 進行互動:Microsoft Teams 的基礎Watch the following session to learn how Teams interacts with Azure Active Directory (AAD), Microsoft 365 Groups, Exchange, SharePoint and OneDrive for Business: Foundations of Microsoft Teams

Microsoft 團隊中的每個團隊在 SharePoint Online 中都有小組網站,小組中的每個標準頻道都會在預設的小組網站文件庫中取得一個資料夾。Each team in Microsoft Teams has a team site in SharePoint Online, and each standard channel in a team gets a folder within the default team site document library. 在交談中共用的檔案會自動新增到文件庫,在 SharePoint 中設定的權限和檔案安全性選項會自動在 Teams 中反映。Files shared within a conversation are automatically added to the document library, and permissions and file security options set in SharePoint are automatically reflected within Teams. 若要查看在 SharePoint 中變更網站位址的影響,請參閱 變更網站位址To see the impact of changing a site address in SharePoint, read Change a site address.


本文只適用于標準頻道。This article applies only to standard channels. 專用通道的架構與標準通道不同。The architecture for private channels is different from standard channels. 每個私人頻道都有自己的 SharePoint 網站集合,與父小組網站不同。Each private channel has its own SharePoint site collection that's separate from the parent team site. 若要深入瞭解,請參閱 Microsoft 團隊中的私人頻道To learn more, see Private channels in Microsoft Teams.

私人聊天檔案會儲存在寄件者的商務用 OneDrive 資料夾中,而許可權會自動授與所有參與者,做為檔案共用程式的一部分。Private chat files are stored in the sender's OneDrive for Business folder, and permissions are automatically granted to all participants as part of the file sharing process.

若使用者並非以 SharePoint Online 進行指派及授權,他們將無法使用 Microsoft 365 或 Office 365 中的 [商務用 OneDrive] 儲存空間。If users aren't assigned and enabled with SharePoint Online licenses, they don't have OneDrive for Business storage in Microsoft 365 or Office 365. 檔案共用功能會在標準頻道中繼續運作,但在 Microsoft 365 或 Office 365 中,使用者將無法在不含商務用 OneDrive 儲存空間的情況下共用檔案。File sharing will continue to work in standard channels, but users won't be able to share files in chats without OneDrive for Business storage in Microsoft 365 or Office 365.

透過將檔案儲存在 SharePoint Online 文件庫和 OneDrive for Business,您將遵守所有在租用戶層級設定的合規性規則 By storing the files in the SharePoint Online document library and OneDrive for Business, all compliance rules configured at the tenant level will be followed.


目前 Microsoft 團隊不支援與 SharePoint 內部部署的整合。Integration with SharePoint On-premises is not supported for Microsoft Teams at this time.

下列是團隊、標準頻道與文件庫之間的關聯性範例。The following is the example of relationships between team, standard channel, and document library.

針對每個小組,都會建立一個 SharePoint 網站,而 [ 共用文件 ] 資料夾則是為該小組建立的預設資料夾。For every team, a SharePoint site is created, and the Shared Documents folder is the default folder created for the team. 每個標準頻道,包括 [一般 ] 通道 (每個小組的預設頻道) 在 [ 共用檔] 中有一個資料夾。Each standard channel, including the General channel (the default channel for each team) has a folder in Shared Documents.

SharePoint Online 中的 [共用文件] 資料夾圖表。


目前無法將預設的 SharePoint 網站與文件庫取代為其他人。It's not currently possible to replace the default SharePoint site and document library with another one. 我們已聽取您想要的內容,我們正在考慮。We've heard from you that you want it, and we're considering it. 檢查 [ 團隊藍圖 ] 或 [ 團隊 UserVoice ],掌握即將推出的功能。Check the Teams Roadmap or Teams UserVoice to stay on top of upcoming features.


若要將索引標籤新增至您的小組,以連結至現有的 SharePoint 網站頁面或現有的 SharePoint 文件庫:To add a tab to your team that links to an existing SharePoint site page or to your existing SharePoint document library:

  1. 選取索引標籤旁的加號。Select the plus sign next to the tabs.
  2. 針對現有的文件庫,選取任一 sharepoint 的現有 sharepoint 網站頁面或 文件庫Select either SharePoint for an existing SharePoint site page or Document Library for an existing document library.
  3. 選取適當的頁面或文件庫。Select the appropriate page or document library.

針對每位使用者,您可以使用 OneDrive 資料夾 Microsoft 團隊聊天 檔案,將私人聊天中與其他使用者共用的所有檔案,都儲存在 (1:1 或1:許多) ,並自動設定許可權,限制僅限預期使用者的存取權。For every user, the OneDrive folder Microsoft Teams Chat Files is used to store all files shared within private chats with other users (1:1 or 1:many), with permissions configured automatically to restrict access to the intended user only.

名為 Microsoft 團隊聊天檔案的 OneDrive 資料夾圖表

請注意,在公用團隊中,SharePoint 小組網站是由「外部使用者以外的所有人」存取權所提供。Note that for public teams, the SharePoint team site is provisioned with "Everyone except external users" access. 對於不是該小組成員的人員,小組中不會顯示該公開小組。The public team isn't displayed in Teams for people who aren't members of that team. 不過,他們可以使用 SharePoint 小組網站的 URL 存取 SharePoint 小組網站上的內容。However, they can access content on the SharePoint team site using the URL of the SharePoint team site.

[頻道檔案] 索引標籤Channel Files tab

此功能尚未發佈。This feature hasn't yet been released. 我們已宣佈推出,即將推出。It's been announced, and is coming soon.如果您是系統管理員,您可以在 [ Microsoft 365 系統管理中心]) 的 [訊息中心] (,找出這項功能的發行時間。 If you're an admin, you can find out when this feature will be released in the Message Center (in the Microsoft 365 admin center).

團隊中的 [檔案] 索引標籤會與 [SharePoint ] 視圖密切類似。The Files tab in Teams closely resembles the SharePoint documents view. 在 [檔案] 索引標籤上,使用者可以:On the Files tab, users can:

  • 請參閱 [ 新增 檔案] 功能表中的其他選項。See additional options in the New file menu.
  • 將檔案同步處理到其本機磁片磁碟機。Sync files to their local drive.
  • 在 [ 所有檔 ] 功能表上,從 [ 清單 ] 視圖切換至 [將 清單壓縮 至 [ ] 視圖。On the All Documents menu, switch from List view to Compact list to Tiles view.
  • 找出需要注意或有惡意程式碼的檔案。Identify files that need attention or have malware.
  • 立即查看檔案是唯讀或取出。Immediately see whether a file is read-only or checked out.
  • 取出和存回檔案。Check out and check in files.
  • 釘選、解除固定及變更檔的排序次序。Pin, unpin, and change the sort order of files.
  • 找出需要中繼資料的檔案Identify which files need metadata
  • 從許多其他篩選選項中進行選擇。Choose from many more filter options.
  • 根據欄標題來分組檔案。Group files based on column headings.
  • [修改欄設定] ([向左或向右移動]、[隱藏) 及欄寬]。Modify column settings (move left or right, hide) and column width.

SharePoint 和 OneDrive 擁有管理員設定,可指定為檔案建立之連結的預設連結類型。SharePoint and OneDrive have an admin setting for specifying the default link type for links that are created for a file. 團隊會重複使用系統管理員針對 SharePoint 和 OneDrive 設定的設定,採用相同的方法。Teams is adopting that same approach by reusing the settings that the admin sets for SharePoint and OneDrive. 如需有關此方法的詳細資訊, 請參閱變更使用者取得共用連結時的預設連結類型More details about this approach are described in Change the default link type when users get links for sharing.

詳細資訊More information

如需 SharePoint 與團隊搭配運作方式的詳細資訊,請參閱 sharepoint 與團隊:更好搭配使用。For more information about how SharePoint works with Teams, see SharePoint and Teams: better together.

若要深入瞭解團隊中的來賓體驗,請閱讀 來賓體驗To learn more about the guest experience in Teams, read What the guest experience is like.