I am running cmdlet Get-FlowRun <FlowName>.
Scenario1: I created a flow, run multiple times to get the flow run history. Get-FlowRun <FlowName> gives the flow run history.
Scenario 2: I share this flow to another user (who is admin of the environment) so the user became Owner & Environment Admin of the flow. When that user run Get-FlowRun <FlowName>, it doesn't gives the flow run history.
What permission is required for the second user, to get the flow run history?
Solved! Go to Solution.
No worries @v-yamao-msft ,
I tried another microsoft tenant and it is giving the correct result. So, there is nothing wrong with my script but something wrong with settings in previous Environment (Tenant).
Thanks,
Nabin
Hi @pNabin ,
Please make sure the shared user has signed in with proper credentials and is using the correct flow name.
I have made a test according to your description, share the flow with user, then the user became owner & Environment Admin of the flow, Cdmlets Get-FlowRun will return the run details properly on shared user side.
Please check the following blog for a reference and try again with it:
https://docs.microsoft.com/en-us/power-platform/admin/powerapps-powershell
Best regards,
Mabel
Hi @v-yamao-msft ,
Yes I did enter the correct credentials so it is showing other flowruns for flow which is created by the shared user.
Similar is the case when tried other way around. UserA created and shared with UserB, then the flow run is not showing if the user is not the creator of the flow (but only a owner).
Any other possible causes of error that you think of?
Thanks,
Nabin
No worries @v-yamao-msft ,
I tried another microsoft tenant and it is giving the correct result. So, there is nothing wrong with my script but something wrong with settings in previous Environment (Tenant).
Thanks,
Nabin
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
14 | |
13 | |
12 | |
10 | |
9 |
User | Count |
---|---|
31 | |
24 | |
17 | |
12 | |
12 |