'How to make cloud flow dataverse connection act as / impersonate the canvas app user that triggered the flow?
What I did, as user A:
- New Powerapps environment with dataverse DB, within the new environment...
- New solution, within the new solution...
- New Dataverse table
- New Canvas App with a button wired to...
- New Cloud Flow, creation triggered from within the canvas app editor. Cloud flow uses
PowerApps (V2)trigger and has only one dataverseAdd a new rowaction, which inserts a record into the table created above - Published the entire solution (still same env)
- Successfully tested if I could insert through the canvas app's button, which in turn only calls the cloud flow.
- Shared the app with user B
Ran the canvas app as user B, hit the same button:
- Cloud flow runs successfully
- New record is properly inserted
However, the record's created by columns shows User A (instead of user B).
I would need User B to show as record creator.
Is my expectation wrong and this is just not possible with Powerapp triggered cloud flows, or am I missing something?
Also, I found this encouraging post, but it didn't provide any specific solution that Ii could apply.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
