Deny‐PIMAzureResourcePendingApproval - kayasax/EasyPIM GitHub Wiki

Description:

Deny an Azure Resource Role pending approval

Samples:

:large_blue_diamond: 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" }

Parameters:

Parameter description
$approvalID Approval ID
$justification justification