Skip to content

Commit 6e167fb

Browse files
authored
Update Set-SPOSite.md
new cmdlet option added Set-SPOSite -Identity <site url> -ConditionalAccessPolicy AuthenticationContext -AuthenticationContextName "Name of Authentication Context"
1 parent 0ba2625 commit 6e167fb

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

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

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,14 @@ Set-SPOSite -Identity https://contoso.sharepoint.com/sites/research -RemoveInfor
153153

154154
In example, InformationSegment 'a17efb47-e3c9-4d85-a188-1cd59c83de32' is removed from the site.
155155

156+
### -----------------------EXAMPLE 10-----------------------------
157+
158+
```powershell
159+
Set-SPOSite -Identity https://contoso.sharepoint.com/sites/research -ConditionalAccessPolicy AuthenticationContext -AuthenticationContextName "MFA"
160+
```
161+
162+
In this example, an authentication context called MFA is attached to the site.
163+
156164
## PARAMETERS
157165

158166
### -EnablePWA
@@ -833,6 +841,7 @@ Possible values:
833841
- AllowFullAccess: Allows full access from desktop apps, mobile apps, and the web.
834842
- AllowLimitedAccess: Allows limited, web-only access.
835843
- BlockAccess: Blocks Access.
844+
- AuthenticationContext: Assign a Azure AD authentication context. Must add the AuthenticationContextName Please read https://docs.microsoft.com/en-us/azure/active-directory/conditional-access/concept-conditional-access-cloud-apps#configure-authentication-contexts
836845

837846

838847
```yaml
@@ -848,9 +857,9 @@ Accept wildcard characters: False
848857
```
849858

850859

851-
### -ProtectionLevelName
860+
### -AuthenticationContextName
852861

853-
The conditional access protection level name. For example "urn:microsoft:req1"
862+
The conditional access authentication context name.
854863

855864
```yaml
856865
Type: String

0 commit comments

Comments
 (0)