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 your Slack workspace.

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.

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 needs to install the app. Then, members can connect their accounts to Slack.

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.

Tip: If you're on Slack's Enterprise Grid plan, you can install the OneDrive and SharePoint app at the org level and add it to any workspaces that need access from the admin dashboard.


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 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 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.


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.

Screen_Shot_2020-11-02_at_5.32.34_PM.png

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.