How to use different credentials with Azure DevOps on LogicApps

Fausto @ Volvo 10 Reputation points
2023-03-28T14:21:15.1133333+00:00

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:

  1. How do I create a LogicApp connector using ARM templates, Azure CLI or PowerShell extensions?
  2. How do I authenticate with the connector using specific credentials? Preferably a PAT token in case of Azure DevOps.
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,839 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Yuvaraj Madheswaran 390 Reputation points
    2023-03-28T15:29:06.46+00:00

    Hi,

    Please refer the below documentation about create logicapp using arm template, cli or powershell,

    https://learn.microsoft.com/en-us/azure/logic-apps/quickstart-create-deploy-azure-resource-manager-template?tabs=azure-portal

    To authenticate the logic apps refer the below link,

    https://learn.microsoft.com/en-us/azure/logic-apps/create-managed-service-identity?tabs=consumption

    You can also secure access and data in logic apps. Please refer the below link for more info,

    https://learn.microsoft.com/en-us/azure/logic-apps/logic-apps-securing-a-logic-app?tabs=azure-portal

    0 comments No comments