Detect and Notify when Power Apps and Flows are Created

In this video I demonstrate how to detect when new Power Apps and Flows are created in a Power Platform environment and send email notifications.

This capability is included in the Power Platform CoE (…), however the CoE uses a different set of technical components to implement the capability. Some organizations are not ready to install the CoE yet. This approach caters to those organizations. This solution demonstrates a way to implement the functionality that does not require installing the CoE.

NOTE ABOUT THE MODULE DRIVEN APPS: To find the Model Driven apps, query the appmodules Entity in Dataverse.

IMPORTANT NOTE ABOUT THE FLOW DETECTION: This is not mentioned or shown in the video.

In my initial testing I observed the List Flows As Admin action only returned Flows contained INSIDE Power Platform Solutions. Therefore, if a Flow was created in the environment OUTSIDE of a Solution, then the List Flows as Admin action would not return the Flow and no email notification was sent.

I determined the reason this was happening is the default pagination settings for the List Flows As Admin action were not allowing all the Flows to return to the Flow. To fix this issue, go to the Settings for the List Flows As Admin action and turn on pagination. You can experiment with the page size that works best for you.

Author: Todd Baginski
I am a 17 time Microsoft MVP, a Partner, and the CTO at Canviz where I am currently leading several projects that include PowerApps, Azure, Office 365, SharePoint Framework, Artificial Intelligence, Machine Learning, full web stack, and numerous other technologies. I give back to my community by coaching and growing youth sports teams.

Leave a Reply