OneDrive for Slack

OneDrive is Microsoft’s solution for hosting and managing all of your files in the cloud. Sharing your OneDrive files in Slack brings your team’s conversations and content together in one convenient place. Best of all, the files you share in Slack will be fully searchable.

Connect OneDrive to Slack

You can connect OneDrive to Slack in two easy ways: either paste a OneDrive link in any Slack channel or add the OneDrive app to your Slack workspace. 

Before you connect OneDrive to Slack, use these tips to help you get started:

  • Only a single OneDrive account can be authorized per Slack member. 
  • The OneDrive app for Slack works with the following types of accounts: non-Enterprise Microsoft accounts and Office 365 accounts (including SharePoint Online and OneDrive for Business)
  • The OneDrive app for Slack doesn't currently support on-premises SharePoint installations or Office 365 plans hosted on a Microsoft national cloud deployment. This includes Office 365 U.S. Government, Office 365 Germany and Office 365 operated by 21Vianet (China). 

Paste a OneDrive link in Slack

It's easy! Simply paste a link to a OneDrive file you’d like to share in the message box and hit Enter. Slackbot will ask your permission to read and import the file. (If you click Yes, you'll only have to do this once.)


Once you've given Slack permission to read the file, Slack will display a preview of the file and index it for search.

Install the OneDrive app

If you don’t have a file to share right now, you can still connect the OneDrive app to Slack. Here's how: 

  1. Visit the OneDrive app page in Slack's app directory.
  2. Click Install.
  3. Click Authenticate your OneDrive account.
  4. Sign in to OneDrive and click Accept to authenticate with Slack.

Share files from OneDrive

Paste a link to the OneDrive file you wish to share in the Slack message box (you can share as many files as you’d like!). After you send your message, the linked file(s) will expand to show their file type and origin. Keep in mind that only the OneDrive files you choose to share can be searched in Slack.


Note: Imported files can be searched in Slack, but they won't be stored (or take up storage space) in your workspace — they'll continue to be stored in OneDrive.

Related Articles

Recently Viewed Articles