-
Notifications
You must be signed in to change notification settings - Fork 38
Description
Hi again!
How can I go about about reading and updating the LockState property on a site?
Using PnP PowerShell module, I am able to read and write to this property when authenticated to the tenant admin site, but can't find a way to achieve this so far using this library, or via the REST API at all actually.
I did find a "ReadOnly" property. If the site is set to "NoAccess", it cannot be read (permission error on accessing the site). It doesn't really seem to line up with the documentation I've found though, so I'm not confident these properties are actually mapped equivalents.
The references on this property that I can find mostly are centered around on-premise SharePoint only with dependencies on functions provided by .NET DLLs, that seem to be a part of SharePoint Server.
The others I've found refer to the Set-SPOSite (MS SPO module) and Set-PnPTenantSite (PnP PS module) commands, both of which I believe act as wrappers for Microsoft.Online.SharePoint.Client.Tenant.dll.
Is it possible to update this site property using your library?