Users are getting Access Denied if they try to access th site without specifying the home page name

john john Pter 340 Reputation points
2024-07-11T10:29:55.3133333+00:00

I have a communication online sharepoint site, and i defined some users to have access (Read-Only) to only the home page nothing else. now the users can access the home page using this full url (by specifying the page name inside the url):-

https://*****.sharepoint.com/sites/SalesHub/SitePages/TopicHome.aspx

but if they try to access the site url only :-

https://*****.sharepoint.com/sites/SalesHub/

They will get Access Denied, as follow:-

User's image

although the TopicHome is the home page of the site.. any advice?

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,871 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
3,059 questions
{count} votes

Accepted answer
  1. Emily Du-MSFT 47,471 Reputation points Microsoft Vendor
    2024-07-12T08:02:44.78+00:00

    Per my test, this behavior is expected and is not a cause for concern.

    When a user accesses the site, except the home page, he also accesses some site settings, such as site navigation, site theme and etc.

    When a user accesses the home page through URL, he only accesses a page, not including site navigation, site theme and etc.

    So, when a user only has access to home page, he cannot access the site.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    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.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.