How to Create a Word Mail Merge Using a SharePoint Online Data Source
Question details
The user needs to execute a mail merge in Word using a data source hosted on SharePoint Online, but organizational policies are preventing a direct connection to the cloud file.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Attempting to link an Excel or Access data source stored on SharePoint Online to a Word document for a mail merge under strict IT network policies.
- Observed behavior
- Word fails to connect directly to the SharePoint Online data source due to restricted local or cloud file access policies.
Verify that your organization allows downloading or syncing files from SharePoint Online to your local computer via OneDrive.
Use a Locally Synchronized Folder for the Data Source
By syncing or downloading the SharePoint data source to a permitted local directory, you can bypass cloud-linking restrictions in Word.
Because some organizational policies block Microsoft Word from making direct external data connections to SharePoint URLs, accessing the file locally is the most reliable workaround.
Open SharePoint Online in your web browser, navigate to your data source file, and either click the 'Sync' button to link it via OneDrive or download a local copy to your machine.
Create a dedicated folder on your computer that bypasses network restrictions. If permitted by your IT policy, create a folder in your root directory such as C:\Merge Files.
Place the downloaded or synchronized data source file into the newly created local folder.
Open your Word document, navigate to the 'Mailings' tab, click 'Select Recipients', choose 'Use an Existing List', and browse to your local folder to attach the file.

Try WPS Office for Seamless Mail Merge and Document Creation
If Microsoft 365 policies and SharePoint restrictions are disrupting your workflow, WPS Office offers a lightweight and free alternative. WPS Writer fully supports mail merge functionality with high compatibility for Microsoft Office formats, allowing you to easily link local data sources without complex cloud access issues.
- 1. Download and Install: Download WPS Office Free from the official website and install it on your PC.
- 2. Open WPS Writer: Launch WPS Writer and open your main document template.
- 3. Start Mail Merge: Go to the 'References' tab, click 'Mail Merge', and select your local Excel data source to easily generate your documents.

Frequently Asked Questions
Why can't Word connect directly to my SharePoint Excel file for mail merge?
Organizational policies or network security settings often block direct external data connections to cloud paths (like URLs) in Word to prevent unauthorized data access or malicious queries.
Will changes to the local downloaded data source reflect in SharePoint?
Only if you used the OneDrive Sync feature. If you manually downloaded a copy, any changes made to the data source locally will not automatically upload back to SharePoint Online.
How do I perform a mail merge if my C drive is completely locked by IT?
Try saving the data source in your designated user folder (like Documents or Desktop), which usually has read/write permissions, or use a OneDrive synced folder permitted by your administrator.
Can I use a web URL as a data source in Word mail merge?
Generally, Word requires a local file path or a mapped network drive for OLE DB connections. Using a raw HTTPS SharePoint URL often results in connection errors unless the directory is synced locally via the OneDrive client.




