I Created a web app in SharePoint 2013, and a site collection as well. But when I am about to open the page I get this message:

Sorry, this site hasn't been shared with you.

Any suggestions?

3 Answers 3


Log in as an Site Collection Admin and give the user you're logging in as permissions on the site.

  • It does not show the login page at all. Dec 12, 2012 at 16:12
  • I somehow managed to to Show Windows Security to Log On to a Site in SharePoint 2013. Primary site collection administrator is TEST-LAB\administrator; But when I login with that it does not get through! Dec 12, 2012 at 16:15
  • Check domains and user name in site collection administrators.
    – Alexander
    Dec 12, 2012 at 18:32
  • I was unable to do this, since I had set the two Site Collection Admins (primary and secondary) to internal users whose accounts I can't access. Instead I changed one the Primary Site Collection Admin to myself.
    – msulis
    Dec 2, 2014 at 19:54

I made this same mistake and selected the two key users who would be administering the site in the future, assuming my domain admin account would still be able to log into the site.

In Central Admin, go to Application Management > Change site collection administrators.

Set one of them (primary or secondary) to yourself.


I've had the same problem. After I installed update for sharepoint 2013, I didn't run product and configuration wizard, When I run that then It was fine. Just run configuration wizard and try again

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.