Skip to main content

Pendingapproval

Properties

NameTypeDescriptionNotes
IdStringThe approval id.[optional]
AccessRequestIdStringThis is the access request id.[optional]
NameStringThe name of the approval.[optional]
CreatedSystem.DateTimeWhen the approval was created.[optional]
ModifiedSystem.DateTimeWhen the approval was modified last time.[optional]
RequestCreatedSystem.DateTimeWhen the access-request was created.[optional]
RequestTypeAccessrequesttype[optional]
RequesterAccessitemrequester[optional]
RequestedForAccessitemrequestedfor[optional]
OwnerPendingapprovalOwner[optional]
RequestedObjectRequestableobjectreference[optional]
RequesterCommentCommentdto[optional]
PreviousReviewersComments[]CommentdtoThe history of the previous reviewers comments.[optional]
ForwardHistory[]ApprovalforwardhistoryThe history of approval forward action.[optional]
CommentRequiredWhenRejectedBooleanWhen true the rejector has to provide comments when rejecting[optional] [default to $false]
ActionInProcessPendingapprovalaction[optional]
RemoveDateSystem.DateTimeThe date the role or access profile or entitlement is no longer assigned to the specified identity.[optional]
RemoveDateUpdateRequestedBooleanIf true, then the request is to change the remove date or sunset date.[optional] [default to $false]
CurrentRemoveDateSystem.DateTimeThe remove date or sunset date that was assigned at the time of the request.[optional]
StartDateSystem.DateTimeThe date the role or access profile or entitlement is/will assigned to the specified identity.[optional]
StartUpdateRequestedBooleanIf true, then the request is to change the start date or sunrise date.[optional] [default to $false]
CurrentStartDateSystem.DateTimeThe start date or sunrise date that was assigned at the time of the request.[optional]
SodViolationContextSodviolationcontextcheckcompleted[optional]
ClientMetadatamap[string]StringArbitrary key-value pairs, if any were included in the corresponding access request item[optional]
RequestedAccounts[]RequestedaccountrefThe accounts selected by the user for the access to be provisioned on, in case they have multiple accounts on one or more sources.[optional]
PrivilegeLevelStringThe privilege level of the requested access item, if applicable.[optional]
MaxPermittedAccessDurationPendingapprovalMaxPermittedAccessDuration[optional]

Examples

  • Prepare the resource
$Pendingapproval = Initialize-Pendingapproval  -Id id12345 `
-AccessRequestId 2b838de9db9babcfe646d4f274ad4238 `
-Name aName `
-Created 2017-07-11T18:45:37.098Z `
-Modified 2018-07-25T20:22:28.104Z `
-RequestCreated 2017-07-11T18:45:35.098Z `
-RequestType null `
-Requester null `
-RequestedFor null `
-Owner null `
-RequestedObject null `
-RequesterComment null `
-PreviousReviewersComments null `
-ForwardHistory null `
-CommentRequiredWhenRejected true `
-ActionInProcess null `
-RemoveDate 2020-07-11T00:00Z `
-RemoveDateUpdateRequested true `
-CurrentRemoveDate 2020-07-11T00:00Z `
-StartDate 2020-07-11T00:00Z `
-StartUpdateRequested true `
-CurrentStartDate 2020-07-11T00:00Z `
-SodViolationContext null `
-ClientMetadata {"customKey1":"custom value 1","customKey2":"custom value 2"} `
-RequestedAccounts null `
-PrivilegeLevel High `
-MaxPermittedAccessDuration null
  • Convert the resource to JSON
$Pendingapproval | ConvertTo-JSON

[Back to top]