You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a administrator i want to get statistics about flows that employees have made.
The Get-PnPFlow cmdlet has a SwitchParameter -AsAdmin, so i can get all flows in my tenant, but when i want to get statistics about a flow with the cmdlet Get-PnPFlowRun i get the following error message
Forbidden (403): The caller object id is ''. Connection '' to '' cannot be used to activate this flow, either because this is not a valid connection or because it is not a connection you have access permission for. Either replace the connection with a valid connection you can access or have the connection owner activate the flow, so the connection is shared with you in the context of this flow.
I think this is because of the missing SwitchParameter -AsAdmin.
Can the cmdlet Get-PnPFlowRun get the switchparameter -AsAdmin, or are there some restrictions that prevent this from working?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
As a administrator i want to get statistics about flows that employees have made.
The Get-PnPFlow cmdlet has a SwitchParameter -AsAdmin, so i can get all flows in my tenant, but when i want to get statistics about a flow with the cmdlet Get-PnPFlowRun i get the following error message
Forbidden (403): The caller object id is ''. Connection '' to '' cannot be used to activate this flow, either because this is not a valid connection or because it is not a connection you have access permission for. Either replace the connection with a valid connection you can access or have the connection owner activate the flow, so the connection is shared with you in the context of this flow.
I think this is because of the missing SwitchParameter -AsAdmin.
Can the cmdlet Get-PnPFlowRun get the switchparameter -AsAdmin, or are there some restrictions that prevent this from working?
Beta Was this translation helpful? Give feedback.
All reactions