Enable file requests in SharePoint or OneDrive
With the file request feature in OneDrive or SharePoint, users can request files by sending a link where others can upload files. When users upload files, they can't view, edit, delete, or download files in the folder or see who else has uploaded.
Admins can manage the Request files feature via the SharePoint Online Management Shell.
Important
File request is only available if:
- You’re using OneDrive for work or school.
- The admin has enabled Anyone links.
- Folder permissions are set to View, edit, and upload for Anyone links.
- Allow only specific security groups isn’t enabled.
- Not available for Office 365 operated by 21Vianet, OneDrive for home, or Office 365 Germany.
Note
Disabling Anyone links also disables Request files on SharePoint and OneDrive.
To manage Request files for SharePoint:
- Ensure Anyone links are enabled.
- Set folder permissions to View, edit, and upload.
- Verify
CoreRequestFilesLinkEnabled
is True via the SharePoint Online Management Shell:- Run
Get-SPOTenant
. - If not set to True, use
Set-SPOTenant -CoreRequestFIlesLinkEnabled $True
.
- Run
(Optional) Set link expiration using Set-SPOTenant -CoreRequestFilesLinkExpirationInDays
.
To manage Request files for OneDrive:
- Enable Anyone links.
- Set folder permissions to View, edit, and upload.
- Configure Anyone links for OneDrive at the tenant level.
- Verify
OneDriveRequestFilesLinkEnabled
is True via the SharePoint Online Management Shell:- Run
Get-SPOTenant
. - If not set to True, use
Set-SPOTenant -OneDriveRequestFilesLinkEnabled $True
.
- Run
(Optional) Set link expiration using Set-SPOTenant -OneDriveRequestFilesLinkExpirationInDays
.
To manage Request files for a specific site:
- Ensure Anyone links are enabled.
- Set folder permissions to View, edit, and upload.
- Verify
RequestFilesLinkEnabled
is True via the SharePoint Online Management Shell:- Run
$r=Get-SPOSite -Identity <SiteURL> -Detailed
. - If not set to True, use
Set-SPOSite -RequestFIlesLinkEnabled $True
.
- Run
(Optional) Set link expiration using Set-SPOSite -RequestFilesLinkExpirationInDays
.
For more information on file requests, see Create a file request.