File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Entrypoints/HTTP Functions/Identity/Administration/Users Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ function Invoke-AddUserBulk {
131131 if ($AssignedLicenses ) {
132132 $GuidPattern = ' ([a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})'
133133 $LicenseSkus = $AssignedLicenses.value ?? $AssignedLicenses | Where-Object { $_ -match $GuidPattern }
134- Set-CIPPUserLicense - User $BulkResult.id - AddLicenses $LicenseSkus - TenantFilter $TenantFilter
134+ Set-CIPPUserLicense - UserId $BulkResult.id - AddLicenses $LicenseSkus - TenantFilter $TenantFilter
135135 }
136136 $Results.Add (@ {
137137 resultText = $Message.resultText
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ function Invoke-EditUser {
9898 value = ' Set-CIPPUserLicense'
9999 }
100100 Parameters = [pscustomobject ]@ {
101- userId = $UserObj.id
101+ UserId = $UserObj.id
102102 APIName = ' Sherweb License Assignment'
103103 AddLicenses = $licenses
104104 }
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ function New-CIPPUserTask {
3030 value = ' Set-CIPPUserLicense'
3131 }
3232 Parameters = [pscustomobject ]@ {
33- userId = $UserObj.id
33+ UserId = $UserObj.id
3434 APIName = ' Sherweb License Assignment'
3535 AddLicenses = $licenses
3636 }
You can’t perform that action at this time.
0 commit comments