> ## Content Index
> Fetch the complete content index at: https://blog.lsonline.fr/llms.txt
> Use this file to discover other available public pages before exploring further.

# SharePoint Site Collection Error 403
- URL: https://blog.lsonline.fr/2018/12/24/sharepoint-site-collection-error-403/
- Published: 2018-12-24T16:04:15.000Z
- Updated: 2026-01-27T18:05:52.000Z
- Description: If you are facing a 403 error with one or more SharePoint sites collections, here is the PowerShell cmdlet that will allow you to unblock them
- Author: Laurent Sittler
- Tags: SharePoint, SharePoint 2013, SharePoint 2016, SharePoint Online, PowerShell

Have you ever encountered a 403 error on a SharePoint site collection?

Personally, I am not able to reproduce this behavior. This being said, I already encounter this problem with one of my customers on a site's collection with data that cannot be lost.  
  
I still haven't found the cause; however, the property of the sites collection that causes it is `-LockState`.  
  
Below, the *SharePoint Online* **PowerShell** cmdlet that allows unblocking the sites collection:

```PowerShell
Set-SPOSite https://contoso.sharepoint.com/sites/traget-site -LockState "Unlock"
```

Here, the *PnP* **PowerShell** cmdlet that allows unblocking the sites collection:

```PowerShell
Set-PnPTenantSite -Url https://contoso.sharepoint.com/sites/traget-site -LockState Unlock
```
  
  
Hoping this post will help you ?