Forum Discussion

LabTest788's avatar
LabTest788
Copper Contributor
Aug 05, 2022
Solved

Sharepoint Subscription Edition error anonymous access user profile application

Hi,

 

I'm having a problem configuring SharePoint.


I would like to have a site accessible by anonymous users. When users log in, they have other pages. They also must have Self-service site creation (about me).


I have configured anonymous access. Works. I have configured user profile application with self-service site creation. Also works.


The problem is that by activating the « user profile service application » on the web application (proxy group default) the anonymous access no longer works. Forced to login (prompt). If I remove the user profile service application from the proxy group. Anonymous access works but I no longer have the "about me" button, just the user's name.


The same configuration on my SharePoint on premise 2019 works without problem.
Is this a bug or is there a particular configuration to do?

 

 

 

 

Thanks

  • I found the answer. Disable « following content » (suivie de contenu in french) in site features. No need to do it with Sharepoint 2019. Bug?

4 Replies

  • WH-808's avatar
    WH-808
    Copper Contributor

    LabTest788 

    Doesn't seem like a bug, it looks more like use of the service application vs. intent of the service application.  I don't believe the user profile service application was intended for use on anonymous sites, but intranet sites and the like that require authentication.  I've never used it on an anonymous site and mixing anonymous access and authenticated access on the same web application has generally lead to pain in my SharePoint experiences.  You can usually separate the two completely, or a the very least, use separate zones and URLs for each by extending the web application and setting unique authentication methods for each zone, ie, set anonymous on one zone and require authentication on the other.  It's probably best to separate them though to keep the service application out of the mix, unless there is a way to use separate service applications per zone now.

  • LabTest788's avatar
    LabTest788
    Copper Contributor
    I found the answer. Disable « following content » (suivie de contenu in french) in site features. No need to do it with Sharepoint 2019. Bug?
    • Rimayug's avatar
      Rimayug
      Copper Contributor

      LabTest788 thanks for the solution!

      definitely a bug. Upgraded a site from 2013 through 2016 to Subscription Edition and had the same issue with anonymous on the SE. You can disable User Profile service from the webapp’s Service Connections if you don’t need it’s features for your editors.

      in our case we did need User Profile service so we disabled “FollowingContent” feature at web level. In case someone needs it, here’s the id for the feature: a7a2793e-67cd-4dc1-9fd0-43f61581207a

  • LabTest788's avatar
    LabTest788
    Copper Contributor
    I just test in lab with 2019 and 2022. Same instal (Windows server 2022 clone), same Sql Server an AD. It's works on 2019, not on 2022. I thinks it's a bug. This is problematic because it is a major unusable feature.

Resources