logo
search
File Sharing Problems

How to Send Multiple OneDrive File Links in One Email

Maira MehtabMaira Mehtab Sep 21, 2026 870 views

Question details

The user needs a method to send multiple OneDrive file links to a team recipient in a single email, avoiding the hassle of sending separate emails for each link.

Product
Microsoft OneDrive
Device & OS
not provided
Scenario
A company is migrating from Box to OneDrive. The user must regularly share around 10 file links with team members who do not actively check OneDrive.
Observed behavior
Currently, the user is forced to send a separate email for each of the 10 OneDrive file links, resulting in inbox clutter and an inefficient workflow.
Before you start

Ensure you have the necessary sharing permissions for the OneDrive files you intend to send, and verify that your system allows running custom PowerShell scripts if you choose the automated method.

Solution 1Recommended

Use a Custom PowerShell Script to Automate Emails

Create and execute a PowerShell script to gather multiple OneDrive file links and send them together in one customized email payload.

PowerShell is a highly capable scripting environment that can interact directly with Microsoft 365 services. By writing a custom script, you can extract the sharing URLs for multiple OneDrive files and compile them into a single automated email, effectively bypassing the manual one-by-one sharing limitation.

1
Launch PowerShell

Open PowerShell on your Windows device with administrator privileges.

2
Connect to Microsoft 365

Use the SharePoint Online Management Shell or Microsoft Graph PowerShell modules to authenticate and connect to your organization's OneDrive environment.

3
Generate the Sharing Links

Write a loop in your script to iterate through the specific OneDrive files you wish to share, utilizing commands to generate a sharing link for each file.

4
Compile and Send the Email

Pipe the generated links into an array, format them as an HTML list, and use the Send-MailMessage cmdlet or a Graph API call to send the compiled list to your recipient in a single email.

Scripting Knowledge Required: This solution requires familiarity with PowerShell scripting. Ensure you test your script in a safe environment before running it in production.
Free Microsoft Office alternative

Streamline Your Document Sharing with WPS Office

If navigating complex PowerShell scripts for basic file sharing in Microsoft 365 feels overwhelming, consider using WPS Office. As a powerful, lightweight suite, it offers built-in cloud management that makes sharing multiple files effortless, all while maintaining strict compatibility with your existing Microsoft Office documents.

  1. 1. Upload Files to WPS Cloud: Open WPS Office and save or upload your desired documents to a single folder in WPS Cloud.
  2. 2. Generate a Folder Link: Right-click the folder containing your multiple files and select 'Share' to generate one comprehensive sharing link.
  3. 3. Send One Simple Email: Paste the single folder link into your email client and send it to your team recipients.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Easily organize files into a WPS Cloud folder and share the entire directory with a single, secure link.Lightweight application that runs smoothly across Windows, Mac, Linux, iOS, and Android.Free to download and use, featuring a familiar, easy-to-navigate user interface.
microsoft office alternative - wps office

Frequently Asked Questions

Can I manually select multiple files in OneDrive and share them at once?

Yes, you can check multiple files in the OneDrive web interface and click 'Share'. However, this often sends an automated generic notification rather than allowing you to construct a custom email with all links cleanly listed, which is why PowerShell or folder sharing is preferred.

Why does OneDrive send separate emails for individual link shares?

When you use the default 'Send link' dialog for a specific file in OneDrive, the system treats it as an independent sharing action and triggers a distinct email notification for that specific file to the recipient.

Is there a no-code workaround to share multiple OneDrive files via email?

Yes. The simplest manual workaround is to create a new folder in OneDrive, move or copy all 10 files into that folder, and then generate a single sharing link for the folder. You can then paste this one link into an email manually.

Do I need admin privileges to run PowerShell scripts for Microsoft 365?

Depending on your organization's IT and security policies, running scripts that interface with Microsoft 365 services like SharePoint and OneDrive often requires administrative rights or specific API permissions granted by your IT department.