File requests in SharePoint Online allow users to request files from others, simplifying the process of collecting documents and information. When a user creates a file request, they generate a unique link to share with individuals who need to upload files. This link directs recipients to a designated folder within the user’s OneDrive or SharePoint library where they can upload files without needing to sign in or access the entire document library.
Blog Series
- Part 1 – Getting Started with SharePoint Online
- Part 2 – Set up PowerShell for SharePoint Online Administration
- Part 3 – Create and Remove SharePoint Sites
- Part 4 – Configure Storage Limits on SharePoint Sites
- Part 5 – Configure External Sharing for SharePoint and OneDrive for Business
- Part 6 – Enable File Requests in SharePoint Online and OneDrive for Business
- Part 7 – Managed Metadata with SharePoint Term Store
Steps to enable File requests
- Ensure that external sharing is enabled on your SharePoint site or OneDrive account. This allows recipients outside your organization to access the file request link and upload files. Navigate to Sharing > Policies. Ensure that the External sharing setting is configured to allow “Anyone”.
- Set the Anyone links permission for folders to “View, edit, and upload”.
- Use the below command to enable File Request on SharePoint
1 2 3 4 5 6 7 |
<span class="line"><span style="color: #EEFFFF">#Enable the File Request link on a specific SharePoint Site </span></span> <span class="line"><span style="color: #EEFFFF">$SiteURL </span><span style="color: #89DDFF">=</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">"</span><span style="color: #C3E88D">https://grandvm02.sharepoint.com/sites/TeamSite1</span><span style="color: #89DDFF">"</span></span> <span class="line"><span style="color: #EEFFFF">Set</span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">SPOSite </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Identity $SiteURL </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">RequestFilesLinkEnabled $True</span></span> <span class="line"></span> <span class="line"><span style="color: #EEFFFF">#Enable the File Request link on all Sites</span></span> <span class="line"><span style="color: #EEFFFF">Set</span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">SPOTenant </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">CoreRequestFilesLinkEnabled $True</span></span> <span class="line"></span> |
- The below command will Enable or Disable File requests for OneDrive for Business
1 2 3 4 5 6 |
<span class="line"><span style="color: #EEFFFF">#Enable File Requests</span></span> <span class="line"><span style="color: #EEFFFF">Set</span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">SPOTenant </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">OneDriveRequestFilesLinkEnabled $True</span></span> <span class="line"></span> <span class="line"><span style="color: #EEFFFF">#Set Request Files Link </span><span style="color: #82AAFF">expiration</span><span style="color: #EEFFFF"> (e</span><span style="color: #89DDFF">.</span><span style="color: #EEFFFF">g</span><span style="color: #89DDFF">.</span><span style="color: #EEFFFF"> </span><span style="color: #F78C6C">7</span><span style="color: #EEFFFF"> days)</span></span> <span class="line"><span style="color: #EEFFFF">Set</span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">SPOTenant </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">OneDriveRequestFilesLinkExpirationInDays </span><span style="color: #F78C6C">7</span></span> <span class="line"></span> |
To create a file request in OneDrive or SharePoint
In OneDrive or SharePoint site, navigate to the folder where others can upload the files. Right-click the folder and select ‘Request files‘
Enter a Description and Select Next
Copy the link or you can choose to send the link via email.
They will receive an email as shown below.
Anyone with the link can send you files, even if they don’t have OneDrive. They must enter their First and Last names while uploading the documents.
All uploaded files will be saved in the designated folder, with a prefix indicating the uploader’s identity.
Note: Those who respond to your request can only upload files; they won’t have access to view or edit your OneDrive content.
To stop requesting files in a folder
Right-click the File Request folder and go to Manage Access to view or edit the Expiration date.
The expiration settings for Anyone links (shared files or folders) can be adjusted in the SharePoint Admin Center.
Below PowerShell commands can be used to disable File Requests on SharePoint and OneDrive for Business.
1 2 3 4 5 6 7 8 9 10 |
<span class="line"></span> <span class="line"><span style="color: #EEFFFF">#To disable File Requests </span><span style="color: #89DDFF">in</span><span style="color: #EEFFFF"> a specific SharePoint Site</span></span> <span class="line"><span style="color: #EEFFFF">$SiteURL </span><span style="color: #89DDFF">=</span><span style="color: #EEFFFF"> </span><span style="color: #89DDFF">"</span><span style="color: #C3E88D">https://grandvm02.sharepoint.com/sites/TeamSite1</span><span style="color: #89DDFF">"</span></span> <span class="line"><span style="color: #EEFFFF">Set</span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">SPOSite </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">Identity $SiteURL </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">RequestFilesLinkEnabled $false</span></span> <span class="line"></span> <span class="line"><span style="color: #EEFFFF">#Disable Request files link on the core partition for all SharePoint </span><span style="color: #82AAFF">sites</span><span style="color: #EEFFFF"> (excluding OneDrive sites)</span></span> <span class="line"><span style="color: #EEFFFF">Set</span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">SPOTenant </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">CoreRequestFilesLinkEnabled $false</span></span> <span class="line"></span> <span class="line"><span style="color: #EEFFFF">#Disable File Requests on OneDrive for Business</span></span> <span class="line"><span style="color: #EEFFFF">Set</span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">SPOTenant </span><span style="color: #89DDFF">-</span><span style="color: #EEFFFF">OneDriveRequestFilesLinkEnabled $False</span></span> |
Note: These settings allow you to balance convenience and security. Adjust them according to your specific use case and organizational requirements.