3

We were able to export site backup and when we are trying to import content of backup file to newly created site collection we are encountering with below error message which says access denied.

Import-SPWeb : Access is denied

We uses the SharePoint form account to run the script.

  • under which account you running the powershell, could you please login to site collection with same account and see if you can access the site...also check the Event Log / ULS log if you get more information from there...i.e where is getting access denied – Waqas Sarwar MVP Jan 29 '14 at 15:32
  • 1
    I could access the site with that account however still unable to import.. – Karthikeyan Jan 29 '14 at 15:34
  • run the powershell console as Administrator and then try again... If still issue then share the ULS logs / application log. – Waqas Sarwar MVP Jan 29 '14 at 15:46
  • run the command "whoami" in powershell. This will give you the user account which runs the scripts. Check if this user has enough permissions. – ReTech Jan 29 '14 at 15:52
  • Fixed the issue by Saving it as a Template – Karthikeyan Jan 29 '14 at 21:38

Your Answer

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

Browse other questions tagged or ask your own question.