SharePoint Site Collection Error 403
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 sites 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 to unblock the sites collection:
Set-SPOSite https://contoso.sharepoint.com/sites/traget-site -LockState "Unlock"
Here, the PnP PowerShell cmdlet that allows to unblock the sites collection:
Set-PnPTenantSite -Url https://contoso.sharepoint.com/sites/traget-site -LockState Unlock
You may also be interested in
To increase the security of your environment, you should active MFA on accounts that have some privileges on your Microsoft 365 Tenant... But, how keep your script that run self-sufficiently ? (without user interaction)
4 min read
How to implement Unit Tests and Code Coverage into your SPFx components, what are the benefits and how automate them into your CI
3 min read
When a SharePoint user creates a page, this one is the author. What does that mean? I'll explain to you the side effect and show you some ways to change it
8 min read
To facilitate the users experience and win in productivity, implement a dynamic and reusable TOC will help users to access directly to the targeted chapter
4 min read