OneDrive for Slack

Do you use Microsoft's OneDrive to host and manage your files in the cloud? If so, you can use the app for Slack to create, share, and search your files — right from your workspace.

Tips to get started

  • Only a single OneDrive account can be authorized per Slack member
  • Office 365 accounts (SharePoint Online, OneDrive for Business, Office 365 Enterprise) and Non-Enterprise Microsoft accounts (OneDrive and OneDrive Basic) can use the OneDrive app for Slack
  • On-premises SharePoint installations or Office 365 plans hosted on a Microsoft national cloud deployment are not currently supported (including Office 365 U.S. Government, Office 365 Germany and Office 365 operated by 21Vianet in China) 


Connect OneDrive to Slack

To use the OneDrive app, every workspace member must connect the app to Slack. There are two ways to do this:

Share a link

Slack App Directory

Share a OneDrive link in Slack

  1. Paste a link to the file you’d like to share in the message field and press Enter to send.
  2. In a message only visible to you, Slackbot will ask your permission to read and import the file. (If you click Yes, you'll only have to do this once.)
  3. Once you grant permission to read the file, Slack will display a preview of it.
    unfurls_2x.png

Install the app from the Slack App Directory

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

  1. Visit the OneDrive 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.

When you're ready to share a file, choose from one of these options:

  • Drag and drop the file directly into Slack
  • Copy and paste the file link into the message field
  • Click the  plus icon next to the message field to upload it


Share files from OneDrive

  1. On your desktop, click the  plus icon to the left of the message field in a channel or direct message.
  2. Under Add a file from, hover over A cloud service and click OneDrive.
  3. Choose which file(s) to import, then click Select to share.

    After you send your message, the linked file(s) will expand to show the file type and origin.

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