Set-PAMRequestToApprove

Updates a PAM activation request in the MIM Service that is pending approval.

Syntax

Set-PAMRequestToApprove
   [-Request] <PAMRequestToApprove>
   [-Approve]
   [<CommonParameters>]
Set-PAMRequestToApprove
   [-Request] <PAMRequestToApprove>
   [-Reject]
   [<CommonParameters>]

Description

If an activation request is pending approval, at least one of the role owners must invoke Set-PAMRequestToApprove for that request and specify to Approve, for that request to proceed. The value of the Request parameter is returned by an earlier call to Get-PAMRequestToApprove. Rejecting an activation request prevents MIM Service from adding the user into security groups.

Examples

EXAMPLE 1

$ra = Get-PAMRequestToApprove ; foreach ($request in $ra) {Set-PAMRequestToApprove -Request $request -Reject}

Description


This command rejects the requests other users made earlier that are pending this user's approval.

Parameters

-Approve

Approving an activation request allows the request to proceed.

Type:SwitchParameter
Position:2
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Reject

Rejecting a request prevents its from proceeding.

Type:SwitchParameter
Position:3
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Request

Request returned by Get-PAMRequestToApprove.

Type:PAMRequestToApprove
Position:1
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False