web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

CRM online and SharePoint online - Authentication on calling SharePoint online from plugin?

(0) ShareShare
ReportReport
Posted on by 5

I want to upload a document to SharePoint online document library(using code) from CRM online plugin. Earlier I was having on premise CRM 2011 and SharePoint 2010. There authentication worked fine as we were using Active Directory. Now in order to support CRM online and SP online I need to know the best possible way so that SP online can authenticate the CRM 2011 online plug in's call.

Approaches I don't want to consider:

1. I don't want to use BCS of SharePoint online as mentioned @ http://blogs.msdn.com/b/girishr/archive/2011/02/14/msdn-webcast-integrating-sharepoint-2010-and-crm-2011-online.aspx 

2. I can pass user name and password to get the token from SharePoint online as mentioned @ http://www.wictorwilen.se/Post/How-to-do-active-authentication-to-Office-365-and-SharePoint-Online.aspx from the plug in(Have not tried though)

Is there a way other than these two. Thanks.

 

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Hi Atul,

    Did you find the solution? I have the same problem.

  • Tim Dutcher Profile Picture
    2,100 on at

    Here's a thread where the conclusion was to move this to an external service, such as an Azure Logic App, WebJob, etc.

    https://community.dynamics.com/crm/f/117/t/141365

    There still might be a way to do it from a plug-in, but it looks like several others decided to use a cloud integration tool or app to retrieve the document from CRM and upload it to SharePoint.

  • Inogic Profile Picture
    703 on at

    Hi Atul,

    We have faced similar issues while dealing with Sharepoint & CRM Online.

    You could refer following blog for to resolve the issue.

    http://www.inogic.com/blog/2015/10/programmatically-create-folders-and-upload-files-in-sharepoint-server-2013-through-plug-inworkflow/ 

    Hope this helps.

    Thanks!
    Sam

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans