Skip to main content

Completedapproval

Properties

NameTypeDescriptionNotes
IdStringThe approval 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]
RequestedForCompletedapprovalRequestedFor[optional]
ReviewedByAccessitemreviewedby[optional]
OwnerOwnerdto[optional]
RequestedObjectRequestableobjectreference[optional]
RequesterCommentCompletedapprovalRequesterComment[optional]
ReviewerCommentCompletedapprovalReviewerComment[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]
StateCompletedapprovalstate[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 was 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]
PreApprovalTriggerResultCompletedapprovalPreApprovalTriggerResult[optional]
ClientMetadatamap[string]StringArbitrary key-value pairs provided during the request.[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
$Completedapproval = Initialize-Completedapproval  -Id id12345 `
-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 `
-ReviewedBy null `
-Owner null `
-RequestedObject null `
-RequesterComment null `
-ReviewerComment null `
-PreviousReviewersComments null `
-ForwardHistory null `
-CommentRequiredWhenRejected true `
-State 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 `
-PreApprovalTriggerResult null `
-ClientMetadata {"requestedAppName":"test-app","requestedAppId":"2c91808f7892918f0178b78da4a305a1"} `
-RequestedAccounts null `
-PrivilegeLevel High `
-MaxPermittedAccessDuration null
  • Convert the resource to JSON
$Completedapproval | ConvertTo-JSON

[Back to top]