Rajeev Pentyala - Microsoft Power Platform
By default, Cloud flow Dataverse connectors run under the Owner (i.e., User who created the flow) context. When the flows move to different environment via solutions, connectors run under the user account who imported the Solution.
Making the flows run under interactive user accounts is not recommended as they cause confusion when we check the record’s audit for who updated the record. Its recommended to make the flow run under ‘Application User’, if the calling user can be a fixed account.
In this article lets see how to make the flow run under Application User using Connect the flow using Service Principal option.
High level design:
Following are the steps we gonna go through.
- App registration in Azure Active Directory (AAD)
- Create an Application User in Environment.
- Create a Cloud Flow and connect with Application User.
App registration in Azure Active Directory (AAD)
- Connect to Azure Active Directory Admin Center
View original post 242 more words