Skip to content

Commit 780186b

Browse files
authored
Enable Test-MgGroupDynamicMembershipRule command. (#1142)
1 parent 67eadf5 commit 780186b

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed

src/Groups/Groups/Microsoft.Graph.Groups.psd1

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 6/29/2021
6+
# Generated on: 3/11/2022
77
#
88

99
@{
@@ -12,13 +12,13 @@
1212
RootModule = './Microsoft.Graph.Groups.psm1'
1313

1414
# Version number of this module.
15-
ModuleVersion = '1.6.0'
15+
ModuleVersion = '1.9.3'
1616

1717
# Supported PSEditions
1818
CompatiblePSEditions = 'Core', 'Desktop'
1919

2020
# ID used to uniquely identify this module
21-
GUID = 'ee0ef1df-45d9-4fba-93e2-95df0aa494ea'
21+
GUID = 'b3d59423-d168-4591-aa0c-3d9f8ecb4902'
2222

2323
# Author of this module
2424
Author = 'Microsoft Corporation'
@@ -51,7 +51,7 @@ DotNetFrameworkVersion = '4.7.2'
5151
# ProcessorArchitecture = ''
5252

5353
# Modules that must be imported into the global environment prior to importing this module
54-
RequiredModules = @(@{ModuleName = 'Microsoft.Graph.Authentication'; ModuleVersion = '1.6.0'; })
54+
RequiredModules = @(@{ModuleName = 'Microsoft.Graph.Authentication'; ModuleVersion = '1.9.3'; })
5555

5656
# Assemblies that must be loaded prior to importing this module
5757
RequiredAssemblies = './bin/Microsoft.Graph.Groups.private.dll'
@@ -149,7 +149,8 @@ FunctionsToExport = 'Add-MgGroupFavorite', 'Add-MgGroupToLifecyclePolicy',
149149
'New-MgGroupThreadPostExtension', 'New-MgGroupThreadPostMention',
150150
'New-MgGroupThreadPostMultiValueExtendedProperty',
151151
'New-MgGroupThreadPostSingleValueExtendedProperty',
152-
'New-MgGroupTransitiveMemberByRef', 'New-MgUserJoinedGroup',
152+
'New-MgGroupTransitiveMemberByRef',
153+
'New-MgGroupTransitiveMemberOfByRef', 'New-MgUserJoinedGroup',
153154
'Remove-MgGroup', 'Remove-MgGroupConversation',
154155
'Remove-MgGroupConversationThread',
155156
'Remove-MgGroupConversationThreadPost',
@@ -173,7 +174,8 @@ FunctionsToExport = 'Add-MgGroupFavorite', 'Add-MgGroupToLifecyclePolicy',
173174
'Restore-MgGroup', 'Set-MgGroupCreatedOnBehalfOfByRef',
174175
'Set-MgGroupLicense', 'Set-MgGroupPhotoContent',
175176
'Stop-MgGroupCalendarEvent', 'Stop-MgGroupEvent',
176-
'Test-MgGroupDynamicMembership', 'Test-MgGroupProperty',
177+
'Test-MgGroupDynamicMembership',
178+
'Test-MgGroupDynamicMembershipRule', 'Test-MgGroupProperty',
177179
'Update-MgGroup', 'Update-MgGroupConversation',
178180
'Update-MgGroupConversationThread',
179181
'Update-MgGroupConversationThreadPost',

src/Groups/Groups/readme.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,6 @@ directive:
4545
subject: ^GroupProperty$
4646
variant: Validate1|ValidateExpanded1|Validate3|ValidateExpanded3
4747
remove: true
48-
- where:
49-
verb: Test
50-
subject: ^GroupDynamicMembership$
51-
variant: Evaluate1|EvaluateExpanded1
52-
remove: true
5348
- where:
5449
verb: Get
5550
subject: (Group)AvailableExtensionProperty
@@ -59,6 +54,12 @@ directive:
5954
subject: ^(GroupLifecyclePolicy)(\1)+
6055
set:
6156
subject: $1
57+
- where:
58+
verb: Test
59+
subject: ^(GroupDynamicMembership)$
60+
variant: Evaluate1|EvaluateExpanded1
61+
set:
62+
subject: $1Rule
6263
- where:
6364
verb: Get
6465
subject: ^Group$

0 commit comments

Comments
 (0)