Forum Discussion
StefanFried
Jul 04, 2018Steel Contributor
MS Flow logging - monitoring
I haven't found any techcommunity article which answers any of the following questions...so i hope you have some answers for me :) (btw: i'm new to this MS Flow World) Is there any big picture f...
Dean_Gross
Jul 06, 2018Silver Contributor
You can go to the Flow Admin Center (you need to have a P2 license), then click on the Environments, choose the default Environment, click Resources, then Flows, you will see a listing, clicking on the Info button will show the Connections (but not the actions or structure)
- StefanFriedJul 06, 2018Steel Contributor
thank you Dean
I've found an alternative for that. (without the need of buying a P2 license)
--> Office 365 CLI and the MS flow stuff
However this does not help that much because the structure itself can also not be retrieved.
My second question is the most important one for me. To find out if there are any MS Flow logs available which i can collect. I really hope that there is a way because the UI provides you with error and issues indication in each of the flow.
any ideas ?
- StefanFriedAug 13, 2018Steel Contributor
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
- Rebekka Aalbers-de JongAug 13, 2018Iron Contributor
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.