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
- Implements KelvinTegelaar/CIPP#5478
- Store `groupMemberships` field in user default templates
- Add group assignment logic to New-CIPPUserTask — assigns groups after
user creatio
Copy file name to clipboardExpand all lines: Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Identity/Administration/Users/Invoke-AddUserDefaults.ps1
+32-54Lines changed: 32 additions & 54 deletions
Original file line number
Diff line number
Diff line change
@@ -81,63 +81,41 @@ function Invoke-AddUserDefaults {
81
81
$SetSponsor=$Request.Body.setSponsor
82
82
$CopyFrom=$Request.Body.copyFrom
83
83
84
-
# Fetch group memberships from source user if provided
85
-
$GroupMemberships=@()
86
-
if ($Request.Body.sourceUserId-and$TenantFilter) {
87
-
try {
88
-
Write-Host"Fetching group memberships from source user: $($Request.Body.sourceUserId)"
0 commit comments