Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
NikCharlebois committed Mar 27, 2023
1 parent 5849a7c commit e6150ee
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# Change log for Microsoft365DSC


# UNRELEASED
# 1.23.405.1

* AADGroup
* Changed the SecurityEnabled and MailEnabled parameters to become mandatory.
FIXES [#3072](https://github.com/microsoft/Microsoft365DSC/issues/3072)
* EXOIRMConfiguration
* [BREAKING CHANGE] Renamed unused Identity parameter to IsSingleInstance
FIXES [#2969](https://github.com/microsoft/Microsoft365DSC/issues/2969)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ function Get-TargetResource
[System.String]
$MembershipRuleProcessingState,

[Parameter()]
[Parameter(Mandatory = $true)]
[System.Boolean]
$SecurityEnabled,

[Parameter()]
[Parameter(Mandatory = $true)]
[System.Boolean]
$MailEnabled,

Expand Down Expand Up @@ -308,11 +308,11 @@ function Set-TargetResource
[System.String]
$MembershipRuleProcessingState,

[Parameter()]
[Parameter(Mandatory = $true)]
[System.Boolean]
$SecurityEnabled,

[Parameter()]
[Parameter(Mandatory = $true)]
[System.Boolean]
$MailEnabled,

Expand Down Expand Up @@ -824,11 +824,11 @@ function Test-TargetResource
[System.String]
$MembershipRuleProcessingState,

[Parameter()]
[Parameter(Mandatory = $true)]
[System.Boolean]
$SecurityEnabled,

[Parameter()]
[Parameter(Mandatory = $true)]
[System.Boolean]
$MailEnabled,

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ class MSFT_AADGroup : OMI_BaseResource
[Write, Description("Specifies that the group is a dynamic group. To create a dynamic group, specify a value of DynamicMembership.")] String GroupTypes[];
[Write, Description("Specifies the membership rule for a dynamic group.")] String MembershipRule;
[Write, Description("Specifies the rule processing state. The acceptable values for this parameter are: On. Process the group rule or Paused. Stop processing the group rule."), ValueMap{"On","Paused"}, Values{"On","Paused"}] String MembershipRuleProcessingState;
[Write, Description("Specifies whether the group is security enabled. For security groups, this value must be $True.")] Boolean SecurityEnabled;
[Write, Description("Specifies whether this group is mail enabled. Currently, you cannot create mail enabled groups in Azure AD.")] Boolean MailEnabled;
[Required, Description("Specifies whether the group is security enabled. For security groups, this value must be $True.")] Boolean SecurityEnabled;
[Required, Description("Specifies whether this group is mail enabled. Currently, you cannot create mail enabled groups in Azure AD.")] Boolean MailEnabled;
[Write, Description("Specifies whether this group can be assigned a role. Only available when creating a group and can't be modified after group is created.")] Boolean IsAssignableToRole;
[Write, Description("DisplayName values for the roles that the group is assigned to.")] String AssignedToRole[];
[Write, Description("This parameter determines the visibility of the group's content and members list."), ValueMap{"Public","Private","HiddenMembership"}, Values{"Public","Private","HiddenMembership"}] String Visibility;
Expand Down

0 comments on commit e6150ee

Please sign in to comment.