Skip to content

Deny‐PIMAzureResourcePendingApproval

Loïc MICHEL edited this page Oct 16, 2024 · 2 revisions

Description:

Deny an Azure Resource Role pending approval

Samples:

🔷 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

📝 Documentation

Clone this wiki locally