I am sure in the SharePoint world you would have run across a requirement of making the entire site collection(s) read only sometime. It is very easy if that requirement happens to be in SharePoint On-premise, we just go to the Central Admin and set the selected site collection as read only from under Locks and Quotas option. SharePoint Online Problem But what about SharePoint Online. When I searched for it, I came across this Lock/Unlock SharePoint Online Sites in Office 365 with PowerShell. Unfortunately, contrary to the claim, this code doesn’t seem to have been tested with SharePoint Online as […]