Rahul Chavan
Rahul Chavan

Reputation: 135

Azure logic app without connection

There are certain connectors in Logic app (e.g. Outlook Connector) such connectors needs to establish a connection before creating a logic app.

But what if I want to make connection from different account on every request? e.g. Create task On post call I want to create a task in users outlook. I created connector from [email protected], then every post request will create task in outlook of [email protected] even if request coming from [email protected]

Is there any way to accomplish my goal?

Upvotes: 0

Views: 669

Answers (2)

Ezhilarasi
Ezhilarasi

Reputation: 272

1) you create a ARM template that deploys a Logic Apps (with all associated API Connections) to a given resource group.

2) This ARM template would have parameters for username and password required for the API connection (e.g. Dropbox).

3) As part of your onboarding (e.g. sign up web site, installer MSI), you would need to request username and password for this user (and sometimes give permission to logic apps to access the resource).

4) Step 3 would create the API Connection with the required authorization, then the logic app could be deployed pointing to that API connection.

This document gives you the basic of ARM provision for Logic Apps.

Including an excellent blog by Kent to add value to this answer, please check "Custom connectors in Azure Logic App"

Upvotes: 1

KWilson
KWilson

Reputation: 744

You will probably need to look into creating your own custom web api/custom connector and then you can integrate that with your Logic App.

With your own code you can then dynamically connect as various users to Exchange and automate task creation.

https://learn.microsoft.com/en-us/azure/logic-apps/logic-apps-create-api-app

Upvotes: 0

Related Questions