You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Details of the scenario you tried and the problem that is occurring
EXODistributionGroup does not support various parameters (it appears to only support those available with the New-DistributionGroup cmdlet, but there are many more under Set-DistributionGroup)
@NikCharlebois I don't think the module will work for distribution groups (-DistributionGroup cmdlets) since it only uses Microsoft 365 group cmdlets (-UnifiedGroup cmdlets). This would need either a separate resource, or a switch statement using Get-Recipient first then keying off RecipientTypeDetails (see below). However if you want to do it in one module bear in mind that a UnifiedGroup and DistributionGroup can share the same DisplayName since they're different object types, plus they support different sets of properties.
I'd suggest another module (could be a copy/paste job) as otherwise you'll have to do checks to make sure a user doesn't try to apply a UnifiedGroup only property to a DistributionGroup, and vice versa. But up to you.
Details of the scenario you tried and the problem that is occurring
EXODistributionGroup does not support various parameters (it appears to only support those available with the New-DistributionGroup cmdlet, but there are many more under Set-DistributionGroup)
https://learn.microsoft.com/en-us/powershell/module/exchange/set-distributiongroup?view=exchange-ps
It would be really helpful to have HiddenFromAddressListsEnabled available - but other relevant fields should also be included?
Verbose logs showing the problem
N/A
Suggested solution to the issue
Implement the ability to get, set and test these attributes when distribution groups are created/updated
The DSC configuration that is used to reproduce the issue (as detailed as possible)
The operating system the target node is running
N/A
Version of the DSC module that was used ('dev' if using current dev branch)
1.23.104.1
The text was updated successfully, but these errors were encountered: