0

We have a SharePoint online Modern site where no one has access. Using PowerShell we have broken the unique permission of Home.aspx page and added read permission to all.

Now when user opens the site using URL https://tesing.sharepoint.com/abc/ they get access denied but if they give full path https://testing.sharepoint.com/abc/SitePages/Home.aspx they are able to see the content. Home.aspx is default page of the site

5
  • Dou your users have any permission to the site at all, or only the Home.aspx?
    – Benny Skogberg
    Commented Dec 13, 2021 at 7:50
  • @BennySkogberg only Home.aspx also Home.aspx is default page of the site
    – Md. Zakir
    Commented Dec 13, 2021 at 8:21
  • If your users don't have read access to the site, the browser can't find the reference to the default page (Home.aspx). So you need to give them read access to the site itself.
    – Benny Skogberg
    Commented Dec 13, 2021 at 8:35
  • @BennySkogberg but the requirement is that user wont have access to the site , they will be able to access only landing page where there is SPFx webpart from where they will raise access request.
    – Md. Zakir
    Commented Dec 13, 2021 at 11:06
  • In this case I would create an empty subsite only containing Home.aspx and nothing else. Users have read access to the subsite, but since it doesn't contain valuable data, its the way to go
    – Benny Skogberg
    Commented Dec 14, 2021 at 5:44

1 Answer 1

0

Please make sure that the user has access to the entire SharePoint site collection, not just to the Site Pages Library.

Here is my test:

1.Naviagtion to Site Permissions page (/_layouts/15/user.aspx) as a site admin.

2.Click Check Permissions. In my test, user named test

enter image description here

3.Go to the Site Pages library, click Library settings

enter image description here

4.On the Settings page, click "Permissions for this document library" link

enter image description here

5.On the Library Permissions page, click "Check Permissions". In my test, user:test has Edit permission in the Site Pages Library

enter image description here

enter image description here

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.