Tuesday, June 28, 2016

Unlock the SharePoint site using Powershell command

if your SharePoint site locked, then use the below Powershell command to unlock.

Note: Lock means your site will be disabled all actions (creating new item, library/list settings, limited site action menu etc.,) even if you are site collection administrator.

if you try to add another user as site collection administrator using powershell/central administrator, then will get the following error. this error because of SharePoint Lock.

Additions to this Web site have been blocked

To avoid above errors. use the below Powershell command

Set-SPSite http://SiteCollectionUrl -LockState Unlock

No comments:

Post a Comment