A Salesforce SharePoint integration works when you decide three things first: which system owns each type of file, whether Salesforce stores a copy or only a reference, and whose permissions apply. Settle those, test SharePoint's limits with real folders, and only then choose between Salesforce's built-in connector and custom integration work.
The pattern is common. Sales lives in Salesforce, contracts and project documents live in SharePoint, and people waste time hunting for the latest version or emailing attachments that should never leave the company. Connecting the two fixes that, but only if the plan comes before the setup screen.
Why connect Salesforce and SharePoint at all?
Most teams want one thing: open an account, opportunity or case in Salesforce and see the right documents without switching tools. Common examples are proposals and signed contracts on opportunities, onboarding packs on accounts, and photos or reports on service cases.
There is also a storage reason. Salesforce file storage is limited by edition and contract, and extra storage costs money. SharePoint storage in Microsoft 365 business and enterprise plans is pooled at 1 TB plus 10 GB per license, according to Microsoft's SharePoint limits page. Check your own Salesforce storage page before you assume either way.
Where should each type of file live?
Write a short table before any setup. For each document type, name the system of record, the owner and the record it belongs to in Salesforce. A simple version looks like this:
- Proposals and quotes: created from Salesforce, stored in SharePoint, linked to the opportunity.
- Signed contracts: stored in SharePoint with retention rules, visible from the account.
- Project documents: owned by the delivery team in SharePoint, read-only from Salesforce.
- Small attachments on cases: may stay in Salesforce if volume is low.
If nobody owns a folder today, fix that first. Our guide on naming SharePoint document owners before a migration covers how to assign them.
Should Salesforce copy files or reference them?
Salesforce's built-in option is Files Connect. Its implementation guide describes it as a way to search and share files from external systems like Google Drive and SharePoint, and it supports SharePoint Online and OneDrive for Business. It offers two sharing modes:
- Copy: Salesforce stores its own copy of the file. People can open it even if they have no SharePoint access, but the copy does not follow later edits made in SharePoint.
- Reference: Salesforce points to the file in SharePoint. It shows the latest version, and downloads require the user to have access in SharePoint.
For contracts and anything that changes, we usually recommend Reference, so there is one current version. Copy fits files that must be frozen at a point in time, such as a quote sent to a customer.
How should permissions work across both systems?
This is where most integrations go wrong. The guide says Reference mode reflects access restrictions from the external system. That is good for security, but it means a sales rep with no SharePoint permission will see a link they cannot open.
Files Connect also asks how users sign in to SharePoint. Per User means each person uses their own Microsoft credentials. Named Principal means everyone uses one shared set of credentials. Per User keeps SharePoint's permissions intact. Named Principal is simpler, but everyone who reaches the data source sees what that one account sees, so treat it as a security decision, not a convenience setting.
Plan permissions at the library or folder level, not file by file. Microsoft supports up to 50,000 unique permissions in a list or library but recommends a general limit of 5,000, and you cannot break or reinherit permissions on a list, library or folder holding more than 100,000 items.
Which SharePoint limits should you test before launch?
Run a pilot with real folders, not a demo library. The limits we check against Microsoft's published numbers are:
- Path length. The full decoded file path, including the file name, cannot exceed 400 characters. Deep folder trees named after long account names hit this faster than you expect.
- File size. The upload limit is 250 GB per file, which rarely matters for documents but can matter for video or CAD files.
- Library size. A library can hold up to 30 million files and folders. The practical issue is usually permissions and sync, not this ceiling.
- Sync. If staff also sync libraries to their laptops, Microsoft lists 300,000 files per library as a soft limit for good sync performance.
When is the built-in connector not enough?
Files Connect is a good start when people mainly need to find and attach existing files. Teams usually need custom work when they want:
- A SharePoint folder created automatically for every new account or opportunity, with a standard structure.
- Salesforce fields, such as account number or deal stage, written to SharePoint metadata for search and retention.
- Documents generated from Salesforce data and filed in the right folder without anyone dragging files.
- Approval or signature steps that move files between folders and update the Salesforce record.
Those flows need an integration that calls both systems' APIs, handles errors and logs what happened. If you are still deciding whether Salesforce is the right CRM at all, start with what to check before you buy Salesforce. For a similar planning approach on web leads, see website to CRM integration.
How does Hexagon help with Salesforce and SharePoint?
We start with the file ownership table and permission model, then configure Files Connect where it fits and build custom connections where it does not. Our API integration services team builds folder automation, metadata sync and document generation with logging and retry handling. Our CRM services team handles the Salesforce side. Book a free consultation to review your current file setup.
Frequently asked questions
Yes. Salesforce Files Connect lets users browse, search and attach SharePoint Online and OneDrive for Business files from Salesforce. Custom work is needed for automatic folder creation, metadata sync and document workflows.
Only if you choose Copy mode. Reference mode points to the file in SharePoint, shows the latest version and requires SharePoint access to download.
In Reference mode with per-user sign-in, yes. Users only open files they can already access in SharePoint. A shared Named Principal login changes that, so decide it deliberately.
Usually path length and permissions. The full decoded path cannot exceed 400 characters, and Microsoft recommends keeping unique permissions in a library to about 5,000.

