How to enable anonymous public access for SharePoint Online site collection, file, folder without login ?


Can SharePoint site content be shared publicly ?

Yes, you can share SharePoint Online files and folders using anonymous links which can be accessed without signing in.

You may want to share documents from your SharePoint Online site with external vendors, partners, customers so they can easily access them. Though SharePoint provides option of external sharing, but many users complain its a lengthy process and want to avoid it. Biggest problem is that the invitation email goes to the spam/junk folder.


Can entire SharePoint site be shared publicly ?

No, SharePoint Online Public Websites are discontinued. Read more here.


You can share SharePoint Online file or folder anonymously as public links which do not require external users to login with Organizational or Microsoft account.

Steps to enable SharePoint anonymous access

  1. Navigate to SharePoint Admin Center (require SharePoint Admin / Global Admin access).
  2. Open Sites --> Active Sites --> search your site.
  3. Open Policies --> External Sharing --> Edit --> select Anyone (IMPORTANT).
  4. Click Save.
  5. SharePoint External Sharing - Anyone.PNG
    SharePoint External Sharing - Anyone

  6. Navigate to the SharePoint Site Collection.
  7. Select the file/folder which you want to share anonymously --> Click Share and configure "Send link" as shown below.
  8. SharePoint Online Access - Send link.PNG
    SharePoint Online Access - Send link


    SharePoint access Link settings - Anyone.PNG
    SharePoint access Link settings - Anyone

    Who would you like this link to work for? - Anyone with the link (IMPORTANT).
    Expires - Default is 90 days, you can change the date.
    Set password (You will need to provide the password to others) - If you want additional security by allowing access only with a password.
  9. Click Apply.
  10. Now you can copy the link and share with external users.
  11. SharePoint Online Permission - Copy link.PNG
    SharePoint Online Permission - Copy link


  12. If you want to share .aspx pages anonymously, deactivate the Site Collection Feature "Limited-access user permission lockdown mode".
  13. When this feature is enabled, permissions for users in the "limited access" permissions level (such as Anonymous Users) are reduced, preventing access to Application Pages.


Reference - External sharing options for SharePoint Online site collection (Microsoft Office 365)

External Sharing setting are set at organization Tenant level, but can be overridden from individual Site Collection settings.

Sharing OptionUse to
AnyoneAllow site owners and others with full control permission to share the site with people who authenticate. Allow site users to decide when sharing files and folders to require authentication or allow unauthenticated people to access the item. Anyone links to files and folders can be freely forwarded.
New and existing guestsAllow site owners and others with full control permission to share the site with people outside the organization. These people will need to sign in and will be added to the directory. Allow site users to share files and folders with people who aren't in the organization's directory.
Existing guestsAllow sharing with only people already in your directory. These users may exist in your directory because they previously accepted sharing invitations or because they were manually added. (You can tell an external user because they have #EXT# in their user name.)
Only people in your organizationPrevent all site users from sharing any site content externally. (This is the default setting for new classic sites.)

Comments:

  • Wow! This is a real good article and to the point. I was looking for "how to enable anonymous access for my SharePoint Online site?" and all links on Google give the solution which has been deprecated. Now I am able to setup anonymous public links and share with my customers, which really works without a log in.
    anon 27 Nov 2020 03:43:21 GMT
  • can i make a SP list public because i want customers to fill a form without signup and no need to give user account and password?
    anon 12 Nov 2020 03:43:21 GMT
  • I must admit this is the only blog I came across which is giving a correct step-by-step solution for enabling SharePoint Online anonymous access, all other blogs refer to the old anonymous option which is deprecated long ago. Thank you and nice write-up. I was able to set this up in one go!
    anon 11 Nov 2020 21:09:45 GMT
  • Further comments disabled!



Recent Posts:




Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and Software Developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include Learnings, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.