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

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Upload document to Sharepoint through Dynamics (with code)

(0) ShareShare
ReportReport
Posted on by 155

Hello,

I want to know if it is possible to upload a PDF document to Sharepoint, but instead of going directly through Sharepoint, I want to upload it from Dynamics on the particular contact (with code).

Thankful for any information here!

I have the same question (0)
  • Suggested answer
    Luis Nogueira Profile Picture
    on at
    RE: Upload document to Sharepoint through Dynamics (with code)

    Hi Kranis,

    You need a plugin. Please refer to this post community.dynamics.com/.../upload-documents-to-sharepoint-in-plugin for more information.

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Upload document to Sharepoint through Dynamics (with code)

    Yes, there is another way to do it other than using a plugin.

    Upload the document as an attachment to a note.  Then, a FLOW (Power Automate) would trigger on the creation of a note, move the note attachment into SharePoint, and then delete the note.

    If you need metadata around the document, then create a new entity called "Uploaded Document" with the needed MetaData fields in it, and add the Timeline to the Uploaded Document form.  Then, just set the metadata, upload an attachment to a note, and let the flow take care of the rest.

    See powerusers.microsoft.com/.../290923

  • Linn Zaw Win Profile Picture
    3,407 on at
    RE: Upload document to Sharepoint through Dynamics (with code)

    I have also written a blog post with similar requirement on how to Upload SharePoint Documents for Dynamics 365/CDS Records Using Flow

    http://linnzawwin.blogspot.com/2020/04/upload-sharepoint-documents-for.html

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 76 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 55 Most Valuable Professional

#3
Anthony Blake Profile Picture

Anthony Blake 43 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans