but what i need is i want to upload file to sharepoint from salesforce, Is it possible ? i also gone through the different application but they all are paid services by the provider.
Is there any chance to upload a file to sharepoint from salesforce using apex code ?
please guide.
Thanks a ton
Hi Nihar, Files Connect mainly lets you access/view SharePoint files inside Salesforce, but it does not fully solve the use case where users want to upload Salesforce files directly into SharePoint folders from a Salesforce record.
Yes, it is technically possible to build this using Apex + SharePoint APIs/Microsoft Graph API, but it usually requires custom authentication, file handling, folder mapping, permission management, and ongoing maintenance.
A simpler no-code option is CloudFiles, a native Salesforce–SharePoint integration from AppExchange.
With CloudFiles, you can:
- Upload files from Salesforce records directly into SharePoint
- Auto-create SharePoint folders when records are created
- View, upload, delete, and manage SharePoint files inside Salesforce
- Store files in SharePoint instead of Salesforce, saving Salesforce storage
- Configure everything with OAuth and Salesforce Flow, no Apex required
So, if your goal is only to view SharePoint files, Files Connect may work. But if you want full upload and file management from Salesforce to SharePoint, CloudFiles is built exactly for that use case.
AppExchange: https://appexchange.salesforce.com/appxListingDetail?listingId=a0N4V00000Gh9uFUAR