We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a20f2b commit feaf046Copy full SHA for feaf046
Modules/CIPPCore/Public/New-CIPPUserTask.ps1
@@ -30,9 +30,9 @@ function New-CIPPUserTask {
30
value = 'Set-CIPPUserLicense'
31
}
32
Parameters = [pscustomobject]@{
33
- UserId = $UserObj.id
+ UserId = $CreationResults.Username
34
APIName = 'Sherweb License Assignment'
35
- AddLicenses = $licenses
+ AddLicenses = $UserObj.licenses.value
36
37
ScheduledTime = 0 #right now, which is in the next 15 minutes and should cover most cases.
38
PostExecution = @{
0 commit comments