Collect Files From Anyone With Request Files in SharePoint

Collecting documents from people outside your organization usually ends in one of two bad places: a pile of email attachments, or a folder shared with edit rights to people who can now see everything else in it. Request files sits between the two. You pick a folder, send a link, and the person on the other end can upload into it and do nothing else. They cannot browse the folder, cannot see what anyone else sent, and do not need an account in your tenant.

It is also one of the features people most often cannot find. In OneDrive it tends to appear once Anyone links are allowed. In a SharePoint site it stays hidden until an admin switches it on, and the interface gives no hint that a switch exists. This post covers both halves: getting the command to appear, and what actually happens to the files once it does.

In this post: Prerequisites · What Request files actually does · Turning it on, especially in SharePoint · Creating a request · What the uploader sees · What lands in your folder · Stopping or changing a request · Why the command is missing · When would you actually use this? · Related reading


Prerequisites

  • OneDrive for work or school, or SharePoint in Microsoft 365. Microsoft lists the feature as unavailable in OneDrive for home and in Office 365 operated by 21Vianet.
  • Anyone links allowed at the organization level, and on the site itself if the folder lives in a SharePoint library. Turning Anyone links off turns Request files off with them.
  • Folder permissions for Anyone links set to View, edit, and upload or View and upload. A view-only setting removes the command.
  • External sharing not limited to specific security groups. If the setting Allow only users in specific security groups to share externally is on, file requests are unavailable.
  • SharePoint Administrator rights and the SharePoint Online Management Shell for the switches below. Microsoft documents them only as PowerShell settings.

What Request files actually does

A file request is an upload-only link on one folder. It shows up in that folder’s Manage access panel alongside any other links on it, and it behaves like a narrow Anyone link: whoever holds it can add files, and that is all.

Microsoft’s support article for the feature is precise about the limits on the uploader. They can upload files. They cannot see the contents of the folder, edit, delete or download anything, or even see who else has uploaded. From the requester’s side, every upload lands in the single folder you chose, each file gets a prefix to help identify who sent it, and two files with the same name do not overwrite each other, because OneDrive adds a number to the second one.

Turning it on, especially in SharePoint

There are three switches, and which one matters depends on where the folder lives. All three are covered on the Microsoft Learn page for enabling file requests.

  • SharePoint sites, tenant wide: CoreRequestFilesLinkEnabled on Set-SPOTenant. The cmdlet reference describes it as covering all SharePoint sites, not including OneDrive, and adds that when it is not set, Request files shows only for OneDrive. That one clause explains most of the “Request files is missing in SharePoint” questions.
  • OneDrive, tenant wide: OneDriveRequestFilesLinkEnabled, also on Set-SPOTenant.
  • A single site: RequestFilesLinkEnabled on Set-SPOSite, for when you want the feature on one intake site and nowhere else.

Each switch has a matching expiration setting in days. The documented range is 0 to 730, and 0 removes the expiry requirement altogether.

Connect-SPOService -Url https://contoso-admin.sharepoint.com

# What is set today
Get-SPOTenant | Select-Object CoreRequestFilesLinkEnabled, CoreRequestFilesLinkExpirationInDays,
    OneDriveRequestFilesLinkEnabled, OneDriveRequestFilesLinkExpirationInDays

# Turn it on for SharePoint sites, with request links that expire after 30 days
Set-SPOTenant -CoreRequestFilesLinkEnabled $true -CoreRequestFilesLinkExpirationInDays 30

# Or scope it to one intake site instead
$site = "https://contoso.sharepoint.com/sites/VendorIntake"
Set-SPOSite -Identity $site -RequestFilesLinkEnabled $true -RequestFilesLinkExpirationInDays 14
(Get-SPOSite -Identity $site -Detailed).RequestFilesLinkEnabled

Pick the expiry on purpose. A request link accepts files from anyone who has it. Without an expiry, a link pasted into an email to a supplier long ago keeps accepting uploads from whoever still has that email, until somebody remembers to delete it. The request dialog itself has no expiry field, so this admin setting is the only automatic way a request ever closes.

Creating a request

Start with a new, empty folder for each request. Uploads land alongside whatever is already in the folder, so pointing a request at a working folder mixes outside submissions in with your own files and makes the review step harder than it needs to be.

  1. In OneDrive or the SharePoint library, select the folder and choose Request files.
  2. Under What files are you requesting, enter a description. The people you send it to see this text, so write it for them: “Signed NDA, as a PDF” gets better results than “Documents”.
  3. Select Next. Either choose Copy link and send it yourself, or enter email addresses and an optional message for OneDrive to send on your behalf.
  4. Select Done.
