79464714

Date: 2025-02-24 20:27:29
Score: 0.5
Natty:
Report link

I'll answer my own question if anyone needs this in the future.

Same as the documentation for roles but using this path

https://graph.microsoft.com/beta/identityGovernance/privilegedAccess/group/assignmentApprovals/approval-id/steps/step-id
{ 
    "reviewResult": "Approve", 
    "justification": "Jusitication" 
}
ApprovalStep body = new ApprovalStep()
{
    ReviewResult = "Approve",
    Justification = "Justification",
};
await GraphClientBeta.IdentityGovernance.PrivilegedAccess.Group.AssignmentApprovals[approvalId].Steps[stepId].PatchAsync(body);
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: dragonmost