Enable Automation Center feature in Power Platform environment
Use Case
Microsoft introduced a new preview feature “Automation Center” to efficiently monitor the health of cloud and desktop flows. This report can help in detecting issues and troubleshoot problems quickly. When navigated to dashboard, I found details for some flow runs were missing in the dashboard & reports. In this article, I have demonstrated the steps to resolve this issue and enable “Automation Center” report for those flows.
Scenario
I have set up a new power platform environment with region as “India”. You might not find “Automation Center” in your region as this feature is region specific. The official documentation is yet to be released. I have created a sample cloud flow that triggers an email.
I noticed no flow run was captured in the “Automation Center” dashboard:
Solution
Prerequisites: Dataverse data store should be added for the power platform environment.
The reason was Dataverse table ‘Flow Run‘ was empty & did not capture the details of cloud flow run.
To fix this issue, we need to add flow in a new or existing solution. The flow gets added to the Dataverse when we add it into a solution. Here, I covered the steps to create a new solution but you can add flow in an existing solution.
Go to “Solution” in left navigation panel and click “New Solution” from the command bar. Set the appropriate name of the solution and create or choose a publisher:
Post creating solution, add existing cloud flow into it. Go to ‘Add existing->Automation->Cloud flow’ in command bar:
You will find this flow outside the Dataverse. Click ‘Outside Dataverse’ tab. Locate the flow & select its name. Click ‘Ok’ to add it in the solution:
After adding flow in a solution, click ‘Publish all customizations’ to save the changes:
Trigger the same flow after publishing customization is completed.
Wait for few minutes to update ‘Flow Run’ table as it takes some time to get details reflected in the Dataverse:
Navigate to “Automation Center” dashboard. You will notice the details of flow run is being captured in the dashboard. Switch to different tabs to get the insights:
Click “Runs” tab to see flow runs in a tabular format:
The Automation center will show the details of all flows stored in unmanaged or managed solution as those are stored in Dataverse. Due to this, the flow runs for those flows have been already captured in the 'Flow Run' table. So, no extra configuration step is required for solution aware flows.
Conclusion
Following are the take aways:
- The “Automation Center” dashboard gets the details from the ‘Flow Run’ table and display insights in the form of charts.
- Flow needs to be added in the solution to enable its insights in “Automation Center” dashboard.
- There is no need to configure or enable settings for flows stored in unmanaged or managed solutions. The run details for those flows are already captured in the ‘Flow Run’ table.