The Request files command in the OneDrive toolbar with a folder named RFP selected
The Request files command on a selected folder in Microsoft OneDrive. Used with permission from Microsoft.
The Send file request dialog showing the upload link, a Copy link button and a field for email addresses
The Send file request dialog in Microsoft OneDrive, with the upload link and an optional email invitation. Used with permission from Microsoft.

To rename a request later, select the folder and choose Request files again. Anyone who already has the link sees the new name the next time they upload, so there is no need to resend it.

What the uploader sees

The recipient opens the link and gets a plain page: who is asking, the description you wrote, and a Select files button. They choose files, select Upload, and get a confirmation once the upload succeeds. They never see the folder, and they do not need OneDrive or a Microsoft account to do any of it.

A file request page reading Adele Vance is requesting files for RFP for Project X, with a Select files button
What the recipient sees on opening a file request link. Used with permission from Microsoft.

If the recipient is not signed in, they are asked for a first and last name, and this is the detail to understand before you lean on the feature for anything sensitive. Microsoft’s own note says that name is not validated, exists purely for the requester’s convenience, and is no guarantee of identity. If the recipient is signed in, their identity is recorded with the upload instead.

The name on an anonymous upload is whatever the uploader typed into a box. Treat it as a label, not as proof of who sent the file.

What lands in your folder

  • Prefixed files. Each upload carries a prefix identifying the sender. For anonymous uploads, the only name available for that is the one they typed.
  • No overwrites. Two uploads with the same file name both survive, with a number added to the second.
  • An email per upload. You get a notification whenever someone uploads to the request folder. On a request sent to fifty people, plan for fifty emails or a mail rule.
  • Ordinary files from then on. Once uploaded, they are files in that folder like any other. Everyone who already has access to the folder can see them, and whatever policies cover that library cover them too.

The request dialog asks for a description, recipients and a message, and nothing else. There is no way to restrict file types or sizes per request, so an open request link will accept the wrong file, a very large file, or something you would not want to open. Treat the folder as an inbox from strangers: review what arrives before moving anything into a working library.

Stopping or changing a request

To stop accepting files, delete the request link. Select the folder, open the ellipsis menu and choose Manage access, find the request under Links giving access, and delete it. Anyone holding the link can no longer upload.

Deletion cannot be undone. If you need more files from the same people later, create a new request on the folder and send the new link. That is mildly annoying for a recurring collection, and it is also the correct behaviour: a dead link should stay dead.

Why the command is missing

None of the causes below produces an error. The command is simply absent, which is why it gets reported as a bug. Check them in this order:

  1. It is a SharePoint library and nobody set the switch. Without CoreRequestFilesLinkEnabled, or the site level RequestFilesLinkEnabled, the command shows only in OneDrive.
  2. OneDrive is set to anything narrower than Anyone. Microsoft’s external sharing page states it flatly: “OneDrive settings other than Anyone disable file requests.”
  3. The site does not allow Anyone links, even though the organization does.
  4. Folder permissions for Anyone links are view only. They need to include upload.
  5. External sharing is restricted to specific security groups.
  6. The account is OneDrive for home, where the feature does not exist.

Items 2 to 5 are all sharing settings stacked on top of each other, and a narrower setting at any layer wins. SharePoint Sharing: 6 Settings That Override Each Other walks through that stack in order if you need to find which layer is blocking it.

When would you actually use this?

  • A supplier needs to send signed contracts or certificates and has no account in your tenant. A request gets the files into the right folder without inviting a guest for a one-off exchange and without attachments sitting in somebody’s mailbox.
  • You are collecting the same thing from many people who must not see each other’s submissions. Applications, receipts, signed forms. Hidden folder contents are the whole point here, and a shared folder cannot give you that.
  • The files are too large to email. The upload goes straight into SharePoint or OneDrive, so mail attachment limits never come into it, and the sender does not need to learn your file sharing setup to use it.
  • Not when you need to know for certain who sent a file. Anonymous names are unverified. Where identity matters, share the folder with specific people and let them sign in.

One thing I have not been able to pin down from Microsoft’s documentation is what happens when the tenant switch and a site’s own switch disagree. The Learn page lists them side by side without saying which one wins, and I would sooner not guess in print. If you have ever set the two differently on purpose, which one won?

Javascript O365 PnP PowerShell Rest Endpoint Send an HTTP Request to SharePoint SharePoint SharePoint Modern SharePoint Online SPO

Leave a Comment

Your email address will not be published. Required fields are marked *