Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

SharePoint Integration Multiple Apps

Posted on by 215

I am attempting to integrate SharePoint document storage integration.

I have made multiple sites and attached specific tables to those sites across multiple applications.

The issue I am having is that the last table I add to the system all the other tables for that location work but all the other locations break.

Here's an example:

  • App A
    • sharepoint/sites/appA
  • App B
    • sharepoint/sites/appB

If I add a new table/entity to App A all the tables/entities work perfectly fine for App A but break all of App B's, and vise versa because it changes the "default" SharePoint Site.

Looking at the "SharePoint Document Locations" list shows all the documents and their locations but in the app they do not show up.

pastedimage1684348573506v1.png

  • Bahalzamon Profile Picture
    Bahalzamon 215 on at
    RE: SharePoint Integration Multiple Apps

    Sayen Zhang  I thought I would add as much additional detail I could think of in hopes you are able to identify where we are going wrong.

    Here are a bunch of images to see exactly what we are seeing.

    All SharePoint Sites

    pastedimage1685990457481v3.png

    BA Team Site

    pastedimage1685990475186v4.png

    Compliance Site

    pastedimage1685990498636v5.png

    BA Document Locations

    pastedimage1685990528683v6.png

    Compliance Document Locations

    pastedimage1685990577175v7.png

    Document Locations for both

    pastedimage1685990604813v8.png

    All Document Locations including regarding

    pastedimage1685990800899v9.png

    What we still see on the project table.

  • Bahalzamon Profile Picture
    Bahalzamon 215 on at
    RE: SharePoint Integration Multiple Apps

    1) two separate SharePoint sites, Project and CompInsurance are created under one SharePoint site

    Correct, one main site ZDrive have 2 separate subsites names Project and another named CompInsurance that on creation are using the Document Center template.

    2) Tables that we add are existed in both Project and CompInsurance

    Incorrect, there are multiple tables all within ONE environment and some are attached to SharePoint in different locations but only ONE attachment per table to a specific SharePoint site. So the tables that pertain to the Project application are attached to the Project SharePoint site and the tables that are part of the CompInsurance application are attached to the CompInsurance SharePoint site.

    Heres some additional images that hopefully help.

    pastedimage1685488197779v2.png

    Completely different tables attaching to different sites. As soon as I set one the other breaks.

  • Sayen Zhang Profile Picture
    Sayen Zhang on at
    RE: SharePoint Integration Multiple Apps

    Hi Clinton,

    I am sorry that my expression is not clear, could you please let me confirm that you also set up like this situation?

    1) two separate SharePoint sites, Project and CompInsurance are created under one SharePoint site

    2) Tables that we add are existed in both Project and CompInsurance

    Open table added in point "2)", they will show rightly in one app's default site and shows error message "does not have a SharePoint location" in another app.

    If so, it is due to system design that we cannot add the same table in two subsites of one site.

    Best Regards,

    Sayen Zhang

  • Bahalzamon Profile Picture
    Bahalzamon 215 on at
    RE: SharePoint Integration Multiple Apps

     Sayen Zhang Sorry but we aren't understanding your reply.

    We have 2 separate SharePoint sites as noted above, Project and CompInsurance.

    Here is the scenario and steps that are happening.

    1. Opening the Project app we see all our files, no issue. YAY!!
    2. Opening the CompInsurance app it says we don't have the SharePoint stuff setup for documents.
    3. Go to the settings within the environment within the Admin Center and select the couple of entities/tables fill in the URL pointing to the CompInsurance subsite within SharePoint.
      1. Says success.
      2. Sets the CompInsurance SharePoint site to the default site.
    4. Opening the CompInsurance app we see all our files, no issue. YAY!!!
    5. Opening the Project app it says we don't have the SharePoint stuff setup for documents.

    That is the circle we are in. If we go back and re-setup the Project app the Project app SharePoint site becomes the default and breaks the CompInsurance.

  • Suggested answer
    Sayen Zhang Profile Picture
    Sayen Zhang on at
    RE: SharePoint Integration Multiple Apps

    Hi partner,

    Thank you for the information!

    It is due to system design that if we add A app's A table in a subsite, records in A table will have document location. After that we add B app's A table in another subsite. Then the same records of A table in A App and B app have already had document location, so these records will show error message in records of B app's A table: "Collaborate and share files easily-ask your admin to enable SharePoint".

    For example:

    Firstly, create two subsites in a site.

    pastedimage1684897741523v1.png

    Secondly, enter projects subsite' URL in Document Management Settings and add Marketing app's Account.

    pastedimage1684897930093v2.png

    pastedimage1684898136604v5.png

    pastedimage1684898064161v3.png

    Thirdly, enter compInsurance subsite's URL in Document Management Settings and add Customer Service Hub app's Account.

    pastedimage1684898089328v4.png

    pastedimage1684898170766v6.png

    So that each entity record will have one document location, records which already had document location in another app will show error message: "Collaborate and share files easily-ask your admin to enable SharePoint".

    If you want to create document location for each record, you need to create one site for one app to avoid this situation.

    Best Regards,

    Sayen Zhang

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

  • ams9 Profile Picture
    ams9 25 on at
    RE: SharePoint Integration Multiple Apps

    Hi Sayen,

    I work with Clinton and providing some screenshots of what occurs when we have multiple locations.

     The URL I am talking about is the one pictured below in the Document Management Settings. When we change the SharePoint URL in this window and select the corresponding tables, they already exist. 

    2023_2D00_05_2D00_23-11_5F00_26_5F00_09_2D00_Project_5F00_-BA-Project-Main_5F00_-PRJ23_2D00_0805_2D00_1000-_2D00_-Dynamics-365.png

    However, once we change the "/compInsurance" from the previous URL of, for example, "/projects" and uncheck the tables that are not in "/compInsurance" and check the tables that are needed, this happens to all other document locations throughout the entire environment.

    The SharePoint site URL that is put in Document Management Settings then becomes our Default Site.

    We have subsites for each application in the parent, I am unsure if that causes any issues. So Projects is a subsite and compInsurance is a separate subsite.

    Any other guidance on how to fix this issue so we can have multiple subsites with their own document libraries for security purposes would be greatly appreciated.

  • Sayen Zhang Profile Picture
    Sayen Zhang on at
    RE: SharePoint Integration Multiple Apps

    Hi Clinton,

    Hope you are well.

    Can you provide some screenshots to let us know more about the issue?

    I have reproduced your settings in my environment but find no breaks in other locations.

    Here are my steps:

    1. Customer Service Hub 

    https://org.+ version.sharepoint.com/sites/CustomerServiceHub

    2. Marketing 

    https://org.+ version.sharepoint.com/sites/Marketing

    3. When I use Document Management Settings to add a new table in Customer Service Hub, the other tables for that location and all the other locations work well.

    Best Regards,

    Sayen Zhang

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans