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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

Upload file to integrated SharePoint for Case entity by web api

(1) ShareShare
ReportReport
Posted on by 21
Hi,
I have requirement to upload files to sharepoint against a Case record.
How to upload file (pdf) to case record (by guid) on Sharepoint against a Case record ?
Sharepoint folder created automaticlly when uploaded file by D365 case Documnet tab, but I need to do this in the background using API.  
There is any way to create this funcionality?
Thanks
  • Leah Ju Profile Picture
    Microsoft Employee on at
    Hi partner,
    Through web api?
     
    If you don't want to upload in the form, maybe you can try to use power automate to achieve it.

    I hope you can mark my answer verified if it is helpful! If you have any questions, please feel free to contact me.
    Regards,
    Leah
     
  • BB-06050824-0 Profile Picture
    21 on at
    Thank you, Leah Ju â€‹â€‹â€‹â€‹â€‹â€‹â€‹ this is what i'm looking for my solution. 
    One question: 
    When file is uploaded by d365 , folder on share point is created automatycly for specyfic case. How to invoke the same from code? 
    I ahve API on server and conected in to custom connector by on-premises connection.
    Expected example solution: 
    1. external application send resuest to upload file (event in our system) and assigned to the specyfic case based on GUID. This should create new folder on share point and assigned to case
    2. user can invoke action from d365 interface (customer service) to send request to my API. My API will send reques to generate file and upload in to sharepoint for specyfic case based on GUID. 
    in both requirement if folder not exist, methode should create folder and assigned to case. I have integrated Sharepoint with D365 Customer Service. 
  • Suggested answer
    ba365guy Profile Picture
    2,950 on at
    This blog post will give you a base idea to create a SharePoint folder and document location and link it with the newly created case. 
    You can get the document location based on case guid and upload your pdf there. 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
11manish Profile Picture

11manish 50 Super User 2026 Season 2

#2
Travis South Profile Picture

Travis South 45

#3
Ayesha Wajahat Profile Picture

Ayesha Wajahat 18

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans