π΄ Folders cannot be shared with anonymous edit links in SharePoint Online.
Microsoft intentionally restricts anonymous edit access for folders in SharePoint for security and data loss prevention reasons. Allowing anonymous users to edit entire folders (which could include nested files/folders) would bypass many controls (versioning, retention, classification, etc.).
You can share folders with anonymous view links.
You cannot share folders with anonymous edit links β users must be authenticated.
Let users edit the folder by sharing with authenticated users only:
Go to the folder in SharePoint.
Click Share.
Choose "Specific people".
Check "Allow editing".
Enter Microsoft 365 email addresses (external or internal).
Share the link.
This works and allows full folder editing, but requires sign-in.
If anonymous editing is a hard requirement:
Share individual files within the folder, not the folder itself.
Each file will have its own anonymous edit link.
β οΈ You may need to automate this (e.g., via Power Automate or a script) if dealing with many files.
In OneDrive for Business, folder-level anonymous edit links are allowed, depending on admin settings.
If the content isnβt sensitive, consider moving the folder to your OneDrive and sharing it from there.
You can set an expiration date and password for additional control.
| Feature | SharePoint | OneDrive |
|---|---|---|
| Anonymous view of folders | β Yes | β Yes |
| Anonymous edit of folders | β No | β Yes |
| Anonymous edit of files | β Yes | β Yes |