I have set up a power automate flow that is initiated by a person completing a microsoft form that then depending upon the area they work in will go to the corresponding approver to approver their application. The flow generates emails to the individual and there is a second approval stage which are the same approvers irrespective of their area of work. When I initially set up the flow it worked using my email address as the communication to all applicants, however this was not practical or user friendly. I therefore set up a shared mailbox so that all email correspondence came from the shared mailbox. Unfortunately this didn't work so my IT department set up a resource account. The flow works using the resource account for the first approval stage but not the second stage and I can't work out why that is. An error message that the person submitting the flow is not part of the security group.
BadRequest. The request failed. Error code: 'UserNotMemberOfCdsSecurityGroup'. Error Message: 'The user '64fc8022-18fa-4cfb-9343-64554c3b810c' cannot be created in Microsoft Dataverse because the account is not a member of group '0251bfe2-24db-4bcb-b27c-99e097b74d3f'. Please ask an administrator to add user to the group.'.
This isn't an issue for the applicant at the first approval stage. Is anyone experienced at setting up flows using shared mailboxes and can explain what the limitations are?