New-DynamicDistributionGroup cmdlet parameter unavailable and documentation is incomplete

%3CLINGO-SUB%20id%3D%22lingo-sub-565934%22%20slang%3D%22en-US%22%3ENew-DynamicDistributionGroup%20cmdlet%20parameter%20unavailable%20and%20documentation%20is%20incomplete%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-565934%22%20slang%3D%22en-US%22%3E%3CP%3EI%20want%20to%20create%20a%20new%20dynamic%20distribution%20group%20and%20face%20some%20issues.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3E1.%20The%20cmdlet%20and%20the%20documentation%20is%20missing%20the%20RequireSenderAuthenticationEnabled%20parameter.%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20command%20is%20not%20listed%20in%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fexchange%2Fusers-and-groups%2Fnew-dynamicdistributiongroup%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Edocumentation%3C%2FA%3E.%20When%20using%20it%2C%20the%20error%20A%20parameter%20cannot%20be%20found%20that%20matches%20parameter%20name%20'RequireSenderAuthenticationEnabled'.%20is%20thrown.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%2C%20when%20opening%20the%20settings%20of%20an%20existing%20dynamic%20distribution%20group%2C%20I%20can%20very%20well%20change%20the%20setting.%20The%20parameter%20is%20also%20available%20for%20the%20New-DistributionGroup%20cmdlet.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F113252i7D86A3E5BD1A6A5F%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22image.png%22%20title%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3E2.%20Auto%20complete%20shows%20a%20parameter%20-DirectMembershipOnly%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAuto%20complete%20shows%20a%20parameter%20-DirectMembershipOnly.%20There%20is%20nothing%20about%20that%20in%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fexchange%2Fusers-and-groups%2Fnew-dynamicdistributiongroup%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Edocumentation%3C%2FA%3E%20and%20I%20don't%20find%20that%20option%20in%20the%20group%20settings%20in%20the%20ECP.%20I%20assume%20it%20has%20to%20do%20with%20nested%20email%20enabled%20security%20group%2C%20but%20a%20clarification%20would%20be%20nice.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-565934%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExchange%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-566304%22%20slang%3D%22en-US%22%3ERe%3A%20New-DynamicDistributionGroup%20cmdlet%20parameter%20unavailable%20and%20documentation%20is%20incomplete%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-566304%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20style%3D%22display%3A%20inline%20!important%3B%20float%3A%20none%3B%20background-color%3A%20%23ffffff%3B%20color%3A%20%23333333%3B%20font-family%3A%20'SegoeUI'%2C'Lato'%2C'Helvetica%20Neue'%2CHelvetica%2CArial%2Csans-serif%3B%20font-size%3A%2016px%3B%20font-style%3A%20normal%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20300%3B%20letter-spacing%3A%20normal%3B%20orphans%3A%202%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%22%3E'RequireSenderAuthenticationEnabled'%3C%2FSPAN%3E%20is%20available%20post-creation%2C%20via%20the%20Set-DynamicDistributionGroup%20cmdlet.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3E-DirectMembershipOnly%3C%2FFONT%3E%20seems%20to%20be%20new%2C%20and%20it%20would've%20been%20nice%20indeed%20if%20we%20had%20proper%20documentation.%20You%20can%20leave%20feedback%20on%20the%20article%20directly%20and%20request%20it%20to%20be%20updated.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-566574%22%20slang%3D%22en-US%22%3ERe%3A%20New-DynamicDistributionGroup%20cmdlet%20parameter%20unavailable%20and%20documentation%20is%20incomplete%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-566574%22%20slang%3D%22en-US%22%3E%3CP%3E%26gt%3B%20%3CSPAN%3E'RequireSenderAuthenticationEnabled'%3C%2FSPAN%3E%20is%20available%20post-creation%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F58%22%20target%3D%22_blank%22%3E%40Vasil%20Michev%3C%2FA%3E%26nbsp%3BYes%2C%20I%20noticed%20this%2C%20too.%20But%20why%20only%20post-creation%2C%20though%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-568010%22%20slang%3D%22en-US%22%3ERe%3A%20New-DynamicDistributionGroup%20cmdlet%20parameter%20unavailable%20and%20documentation%20is%20incomplete%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-568010%22%20slang%3D%22en-US%22%3E%3CP%3EMany%20properties%20are%20only%20available%20post-creation%2C%20for%20other%20recipient%20types%20such%20as%20mailboxes%20as%20well.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Regular Contributor

I want to create a new dynamic distribution group and face some issues.

 

1. The cmdlet and the documentation is missing the RequireSenderAuthenticationEnabled parameter.

 

This command is not listed in the documentation. When using it, the error A parameter cannot be found that matches parameter name 'RequireSenderAuthenticationEnabled'. is thrown.

 

However, when opening the settings of an existing dynamic distribution group, I can very well change the setting. The parameter is also available for the New-DistributionGroup cmdlet.

 

image.png

 

2. Auto complete shows a parameter -DirectMembershipOnly

 

Auto complete shows a parameter -DirectMembershipOnly. There is nothing about that in the documentation and I don't find that option in the group settings in the ECP. I assume it has to do with nested email enabled security group, but a clarification would be nice.

 

3 Replies
Highlighted

'RequireSenderAuthenticationEnabled' is available post-creation, via the Set-DynamicDistributionGroup cmdlet.

 

-DirectMembershipOnly seems to be new, and it would've been nice indeed if we had proper documentation. You can leave feedback on the article directly and request it to be updated.

Highlighted

> 'RequireSenderAuthenticationEnabled' is available post-creation

 

@Vasil Michev Yes, I noticed this, too. But why only post-creation, though?

Highlighted

Many properties are only available post-creation, for other recipient types such as mailboxes as well.