8 Feb’19

D365 GeneralIntegrating SharePoint with D365 Portal


This blog explains how we can add files from D365 Portal directly into SharePoint which was long awaited feature missing from Portals.

Below are the Steps:

Step 1: Set up SharePoint integration from Portal Admin Center

1. Go to the Dynamics 365 Administration Center page and select the Applications tab.

2. Select the name of the portal for which you want enable SharePoint integration, and then select Manage.

3. Click on Set up SharePoint integration –> Enable SharePoint integration.

4. Click on Enable button it will then ask you to sign in again.

5. Enter D365 CE (MS CRM) credentials to sign in again.

6. Click on Accept to grant the required permissions.

7. You will get the below message.

Step 2: Enable document management for entities (Customization in D365 CE)

NOTE: If document management is not enabled already then follow below steps.

  1. Go to Settings –> Document Management –> Document Management Settings
  2. Select entity
  3. Click on Next and Finish.

Step 3: Configure the appropriate form to display documents

  1. We need to add Document Location subgrid in the form which will get displayed in portal.
    (NOTE: Add subgrid on Edit form to edit the record in portal only.)

Step 4: Creating and Assigning Entity Permissions.

1. Create entity Permission of Scope “Global” for Case (Incident) Entity.

2. Click on “+” to Add Child Entity Permission for “Document Location”.

3. Click on “New”.

4. Enter below details.

Entity Name: Document Location

Scope: Parent

Parent Entity Permission: Case_Global(Select the name of parent entity from lookup)

Parent Relationship: Select the name from drop down.

Select all the Privileges.

5. Save the record.

6. Your Global Entity Permission should look like below.

7. After Creating Entity Permission successfully assign web role to the entity permissions.

Sign in to Portal

1. Open any Case record.

2. You can see Document Section below from where you can “Add files” or Create “New folder

3. Click on “Add files” button you are shown a pop-up window from where you can choose the files to upload.

4. You can see the New Folder is created in SharePoint for that Particular Case and file is also uploaded inside respective folder.

5. Click on “New Folder” to create new folder this will get created inside the parent folder “Case_CaseGUID” in SharePoint.

6. From portal you can go inside the folder and then upload files which gets uploaded inside the respective folder in SharePoint.

Add Files” in newly created folder.

New Folder and Files in SharePoint.

Written by

Vaishali Vyas

Software Engineer

Leave a Reply

Your email address will not be published. Required fields are marked *

Want to streamline your business processes?

  • This field is for validation purposes and should be left unchanged.

Recent Articles

  • Import Time Entries in PSA from your Bookings in D365 PSA v3

    25 April’ 2019

    Often, one of the real-life scenarios is making time entries by either remembering what you did the whole week or lookin...

    Read more
  • Managing with Multiple Legal Entity Data in Microsoft Dynamics NAV / Business Central

    25 April’ 2019

    Problem Statement: Well, my client is a Trader of Oils & Fatty Acids and has multiple legal entities to perform vari...

    Read more
  • Facing issues with Microsoft Outlook? Use Microsoft Support & Recovery Assistant

    22 April’ 2019

    Many times you find issues like one of your users are unable to set up their Office 365 Email account in Microsoft Outlo...

    Read more
  • How to insert data into reports in Business Central using a variable in Request Page

    16 April’ 2019

    Introduction: Here, I will demonstrate how a user can add data into reports by themselves from the Request Page in Busin...

    Read more
  • Non-Billable classification of task work around in PSA V3

    15 April’ 2019

    Problem Definition: As soon I upgraded my PSA version from V2 to V3, I saw that the role field got deprecated. Not only ...

    Read more
  • We respect your privacy.
  • This field is for validation purposes and should be left unchanged.