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)

How to access SharePoint Online documents by JavaScript in Dynamics CRM Form

(0) ShareShare
ReportReport
Posted on by

This a Dynamics 365 and SharePoint Online integration environment. CRM and SPO is under the same tenant.

Case documents are stored in SPO. It is required to read SPO documents from one CRM Form by JavaScript.

Thanks for reading and answering my question.

Runner288 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Adrian Begovich Profile Picture
    1,027 Moderator on at

    Hi Runner288s,

    This article will teach you how to get a SharePoint OAuth Access Token in a Dynamics 365 Web Resource.

  • Nikica Profile Picture
    311 on at

    I don't get this part of the sample within the article:

       "client_id=" + params.clientId

    what is params.clientId?

    As far as I understand, it should be id of an App that is registered in Azure. CRM as such doesn't have this id and it is not App in that sense.

    Does this mean, some dummy app registration is needed?

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