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 :
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
I have the same question (0)
  • Leah Ju Profile Picture
    Microsoft Employee on at
    Upload file to integrated SharePoint for Case entity by web api
    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
    Upload file to integrated SharePoint for Case entity by web api
    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
    Upload file to integrated SharePoint for Case entity by web api
    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

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 > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 51 Super User 2025 Season 2

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 46

#3
CU23101130-0 Profile Picture

CU23101130-0 17

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans