Share via


Set up Dynamics 365 (online) to use SharePoint Online

 

Applies To: Dynamics 365 (online), Dynamics CRM Online

When you use Microsoft SharePoint Online with Microsoft Dynamics 365 (online), you can:

  • Create, upload, view, and delete documents stored in SharePoint from within Microsoft Dynamics 365.

  • Use the SharePoint document management abilities within Microsoft Dynamics 365, such as checking the document in and out, viewing version history, and changing document properties.

  • Enable non-Microsoft Dynamics 365 users, such as customers who want to review a bid, to directly access the SharePoint documents, provided they have the appropriate permissions.

Important

This topic is for organizations who wish to deploy for the first time or upgrade to server-based SharePoint integration. After you enable server-based SharePoint integration, you can’t revert to the previous client-based authentication method.

For some organizations, using the Microsoft Dynamics CRM List Component solution might be a better choice. More information: Configure SharePoint integration using the list component.

Tip

Video symbol Check out the following video: Connect Dynamics 365 to SharePoint Online

To set up Dynamics 365 (online) to use SharePoint Online, complete the following steps.

Assign user permissions to the Team SharePoint site

Your Microsoft Dynamics 365 (online) and Microsoft Office 365 users are not automatically allowed access to your SharePoint sites. You must work within the SharePoint site to assign specific permission levels to individual users or groups.

Assign users to the Team site

  1. Browse to the Office 365 admin center and sign in using Office 365 Global administrator credentials.

  2. Open the Office 365 app launcher, and then click SharePoint.

  3. 3. On the left-side menu, click Team Site.

  4. On the Home page, click SHARE (upper-right corner).

    SharePoint Share Settings

     

  5. To view the default permissions for your team site, click lots of people.

    Share Team site

  6. By default, all users in your Microsoft Office 365 organization are able to add and edit documents on the Team SharePoint site. To invite others, choose Invite people and add people external to your organization to share documents.

    For more information about SharePoint permissions, see Introduction: Control user access with permissions

Configure Dynamics 365 (online) for SharePoint document management

For Dynamics 365 (online) organizations, Microsoft Dynamics CRM Online Spring ‘14 introduced a new server-based (using server-to-server authentication) SharePoint integration that removes the need to install or continue to use the Microsoft Dynamics CRM List Component solution.

If you are a new organization and have not yet deployed document management, see Configure a new organization.

If your organization is already using document management with Microsoft Dynamics CRM List Component, you can switch to server-based SharePoint integration. More information: Switching from the list component or changing the deployment

Important

The Microsoft Dynamics CRM List Component builds the SharePoint library using the internal name of the document-enabled entity in Dynamics 365. Server-based SharePoint integration uses the entity display name. When you upgrade to server-based SharePoint integration, be sure to check that the display names in your document library on SharePoint match the entity display names in Dynamics 365. More information: "Validation Error" when you try to configure server-based SharePoint integration for Microsoft Dynamics CRM Online and SharePoint Online.

SharePoint library name and entity display name

These names should match.

Configure a new organization

If your Dynamics 365 organization has not deployed document management, when a Dynamics 365 System Administrator logs in an alert message will be displayed to enable server-based SharePoint integration.

Enable Server-Based SharePoint Integration alert

Note

If you don’t see the alert and have not previously enabled server-based SharePoint integration, clear your browser cache or open Dynamics 365 using Internet Explorer with InPrivate browsing to have the alert display again. Once you configure server-based integration, the alert will no longer appear.

  1. In the Enable Server-based SharePoint Integration alert click Next.

  2. Choose Online for where your SharePoint sites are located, and then choose Next.

    Select Online as the SharePoint sites location

  3. If your Microsoft Dynamics 365 (online) is not connected to a SharePoint online site, enter the URL (for example https://contoso.sharepoint.com) of your SharePoint site that you will use for auto folder creation, and then choose Next.

    Tip

    To see your SharePoint site collections, in the Office 365 admin center, click Admin centers > SharePoint, and then click site collections.

    Enter the URL of the SharePoint site

  4. The URL will be checked for being a valid SharePoint online site and for existing in the same Office 365 tenant as your Dynamics 365 organization. After enabling server-based SharePoint integration you can’t go back to the previous client-side integration. Choose Enable.

    After you enable server-based SharePoint the options to Install List Components and to enable server-based integration will no longer appear as an option in Document Management.

    Once server-based SharePoint integration is enabled you will need to enable the entities you want available for document management integration. More information: Help & Training: Enable document management on entities

Using Document Management

You are now ready to add document storage locations to the entities you enabled above and start managing documents. Begin by opening a document management-enabled record (for example, Contact).

  1. Browse to your Microsoft Dynamics 365 (online) web application.

  2. Choose an account, such as the Adventure Works sample account.

  3. On the nav bar, click the down arrow next to the account name, and then click Documents.

    Select Documents for an account

  4. Click Upload, and then browse to a document to upload to the new folder in your Microsoft Office 365SharePoint Online Team site.

    Add a document

  5. Select a Dynamics 365 folder location, and then click Ok.

  6. To see the document in your Microsoft Office 365SharePoint Online Team site, click to the left of the document name (you’ll see a check mark), and then click Open Location.

    Office 365 Team Site shared document

  7. Click Site Contents to see all the document libraries created for the managed entities you selected.

    The entities you selected to be managed by Document Management appear as document libraries (for example: Account, Article, Case, Lead, Opportunity, Product, Quote, and Sales Literature).

    Office 365 Team Site all libraries

See Also

Help & Training: Set up SharePoint integration with Microsoft Dynamics 365
Manage your documents using SharePoint
SharePoint Online for IT pros
Book: SharePoint and CRM

© 2017 Microsoft. All rights reserved. Copyright