The Box for Microsoft Teams integration will allow your enterprise users to drag and drop files from their desktop into Box while in a chat or public channel in Teams, adding up to ten files at a time. When the message is sent, Box automatically uploads the attached files to the Box folder dedicated to that channel or chat folder.
If you want to enable drag and drop of files to Box for your organization, you can choose one of the following options:
- Deploy drag and drop to Box for all users who use Microsoft Teams.
- Deploy drag and drop to Box for some users who use Microsoft Teams.
- Deploy drag and drop to Box for a group of users who use Microsoft Teams.
How do I enable Drag and Drop for users?
As an Microsoft365 Admin, you can use the below PowerShell script to establish a Box-only experience for all Teams users in your tenant.
Prerequisite:
Follow these instructions from the Microsoft Docs sites on using PowerShell commands in Teams. Once complete, proceed by copying and pasting the following script to enable Drag and Drop to Box.
Note: You don't need to hide OneDrive and SharePoint Entry Points to make this policy work. If you enable drag and drop and if NativeFileEntryPoints is enabled, then users will be able to drag and drop to Box while still using the native Paperclip icon for uploads into OneDrive or Sharepoint if needed.
PowerShell Script
Enabling drag-drop to Box for your entire organization
Setting the -Identity parameter to Global applies the policy settings to everyone in your organization.
To configure this policy:
Set-CsTeamsFilesPolicy -Identity Global -DefaultFileUploadAppId "8d04bcf6-86d8-4ab1-9602-bc3b56e06c37"
To revert the setting:
Set-CsTeamsFilesPolicy -Identity Global -DefaultFileUploadAppId ""
To remove this policy for your users:
Remove-CsTeamsFilesPolicy -Identity Global
To get current status of tenant's Teams Files policy:
Get-CsTeamsFilesPolicy -Identity Global
Enabling drag-drop to Box for individuals or groups
You can create a new Teams file policy by assigning a name of your choice to the parameter Identity, and assigning the newly created policy to specific individuals or groups.
After creating the new policy, you can enable or disable drag and drop to Box for individuals or groups.
To create a policy for individuals or a group, with drag and drop enabled by default:
For individuals:
New-CsTeamsFilesPolicy -Identity UserPolicy -DefaultFileUploadAppId "8d04bcf6-86d8-4ab1-9602-bc3b56e06c37"
For a group:
New-CsTeamsFilesPolicy -Identity TeamsFilesPolicy -DefaultFileUploadAppId "8d04bcf6-86d8-4ab1-9602-bc3b56e06c37"
To assign the new Teams file policy to a specific individual or group:
For a specific individual:
Grant-CsTeamsFilesPolicy -identity "user email id" -PolicyName UserPolicy
For a group:
Grant-CsTeamsFilesPolicy -GroupId [Group ID] -PolicyType TeamsFilesPolicy -PolicyName TeamsFilesPolicy
To enable or disable the new Teams files policy:
Enable Drag and Drop to Box for individuals:
Set-CsTeamsFilesPolicy -Identity UserPolicy -DefaultFileUploadAppId "8d04bcf6-86d8-4ab1-9602-bc3b56e06c37"
Enable Drag and Drop to Box for groups:
Set-CsTeamsFilesPolicy -Identity TeamsFilePolicy -DefaultFileUploadAppId "8d04bcf6-86d8-4ab1-9602-bc3b56e06c37"
Disable Drag and Drop to Box for individuals:
Set-CsTeamsFilesPolicy -Identity UserPolicy -DefaultFileUploadAppId ""
Disable Drag and Drop to Box for groups:
Set-CsTeamsFilesPolicy -Identity TeamsFilePolicy -DefaultFileUploadAppId ""
To get current status of tenant's Teams Files policy:
For individuals:
Get-CsTeamsFilesPolicy -Identity UserPolicy
For groups:
Get-CsTeamsFilesPolicy -Identity TeamsFilesPolicy
To get all policies assigned to a specific group:
Get-CsGroupPolicyAssignment -GroupId [Group ID]
To get all groups assigned to a specific Teams policy:
Get-CsGroupPolicyAssignment -PolicyType TeamsFilesPolicy
Learn More:
To learn more about enabling this Admin Drag and Drop setting, click here.