From 369ca94d8dbd107eb97ed7fbb1522a9520f72100 Mon Sep 17 00:00:00 2001 From: Nik Charlebois Date: Thu, 18 Jan 2024 16:28:20 -0500 Subject: [PATCH 1/2] FIxes Integration --- .../Resources/AADAuthenticationMethodPolicyEmail/2-Update.ps1 | 2 +- .../Resources/AADAuthenticationMethodPolicyFido2/2-Update.ps1 | 2 +- .../Resources/AADAuthenticationMethodPolicySms/2-Update.ps1 | 2 +- .../AADAuthenticationMethodPolicySoftware/2-Update.ps1 | 2 +- .../Resources/AADAuthenticationMethodPolicyVoice/2-Update.ps1 | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Modules/Microsoft365DSC/Examples/Resources/AADAuthenticationMethodPolicyEmail/2-Update.ps1 b/Modules/Microsoft365DSC/Examples/Resources/AADAuthenticationMethodPolicyEmail/2-Update.ps1 index da4c2f15b5..889bee8111 100644 --- a/Modules/Microsoft365DSC/Examples/Resources/AADAuthenticationMethodPolicyEmail/2-Update.ps1 +++ b/Modules/Microsoft365DSC/Examples/Resources/AADAuthenticationMethodPolicyEmail/2-Update.ps1 @@ -37,7 +37,7 @@ Configuration Example TargetType = 'group' } ); - State = "disabled"; # Updated Property + State = "enabled"; # Updated Property } } } diff --git a/Modules/Microsoft365DSC/Examples/Resources/AADAuthenticationMethodPolicyFido2/2-Update.ps1 b/Modules/Microsoft365DSC/Examples/Resources/AADAuthenticationMethodPolicyFido2/2-Update.ps1 index 64b188cf46..cce861359c 100644 --- a/Modules/Microsoft365DSC/Examples/Resources/AADAuthenticationMethodPolicyFido2/2-Update.ps1 +++ b/Modules/Microsoft365DSC/Examples/Resources/AADAuthenticationMethodPolicyFido2/2-Update.ps1 @@ -43,7 +43,7 @@ Configuration Example EnforcementType = 'block' AaGuids = @() }; - State = "disabled"; # Updated Property + State = "enabled"; # Updated Property } } } diff --git a/Modules/Microsoft365DSC/Examples/Resources/AADAuthenticationMethodPolicySms/2-Update.ps1 b/Modules/Microsoft365DSC/Examples/Resources/AADAuthenticationMethodPolicySms/2-Update.ps1 index e0f3f6c9a8..7111b8b114 100644 --- a/Modules/Microsoft365DSC/Examples/Resources/AADAuthenticationMethodPolicySms/2-Update.ps1 +++ b/Modules/Microsoft365DSC/Examples/Resources/AADAuthenticationMethodPolicySms/2-Update.ps1 @@ -32,7 +32,7 @@ Configuration Example TargetType = 'group' } ); - State = "disabled"; # Updated Property + State = "enabled"; # Updated Property } } } diff --git a/Modules/Microsoft365DSC/Examples/Resources/AADAuthenticationMethodPolicySoftware/2-Update.ps1 b/Modules/Microsoft365DSC/Examples/Resources/AADAuthenticationMethodPolicySoftware/2-Update.ps1 index 9223768e7e..808ff41034 100644 --- a/Modules/Microsoft365DSC/Examples/Resources/AADAuthenticationMethodPolicySoftware/2-Update.ps1 +++ b/Modules/Microsoft365DSC/Examples/Resources/AADAuthenticationMethodPolicySoftware/2-Update.ps1 @@ -36,7 +36,7 @@ Configuration Example TargetType = 'group' } ); - State = "disabled"; # Updated Property + State = "enabled"; # Updated Property } } } diff --git a/Modules/Microsoft365DSC/Examples/Resources/AADAuthenticationMethodPolicyVoice/2-Update.ps1 b/Modules/Microsoft365DSC/Examples/Resources/AADAuthenticationMethodPolicyVoice/2-Update.ps1 index c895589eb3..21b814cb5b 100644 --- a/Modules/Microsoft365DSC/Examples/Resources/AADAuthenticationMethodPolicyVoice/2-Update.ps1 +++ b/Modules/Microsoft365DSC/Examples/Resources/AADAuthenticationMethodPolicyVoice/2-Update.ps1 @@ -27,7 +27,7 @@ Configuration Example } ); IsOfficePhoneAllowed = $True; # Updated Property - State = "disabled"; + State = "enabled"; } } } From 17852365e40cd8e9c3e2d04758e314a84bbfe34e Mon Sep 17 00:00:00 2001 From: Nik Charlebois Date: Thu, 18 Jan 2024 16:29:33 -0500 Subject: [PATCH 2/2] Update 2-Update.ps1 --- .../AADAuthenticationMethodPolicyVoice/2-Update.ps1 | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Modules/Microsoft365DSC/Examples/Resources/AADAuthenticationMethodPolicyVoice/2-Update.ps1 b/Modules/Microsoft365DSC/Examples/Resources/AADAuthenticationMethodPolicyVoice/2-Update.ps1 index 21b814cb5b..60cb690b66 100644 --- a/Modules/Microsoft365DSC/Examples/Resources/AADAuthenticationMethodPolicyVoice/2-Update.ps1 +++ b/Modules/Microsoft365DSC/Examples/Resources/AADAuthenticationMethodPolicyVoice/2-Update.ps1 @@ -20,14 +20,7 @@ Configuration Example Credential = $Credscredential; Ensure = "Present"; Id = "Voice"; - IncludeTargets = @( - MSFT_AADAuthenticationMethodPolicyVoiceIncludeTarget{ - Id = 'all_users' - TargetType = 'group' - } - ); - IsOfficePhoneAllowed = $True; # Updated Property - State = "enabled"; + State = "disabled"; } } }