I’m writing a Power Automate flow, and I want to have other connections like OneDrive and Outlook owned by other accounts, such as a service account.
Yash Agarwal had a great suggestion on how to handle this:
Share the flow with the service account as an owner, then open the flow as the service account and change the connections to the service account.
Now you will have a flow with some of the connections owned as another account.
Hi and thanks for all the tips. When you say “service account”, you mean here just custom named ordinary licensed user, right? You can’t open a flow with service account like application user or non-interactive user. Or is there any way to have this user without the cost of a full license?
Hi Zarko,
you can also connect with a principal user which is a true non-interactive user. IMO the more elagant solution compared to loggin in with a different user and switching the connection.
You have to configure that principal user in Azure AD then you can create it as a non-interactive user (no license cost) in dynamics.
You will get an application ID and Secret and can use that in Power Automate to connect with Common Data Service.
Marcel, service principal won’t have access to other resources like OneDrive or Outlook which was the whole point of the tip 🙂