I have a flow approval that is sent to the users manager in Office 365 requesting an update to the credit limit for a customer record in D365. The Submitter does not have security permissions to edit the customer master but the Approver has full permissions for create, edit, update and delete for the customer master.
The flow works correctly when the Flow is run by the manager. But when the flow is submitted by the user the update to D365 fails because flow is using the security context of the submitter and not the actual approver who is clicking approve for the email that is forwarded by Flow or when updated in the Flow web site.
How can we get Flow to use the context of the Approval user rather than the submitter of the request. It does not make sense to use the submitter's security context when the approver is doing the approval/reject process.
Thank you.
Ivan