Skip to main content
Druva Documentation

inSync fails to back up a locked site

This article applies to:

  • OS: Not applicable.
  • Product edition: inSync Cloud

Problem description

SharePoint backup fails with the following message  in the activity log: 

“[ERROR] SharePoint Backup failed for sitecollection: 11334, reason: {u'odata.error': {u'message':
{u'lang': u'en-US', u'value': u'Access to this Web site has been blocked.\n\nPlease contact the
administrator to resolve this problem.'}, u'code': u'-2130575247, Microsoft.SharePoint.SPException'}}
(#100000001)”

From Office 365, the activity log can be accessed from Manage > Cloud Apps > Office 365 > SharePoint > Site > Activity Stream.

Cause

  • SharePoint site is blocked in Office 365.
  • inSync does not back up locked  SharePoint sites.

Resolution

The resolution requires unlocking the SharePoint sites.

Inform the SharePoint administrators before unlocking the SharePoint sites.

  1. Use Powershell to unlock the SharePoint site. (There is a separate PowerShell module for SharePoint Online.)
  2. Download the SharePoint Online Management shell form its download link.
  3. Launch the SharePoint Online Management shell and run the following command:

    “connect-sposervice -url https://<domain>-admin.sharepoint.com”
     
  4. When prompted, enter the global admin credentials for Office 365.
  5. Check whether the following site status command returns the lock state as 'NoAccess'.

    “get-sposite -identity https://<domain>.sharepoint.com/sites/<sitename>”
  6. Unlock the site as follows:

    “Set-sposite -identity https://<domain>;.sharepoint.com/sites/<sitename> -lockstate unlock”
  7. Post unlock, initiate a backup of the site.