Forum Discussion
MS Flow logging - monitoring
i try my luck again and ask the community if there is a chance to get access to MS Flow logs (powershell or api).
it would be great if someone has an answer on that
thank you
Hi StefanFried,
Since a couple of months there is a PowerApps and Flow Powershell module available. Check https://docs.microsoft.com/en-us/powerapps/administrator/powerapps-powershell. The cmdlets will not give you the internal structure of the Flow, but you are able to get Flow runs (Get-FlowRun) or get used connections (Get-PowerAppConnection).
There are also a whole bunch of administrative cmdlets but without a P2 these cmdlets only give you info about Flows that are made by or shared with your user account. With a P2 and the correct administrative role in O365 and the PowerApps/Flow environments you can get info about the Flow that are not shared with you.
With a P2 you can also use the Flow management connector (https://docs.microsoft.com/en-us/connectors/flowmanagement/): administering Flow by using Flow.
A similar connector for PowerApps was announced during the Business Application Summit a couple of weeks ago. With these two connectors combined you can build your own PowerApps and Flow admin center using PowerApps and Flow if you want something else than Microsoft provides.
An on-demand session on this topic you can find here: https://www.microsoft.com/en-us/businessapplicationssummit/video/BAS2018-111120.
- StefanFriedAug 14, 2018Steel Contributor
Thank you Rebekka!
that is a lot of information (some i know already:).
BTW, the Video is great!So if i understand correctly, the upcoming Analytics stuff is only available with Flow P2, right ?
I'm still missing the piece of information where i can access error logs from every flow (in case of an error) without going via the Analytics Dashboard of Flow. i want to pull this via API and/or cmdlets
thank you again
stefan