Skip to content

Commit 03251b8

Browse files
authored
1 parent 325b2fd commit 03251b8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,8 @@ Accept wildcard characters: False
267267
268268
### -LockState
269269
Sets the lock state on a site.
270-
Valid values are: NoAccess and Unlock.
270+
Valid values are: NoAccess, ReadOnly and Unlock.
271+
When the lock state of a site is ReadOnly, a message will appear on the site stating that the site is under maintenance and it is read-only.
271272
When the lock state of a site is NoAccess, all traffic to the site will be blocked.
272273
If parameter NoAccessRedirectUrl in the `Set-SPOTenant` cmdlet is set, traffic to sites that have a lock state NoAccess will be redirected to that URL.
273274
If parameter NoAccessRedirectUrl is not set, a 403 error will be returned.

0 commit comments

Comments
 (0)