Hello,
I need help regarding data connection between ms flow and powerapps.
I have a powerapp for users, this app uses sharepoint, o365users, approvals, ms planner and office 365 connectors.
This app is shared with "can use" permissions (for users) , and my collague is an owner (I have "can edit" permission).
This powerapp uses users permission (I hope 🙂 ) for submiting info entered into form fields (gallery) into a Sharepoint list (this works nicely). While submiting, this powerapp button also starts a MS Flow.
This flow is not shared with users (I am the owner - but its a team flow - shared with my collague who is the powerapp owner) - it uses a powerapps trigger - this trigger passes 3 variables (title, id, createdBy) into the MS flow, I use these to determine the user manager, etc..
This Flow is used for approvals and notifications, based on these approvals this Flow changes the status collumn in the sharepoint list and my collague uses this status to filter the view in Powerapp.
The whole flow uses MY credentials.
BUT and this is the problem, it seems that the flow uses users credentials (user from powerapp) and thus I cannot use outlook365 send email from shared mailbox action - as this user does not have send on behalf or send as permission for this mailbox - and thus this flow FAILS at the send email from shared mailbox action 😞
After this we allowed our testing user to "send on behalf" shared mailbox (in exchange) - flow worked corectly.
My question is, is this a bug in the o365 outlook (send email from shared mailbox) action. OR am I misunderstanding the permission model between MS Flow and PowerApps AND if this is the case than how do we change the connection between MS Flow and PowerApps so the Flow runs only with my credentials?
best regards