I have a few PowerAutomate flows that I would like to migrate to Azure LogicApps on Azure.
The reason is basically that PowerAutomate does not support code versioning or automation.
To that end, I need to rewrite the PowerAutomate flows as there's no "export" functionality anymore. In doing so, I found a difficult scenario where I needed to connect my LogicApps to Azure DevOps (e.g.: reading a query result or creating work items).
In PowerAutomate, my Azure DevOps connector is using a shared user account (shareduser@mydomain.com). By shared I mean this is an account that multiple developers have the credentials of (i.e.: password) and whose MFA sends tokens to a shared mailbox. Not the most secure thing in the world, buy good enough.
However, when I try to do the same thing in LogicApps, I'm stuck with my own user account. The problem I am facing is that the only way I found to create the LogicApp connector for Azure DevOps is through the Azure Portal, and the Portal takes the account of the logged in user to connect.
So here are my questions:
- How do I create a LogicApp connector using ARM templates, Azure CLI or PowerShell extensions?
- How do I authenticate with the connector using specific credentials? Preferably a PAT token in case of Azure DevOps.