Why it ask me for login?

Er Bo Guan 461 Reputation points
2021-04-13T20:58:43.82+00:00

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

87427-er0.jpg

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

87456-er1.jpg

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,794 questions
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Elsie Lu_MSFT 9,756 Reputation points
    2021-04-14T09:02:37.16+00:00

    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
    2021-04-14T13:55:55.65+00:00

    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?

    0 comments No comments

  3. Er Bo Guan 461 Reputation points
    2021-04-14T16:21:19.127+00:00

    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?

    87855-er2.jpg


  4. Er Bo Guan 461 Reputation points
    2021-04-15T21:16:10.117+00:00

    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.

    0 comments No comments