I have site collection and added site collection administrator after I have restored the content database from the staging server after that its collection administrator name is added and deleted other administrator

so I can't open the site it shows the site not shared with you.

Sorry this site hasn't been shared with you

I have tried changing the secondary site collection administrator to but no use. kindly help me to resolve this

  • try to set using powershell. that should work. – Monica Jagani Jun 12 '17 at 10:32
  • I have tried that too but still it show "sorry the site not is not shared with you" error – Hariprasad Nagendren Jun 12 '17 at 10:44
  • Execute powershell with farm account. Also from farm account you should be able to navigate to central admin and update site administrator. – Monica Jagani Jun 12 '17 at 10:46
  • Yes i have runned the command under farm control and i have add another user by power shell command but nothing works – Hariprasad Nagendren Jun 12 '17 at 11:17
  • what is the authentication method being used in Production and test farm? are both farm on the same domain? – Waqas Sarwar MVP Jun 12 '17 at 13:36

Try to edit your SharePoitoint administrator via Central Administration as the following:

  • Open Central Administration > Application Management > Change Site Collection Administrators. enter image description here

  • Select your Web Application > Select the site collection.

  • Remove the old site collection administrators then add the new site collection administrators of the current farm.

enter image description here

  • Yes i have did this one but am getting the same error – Hariprasad Nagendren Jun 12 '17 at 11:15
  • Which error? !! – Mohamed El-Qassas MVP Jun 12 '17 at 11:17
  • Sorry this sit is not shared with you – Hariprasad Nagendren Jun 12 '17 at 11:18
  • I have enabled anonymous to but still am getting aite not shared with you – Hariprasad Nagendren Jun 12 '17 at 11:26
  • it's annoyed issue with multiple reasons, could you provide us the step by step that you have did to migrate from Staging to Production – Mohamed El-Qassas MVP Jun 12 '17 at 11:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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