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 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:
Set-SPOSite https://contoso.sharepoint.com/sites/traget-site -LockState "Unlock"Here, the PnP PowerShell cmdlet that allows unblocking the sites collection:
Set-PnPTenantSite -Url https://contoso.sharepoint.com/sites/traget-site -LockState Unlock
Hoping this post will help you ?
You may also be interested in
To increase the security of your environment, you should activate MFA on accounts that have some privileges on your Microsoft 365 Tenant... But, how to keep your script that runs self-sufficiently 🚀 (without user interaction)
4 min read
Security
Modernizing Access Governance: Why It’s Time to Move Beyond "Everyone Except External Users" (EEEU)
Everyone Except External Users (EEEU) is one of the most misunderstood identities in Microsoft 365. In this post, I explain why hiding EEEU doesn’t disable it, where Microsoft still uses it internally, and how to modernize your governance with dynamic groups.
4 min read
Power Automate connections often break silently. Here’s how you can built an agent to monitor and log their health in SharePoint.
5 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