Thursday, August 13, 2015

Clear Maintenance Mode to Unlock a Site Collection in SharePoint 2013

Problem: Another fine morning, SharePoint 2013 sites started displaying a message: "We apologize for any inconvenience, but we've made the site read only while we're making some improvements.". Same time, noticed a backup failure E-mail from the backup software!

sharepoint 2013 remove maintenance mode

Root Cause:
Since the Backup failure occurred, SharePoint placed the site to read-only mode. However, all options under "Site Collection Quotas and Locks" were disabled in SharePoint 2013 Central Administration site!

Solution: Clear maintenance mode using PowerShell
This is because, SharePoint site collection is set under maintenance mode. To clear maintenance mode in SharePoint, use this PowerShell script:
Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue

#Site Collection URL
$SiteURL = "http://intranet.crescent.com/"

#Clear Maintenance mode
$Admin = new-object Microsoft.SharePoint.Administration.SPSiteAdministration($SiteURL)
$Admin.ClearMaintenanceMode()
This removes maintenance mode in SharePoint 2013. Read more about SharePoint 2013 Maintenance Window Notifications



You might also like:
SharePoint Usage Reports
Usage reports, collaboration and audit for SharePoint.
Document SharePoint Farm
Automatically generate SharePoint documentation.
*Sponsored


Check out these SharePoint products:

No comments :

Post a Comment

Please Login and comment to get your questions answered!

You might also like:

Related Posts Plugin for WordPress, Blogger...