locked
Unable to fetch documents from SharePoint 2013 when logged in CRM 2013 RRS feed

  • Question

  • Hello,

    Goal:

    We should be able to upload, fetch documents from SharePoint using Dynamics CRM environment without being logged into SharePoint. Both environments are On-Premises version. 

    What we have done so far:

    We have implemented integration between SharePoint 2013 and Dynamics CRM 2013 using sandboxed CRM listComponenet. It works perfectly fine when we are logged in to both sites (CRM and SharePoint) in one session of browser, but it does not work if we are only logged in CRM site. It does not matter, if we are logged in with windows or form based user, as far as we are logged in SharePoint and have active session of logged in user, we dont face any trouble to access document from SharePoint using CRM.

    Error: 

    Web Part Error: Sandboxed code execution request failed. Correlation ID: 10de139d-9a48-e0e2-dcba-685f26ea0102.

    SharePoint 2013 Environment:

    1) Publishing site on 80 port with one document library

    2) SSL is configured

    Dynamics CRM 2013 Environment:

    1) Claim based authentication is not Configured.

    2) IFD (Internet facing deployment) is not configured. 

    3) SSL is configured

    Question:

    1) Is it necessary to login into both sites (SharePoint and crm) simultaneously in one browser session for this integration to work? If not than what is the solution?

    2) Can we use ADFS for this scenario?

    Regards,

    Alex

    Friday, June 26, 2015 10:45 PM