azure-logic-apps

Deserializing ServiceBus content in Azure Logic App

自闭症网瘾萝莉.ら 提交于 2019-12-05 06:57:38
I'm trying to read the content body of a message in an Azure Logic App, but I'm not having much success. I have seen a lot of suggestions which say that the body is base64 encoded, and suggest using the following to decode: @{json(base64ToString(triggerBody()?['ContentData']))} The base64ToString(...) part is decoding the content into a string correctly, but the string appears to contain a prefix with some extra serialization information at the start: @string3http://schemas.microsoft.com/2003/10/Serialization/�3{"Foo":"Bar"} There are also some extra characters in that string that are not

Azure logic apps SFTP Copy File action breaks with some SAS Urls

孤者浪人 提交于 2019-12-04 19:03:56
I was experiencing a problem with a logic app which Used the Create SAS URI by path action to get a SAS-enabled URL for a blob in a storage account Used the SFTP copy file action to copy the file to an SFTP connector The process would fail roughly 50% of the time with an authorization error when trying to fetch the blob from storage. "actions": { "Create_SAS_URI_by_path": { "inputs": { "body": { "Permissions": "Read" }, "host": { "connection": { "name": "@parameters('$connections')['azureblob']['connectionId']" } }, "method": "post", "path": "/datasets/default/CreateSharedLinkByPath", "queries

Getting content from service bus in logic apps

纵饮孤独 提交于 2019-12-04 15:01:44
I am new to Azure logic apps. I have a service bus and pass a json object message to that service bus then I set up an action in logic apps to listen to my service bus. So everytime a new message come in to that service bus my logic apps will pick it up and send it to http. My question is how can I grab the property from the message in service bus and pass it to my http action. I tried this “Id” : “@{json(triggerBody()[‘ContentData’]).id}” but it's not working Who and how is sending the message on the queue? I read a json message property (DestinationPath) in this way: @{json(base64ToString

How do I add an SMS from Twilio into Azure Table Storage using Logic App

泪湿孤枕 提交于 2019-12-04 02:24:10
问题 I am able to receive a text message into a Logic App, via a Twilio Web Hook. as set up by following these instructions Regarding my question here Now I need to add that text into an Azure Table. I have added a Parse JSON action What should I put in the Content and Schema? I found that if I click inside the Content Box I am prompted to pick from a tag. I guess Body is the one. [Update] Now I am trying to insert the Entity Directly but I cant work out how to do this in the designer. How do I

Can an Azure Logic App have multiple start triggers?

人盡茶涼 提交于 2019-12-04 01:29:04
问题 Can an Azure Logic App have multiple start triggers? I've read the triggers docs at MSDN but can't see anything on having multiple triggers 回答1: In general yes, you can have multiple triggers in a Logic App workflow . Actually, according to the official documentation, you can have up to 10 triggers in a single Logic App. As example, in the following logic app, I used two triggers: the first one is a SFTP connector trigger and, after a sequence of actions I have a second trigger on a Service

Can you have automated regression/integration tests for Azure Logic Apps?

99封情书 提交于 2019-12-03 14:02:40
问题 Can you have automated regression/integration tests for Azure Logic Apps? And if you can, how? ... especially in the context of CI/CD builds and deployments ... and if you can't, why not!! 回答1: There isn't any out-of-the-box tooling yet to provide automated testing of Azure Logic Apps. We have a few customers who have followed one of the following patterns. There is also this article that goes into detail on how to create a Logic App deployment template: After deployment (using a release

Can you have automated regression/integration tests for Azure Logic Apps?

送分小仙女□ 提交于 2019-12-03 03:59:51
Can you have automated regression/integration tests for Azure Logic Apps? And if you can, how? ... especially in the context of CI/CD builds and deployments ... and if you can't, why not!! There isn't any out-of-the-box tooling yet to provide automated testing of Azure Logic Apps. We have a few customers who have followed one of the following patterns. There is also this article that goes into detail on how to create a Logic App deployment template: After deployment (using a release management tool like Visual Studio Release Management), a series of unit tests are run (writtin in something

Azure Logic Apps error While Adding API Apps

瘦欲@ 提交于 2019-12-02 22:08:08
问题 I am doing on POC for getting records from On-Premise SQL By using Logic Apps + API Apps. I have created SQL Connector in API Apps and also created Logic Apps. But when try to add the SQL Connector API App in Logic App Designer. it is saying Failed to fetch swagger. Ensure you have CORS enabled on the endpoint and are calling an HTTPS endpoint. I browsed and found out for setting the Permission Level. Appsettings - > Set API Definition & CORS enabled. Authentication/Authorization - > On ->

when converting parameters to variables, connections are broken at dev time

巧了我就是萌 提交于 2019-12-02 19:59:20
问题 How do I get up my connections to show up in the designer ? In my logicapp.json file I am setting the connection names to be functions of parameters like so: "variables": { "servicebus_1_Connection_Name": "[concat('servicebus-',parameters('logicAppName'))]", "azureblob_1_Connection_Name": "[concat('blob-',parameters('logicAppName'))]" }, However the designer doesn't like this: When deploying, the connections show up no problem: 回答1: Try using parameters instead of variables for this.

Azure Logic Apps error While Adding API Apps

天大地大妈咪最大 提交于 2019-12-02 10:32:11
I am doing on POC for getting records from On-Premise SQL By using Logic Apps + API Apps. I have created SQL Connector in API Apps and also created Logic Apps. But when try to add the SQL Connector API App in Logic App Designer. it is saying Failed to fetch swagger. Ensure you have CORS enabled on the endpoint and are calling an HTTPS endpoint. I browsed and found out for setting the Permission Level. Appsettings - > Set API Definition & CORS enabled. Authentication/Authorization - > On -> Allow Request (noAction) Restarted the API Service. but still getting the same error. I have browsed the