-
Notifications
You must be signed in to change notification settings - Fork 7
Deny‐PIMAzureResourcePendingApproval
Loïc MICHEL edited this page Oct 16, 2024
·
2 revisions
Deny an Azure Resource Role pending approval
🔷 DEny all pending requests.
Get-PIMAzureResourcePendingApproval -tenantID $env:TenantID `
|where-object { $_.principalDisplayname -eq "user1" }`
|foreach-object { Deny-PIMAzureResourcePendingApproval -approvalID $_.approvalID -justification "I think you don't need this now" }
Parameter | description |
---|---|
$approvalID |
Approval ID |
$justification |
justification |