Skip to content

Commit 2738a40

Browse files
committed
Merge branch 'po/UpdateOpenAPIDocs' of https://github.com/microsoftgraph/msgraph-sdk-powershell into po/UpdateOpenAPIDocs
2 parents 8b3a4a2 + 32a30f2 commit 2738a40

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

samples/8-ConditionalAccess.ps1

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#Minimum required parameters to create a conditional access policy
2+
3+
New-MgConditionalAccessPolicy -DisplayName 'Minimum required Parameters' `
4+
-GrantControlBuiltInControls @('mfa') `
5+
-State 'disabled' `
6+
-GrantControlOperator 'OR' `
7+
-UserIncludeUsers 'None' `
8+
-ApplicationIncludeApplications 'None'

0 commit comments

Comments
 (0)