Skip to main content

Accessrequestpreapproval2

Properties

NameTypeDescriptionNotes
ApprovedBooleanWhether or not to approve the access request.[required]
CommentStringA comment about the decision to approve or deny the request.[required]
ApproverStringThe name of the entity that approved or denied the request.[required]

Examples

  • Prepare the resource
$Accessrequestpreapproval2 = Initialize-Accessrequestpreapproval2  -Approved false `
-Comment This access should be denied, because this will cause an SOD violation. `
-Approver AcmeCorpExternalIntegration
  • Convert the resource to JSON
$Accessrequestpreapproval2 | ConvertTo-JSON

[Back to top]