Why it ask me for login?

Er Bo Guan 461 Reputation points

I have a public site. It is enable for "anonymous" login. I allow "anonymous" users to make an appointment by set the list permission as


but when I client the icon to add item to the list, SharePoint asks me to login?


I want to know what is the solution and what I miss. Many thanks.

SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,360 questions
No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Elsie Lu_MSFT 9,621 Reputation points

    Hi @Er Bo Guan ,

    Which version of your SharePoint?

    You could first check if the Anonymous is enabled in IIS Authentication.Then check if you enable Publishing feature at site collection level and site level.

    And please check the features of your site collections via the following command:

     get-spfeature -site http://sitecollectionURL  

    If ViewFormPagesLockDown is listed, it's enabled.

    Please use the following command to disable it:

      $lockdown = get-spfeature viewformpageslockdown  
      disable-spfeature $lockdown -url http://sitecollectionURL  

    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

  2. Er Bo Guan 461 Reputation points

    Thanks for your response, ElsieLu.

    We used SharePoint 2016.
    I see the feature, viewformpageslockdown, was there. I disabled it. However, it still ask for login if I want to add new item?

    No comments

  3. Er Bo Guan 461 Reputation points

    I am in SharePoint 2016 (v15). I disable this feature in 15. But it is enable in 14. It this matter? or how to I disable it to 14?


  4. Er Bo Guan 461 Reputation points

    Thanks Elsie,

    Now, we are able to create "anonymous" entries. However, if we disable this feature. "anonymous" users will be able to view the "Site Content" page. This is a security issue for us.

    No comments