Forum Discussion
kyletran
Feb 28, 2022Copper Contributor
SharePoint main page Sorry, you don't have access
Hi all, General question, on our main SharePoint ( https://sample.sharepoint.com/_layouts/15/sharepoint.aspx) page the viewers get "Sorry, you don't have access". It should redirect to https://s...
- Mar 01, 2022What you should do is go create a brand new site. Design it and get it ready, how you want it, then use the first link above and do a site swap and make he new site the brand new root site
David_Petree
Mar 01, 2022Brass Contributor
The "viewers" get Sorry, you don't have access". ??
Do you have access to it? It sounds like someone changed permissions on either the /sitepages folder or the /home.aspx page inside that folder.
First, that URL should not redirect to the sharepoint.aspx page. If they are going to sample.sharepoint.com, then it should go to the root site, not the users SP landing page.
The question to answer is, who changed the permissions on that folder or page?
A Site collection admin should be able to go in there and check, or if you cannot, put /_layouts/15/settings.aspx page and get in that way to go fix the permission issue
Do you have access to it? It sounds like someone changed permissions on either the /sitepages folder or the /home.aspx page inside that folder.
First, that URL should not redirect to the sharepoint.aspx page. If they are going to sample.sharepoint.com, then it should go to the root site, not the users SP landing page.
The question to answer is, who changed the permissions on that folder or page?
A Site collection admin should be able to go in there and check, or if you cannot, put /_layouts/15/settings.aspx page and get in that way to go fix the permission issue
kyletran
Mar 01, 2022Copper Contributor
Thank you David,
Would it be best practice for us to redirect it to another page like https://sample.sharepoint.com/_layouts/15/sharepoint.aspx. Any security concerns if we just redirect the page or modify the main page with basic HTML and Javascript?
Would it be best practice for us to redirect it to another page like https://sample.sharepoint.com/_layouts/15/sharepoint.aspx. Any security concerns if we just redirect the page or modify the main page with basic HTML and Javascript?
- David_PetreeMar 01, 2022Brass ContributorNo, it would not be good to redirect it
the /sharepoint.aspx page is a custom page that only the user that is signed in sees. It shows just the sites that the current user has access to and is set to follow. Think of it as a bookmark page for only the user that is logged in.
Now that is out of the way, what are you trying to accomplish?- kyletranMar 01, 2022Copper ContributorDavid,
Just get it so that the main SharePoint page does not display that ambiguous message of "Sorry, you don't have access" and a lot of white space. Some cosmetics to it, to enhance the main page look and feel. Ideally redirecting to Sharepoint.aspx so that they can see the tiles and latest SP sites, our SP is only for users who have logged in. Should the main page ( https://sample.sharepoint.com/) be anonymous access? Thanks again,- David_PetreeMar 01, 2022Brass ContributorNo site should be anonymous
- David_PetreeMar 01, 2022Brass ContributorThe old root,or x.sharepoint.com is more of a classic site. Do you still use that root site?
Do you have a new modern site you would want to make as your root site?
What are you trying to accomplish with the root site (x.sharepoint.com)