Deny‐PIMEntraRolePendingApproval - kayasax/EasyPIM GitHub Wiki

Description:

Deny a request to activate Entra role

Samples:

🔷 Deny all pending requests

Get-PIMEntraRolePendingApproval -tenantID $env:TenantID |Deny-PIMEntraRolePendingApproval -justification "You don't need this"

🔷 Deny one request

DenyPIMEntraRolePendingApproval -justification "refused" -approvalID 8e33a930-03f2-4087-8494-b11fd4ca38df

Parameters:

Parameter description
$TenantID Entra ID TenantID
$justification the justification
$approvalID Approval ID