Power Platform Connection References
May 16, 2022

Detect and Notify when Power Apps and Flows are Created

Golf Course Trees

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 (https://docs.microsoft.com/en-us/powe…), 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.