OneDrive and SharePoint for Slack

If you use Microsoft OneDrive or SharePoint to host and manage your files in the cloud, you can install the OneDrive and SharePoint app to create, share, and view your files right from Slack.

What to expect

  • Office 365 accounts (SharePoint Online, OneDrive for Business, Office 365 Enterprise) and non-Enterprise Microsoft accounts (OneDrive and OneDrive Basic) can use the OneDrive and SharePoint Slack app.
  • On-premises SharePoint installations or Office 365 plans hosted on a Microsoft national cloud deployment (Office 365 U.S. Government, Office 365 Germany, and Office 365 operated by 21Vianet in China) are not currently supported.
  • The OneDrive and SharePoint app is compliant under Microsoft's publisher verification program.

Note: When you create and share OneDrive or SharePoint files in Slack, you can search for them in your workspace, but they'll only be stored in OneDrive or SharePoint.


Connect OneDrive or SharePoint to Slack

To use the OneDrive and SharePoint app in Slack, one person in your workspace or Enterprise Grid organization needs to install the app. Then, members can connect their accounts to Slack.

Free, Pro, and Business+ plans

Enterprise Grid plan

Install the OneDrive and SharePoint app

  1. Visit the OneDrive and SharePoint page in the Slack App Directory.
  2. Click Add to Slack.
  3. Click Allow to grant OneDrive or SharePoint access to your workspace.
  4. When prompted, sign in to your Office 365 account.
  5. Click Accept to authenticate with Slack.
  6. Click Open Slack to return to your workspace.


Connect your account

Once the OneDrive and SharePoint app is installed to your workspace, follow the steps below to connect your account:

  1. From your desktop, click  Apps at the top of your left sidebar. If you don’t see this option, click  More to find it.
  2. Search for and select OneDrive and SharePoint.
  3. From the app’s Home tab, click Connect.
  4. Click Allow to grant OneDrive and SharePoint access to your workspace.
  5. When prompted, sign in to your Office 365 account.
  6. Click Open Slack to return to your workspace.
In an Enterprise Grid organization, the OneDrive and SharePoint app can be installed at the org level (then added to as many workspaces as you’d like) or installed at the workspace level.

Org level

  1. From your desktop, click your workspace name in the top left.
  2. Select Settings & administration from the menu, then click Organization Settings.
  3. From the left sidebar, click  Organization, then select Apps to open the admin dashboard.
  4. Click Manage Apps in the top right, then click Install an app.
  5. Search for and select OneDrive and SharePoint.
  6. Click Continue and follow the prompts, then click Allow to grant the app access to your org.
  7. From the admin dashboard, click the Installed Apps tab.
  8. Find OneDrive and SharePoint, then click the three dots icon to the right of the app.
  9. Select Add to more workspaces.
  10. Check the box next to any workspaces you’d like to add the app to. To automatically add the app to any new workspaces created in your org, check the box next to Default for future workspaces.
  11. Click Next.
  12. Check the box next to I’m ready to add this app.
  13. Click Add App.


Workspace level

  1. Visit the OneDrive and SharePoint page in the Slack App Directory.
  2. Click Add to Slack.
  3. Click Allow to grant OneDrive or SharePoint access to your Slack workspace.
  4. When prompted, sign in to your Office 365 account.
  5. Click Accept to authenticate with Slack.
  6. Click Open Slack to return to Slack on your desktop.

Note: In June 2021, we released a new version of the OneDrive and SharePoint app as a Microsoft verified publisher. To update to this version of the app, you can either perform a domain-wide authentication or remove the app and install the latest version from the Slack App Directory.


Use OneDrive and SharePoint in Slack

Create files

  1. From any conversation, click the  lightning bolt icon to open the shortcuts menu.
  2. Search for OneDrive and SharePoint
  3. Select Create a document
  4. Enter a title for your file. You can also include a message if you’d like. 
  5. Below Post file in, open the drop-down menu and select a conversation. 
  6. Click Create to share your new file. 


Share files

  1. From any conversation, click the  paper clip icon to the right of the message field.
  2. Below Add a file from, select OneDrive and SharePoint.
  3. If prompted, sign in to your Office 365 account.
  4. Choose which file(s) to share, then click Open.


The first time you share a OneDrive or SharePoint file in Slack, the file will expand to show a preview. Shared files will always include a link back to OneDrive or SharePoint. 

Note: It's not currently possible to share folders or OneNote files to Slack.

Manage file previews

When you share a OneDrive or SharePoint file in Slack, you can choose if you'd like a preview to display:

  • Add a preview
    A preview will be displayed when you share the file.
  • Don’t add a preview
    A preview will not be displayed when you share the file, but other file information will be visible.
  • Don’t add a preview or ask me again
    Previews will never be displayed when you share files, and you won’t see preview prompts.

Tip: To reset your file preview preferences, click Manage Settings from the OneDrive and SharePoint app’s Home tab. Next to Reset preferences, click Reset

View recent files

  1. From your desktop, click  Apps at the top of the left sidebar. If you don’t see this option, click  More to find it.
  2. Search for and select OneDrive and SharePoint.
  3. From the app’s Home tab, you’ll see any files you’ve accessed recently in Slack, OneDrive, or SharePoint below Recent OneDrive and SharePoint Files.


Manage access to files

If any members don’t have access to view or edit a file you’ve shared with them, you’ll receive a message from the OneDrive and SharePoint app prompting you to adjust access to the file. To change access in the future, you can re-share the file and make adjustments:

  1. Next to a file you’ve shared, open the drop-down menu.
  2. Choose who can view the file: Anyone in the conversation, Anyone in your organization, or Anyone with the link.
  3. If you’d like, you can also decide who can edit the file: Anyone in your organization or Anyone in the conversation.

OneDrive file shared in Slack with prompt to update file visibility

Note: Options for managing file access will only be visible for files shared in channels with fewer than 100 people.


Disconnect your account

If you no longer need to use the OneDrive and SharePoint app, you can disconnect your account. This will not uninstall the app from your workspace.

  1. From your desktop, click  Apps at the top of the left sidebar. If you don’t see this option, click  More to find it.
  2. Search for and select OneDrive and SharePoint.
  3. From the app’s Home tab, click Manage Settings.
  4. Next to Disconnect your account, click Disconnect.
  5. Click Yes, disconnect to confirm.