Skip to content

Commit

Permalink
V1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
kayasax committed Mar 8, 2024
1 parent 6909e30 commit 2e0428e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions EasyPIM/functions/New-PIMGroupEligibleAssignment.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
Author: Loïc MICHEL
Homepage: https://github.com/kayasax/EasyPIM
#>
function New-PIMGroupActiveAssignment {
function New-PIMGroupEligibleAssignment {
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingWriteHost", "")]
[CmdletBinding()]
param (
Expand Down Expand Up @@ -137,7 +137,7 @@ function New-PIMGroupActiveAssignment {
}
'
$endpoint = "/identityGovernance/privilegedAccess/group/AssignmentScheduleRequests"
$endpoint = "/identityGovernance/privilegedAccess/group/EligibilityScheduleRequests"
write-verbose "patch body : $body"
$null = invoke-graph -Endpoint $endpoint -Method "POST" -body $body
}
Expand Down

0 comments on commit 2e0428e

Please sign in to comment.