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
ADGroup: Changing group membership management mechanism (#620)
This is intended to change the way that the ADGroup resource manages group membership. The new implementation abandons usage of Add-ADGroupMember and Remove-ADGroupMember due to limitations with Foreign Security Principals. Instead we opt to utilize Set-ADGroup with the Add and Remove parameters, passing a hash object with the member key and a list of formatted SID values (e.g. - "<SID=SID_VALUE>").
Copy file name to clipboardExpand all lines: source/Modules/ActiveDirectoryDsc.Common/ActiveDirectoryDsc.Common.psd1
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@
37
37
'ConvertTo-DeploymentDomainMode'
38
38
'Restore-ADCommonObject'
39
39
'Get-ADDomainNameFromDistinguishedName'
40
-
'Add-ADCommonGroupMember'
40
+
'Set-ADCommonGroupMember'
41
41
'Get-DomainControllerObject'
42
42
'Test-IsDomainController'
43
43
'Convert-PropertyMapToObjectProperties'
@@ -53,6 +53,8 @@
53
53
'Get-ActiveDirectoryDomain'
54
54
'Get-ActiveDirectoryForest'
55
55
'Resolve-SamAccountName'
56
+
'Resolve-SecurityIdentifier'
57
+
'Resolve-MembersSecurityIdentifier'
56
58
)
57
59
58
60
# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
0 commit comments