azure-logic-apps

Updating Json Array in LogicApp

别等时光非礼了梦想. 提交于 2021-01-29 18:58:24
问题 I am trying to update some JSON in a logic app. Here is my JSON. { "headers": [ { "count": 0, "lookup": "PSI" }, { "count": 0, "lookup": "Clean" } ] } In a for each loop, I am trying to update the property count of a specific header array element. Here is the setproperty I am doing. @setproperty(variables('colObj'), 'headers', setproperty(items('For_each'), 'count', 1)) Currently, the setproperty only returns one element of the array and not the entire array. I need the set property to return

OleDB or ODBC from Azure Func or Logic App

守給你的承諾、 提交于 2021-01-29 17:47:48
问题 I have a legacy application which uses Access database (.mdb file). Basically it reads an existing mdb file and fill with new data, which is consumed by downstream systems. We cannot get rid of mdb file and the functionality is very important as it is consumed by various clients. We need to migrate that application to Azure and we are proposing several Azure Func and Logic App. We are looking at possible option to achieve this feature. As a poc when I try accessing mdb file from AF running on

Put/Post JSON message to Azure Storage Queue via Logic App

我与影子孤独终老i 提交于 2021-01-29 17:03:00
问题 I want to be able to use Logic Apps to put/post messages in an Azure Storage Queue, because I want to make use of the Managed Identity option that HTTP Logic App acion provides. I have a Logic App that uses HTTP action to post XML messages to the queue and I have a "Put a message on a queue" action that puts JSON message to the queue for debugging purposes. My ultimate goal is to be able to use the HTTP action with Managed Identity as Authentication but be able to post JSON messages to the

Create API Connection for Azure Data Factory with service principal authentication using ARM Template

爱⌒轻易说出口 提交于 2021-01-29 13:18:26
问题 I've created a logic app that uses azure data factory connectors. I can create the API Connection with service principal authentication from the portal: But I can't find any documentation on how to create an API connection using ARM template. But I need to create using ARM template with the same service principal authentication. 回答1: You can create an API connection for Azure Data factory using ARM template like that: { "$schema": "https://schema.management.azure.com/schemas/2015-01-01

Azure Function Status Code 500 internal server error

情到浓时终转凉″ 提交于 2021-01-29 09:58:38
问题 I have a logic app that uses azure function as a http trigger and gets a return string. When the azure function is to receive a Base64 string, create a file with the information and uploads to the assigned storage account, I keep getting status code 500 internal server error from the Azure function every time I run it. After many trial and error I deduced the problem occurs from when the file is to be created from the Base64 string and when the blob container client is created. So Help me

Dynamically send blobs from azure storage account to email using azure logic apps

∥☆過路亽.° 提交于 2021-01-29 09:31:22
问题 I have files getting stored in my Azure Blob storage account regularly. I want to send these blob file contents as attachments via email. I have established a workflow using Azure Logic Apps. Here's the workflow: I am able to send the blob file, but I need to specify the name of the file always. Is there any way I can get all the file contents dynamically without having to specify the name manually? 回答1: Just add Get Blob Metadata using path action to get the name of your file: 来源: https:/

Azure Maps Fuzzy Search API (https://atlas.microsoft.com/search/fuzzy/json?) works on Postman but fails on Logic Apps

孤街浪徒 提交于 2021-01-29 08:49:02
问题 I started using the Azure Maps API on a project using Logic Apps (Azure). All of a sudden the HTTP action stopped working and I am getting a 400 BadRequest Error. "error": { "code": "400 BadRequest", "message": "Bad request: one or more parameters were incorrectly specified or are mutually exclusive." However, when I call the same API using Postman or my browser, it works fine. API: https://atlas.microsoft.com/search/fuzzy/json?api-version=1.0&subscription-key=xxxxxxxxxxxxxxxxxxxxxxxxxxx

How to populate Dynamics 365 lookups with text value from Azure Logic App?

半腔热情 提交于 2021-01-29 08:20:48
问题 I am creating an Azure Logic app which takes data from an external source and populates Dynamics 365. In the Dynamics 365 entity, I have 4 lookup fields which I need to populate. But from the external source, I am getting data in text format, which means I need to search value for lookup fields by text instead of Guid. I am doing this by creating an Azure function but want to know if there is any possibility to achieve this with no code customisation? External data source can only send text

How can I pass Body Parameters to API Post operation using API Management Action in Logic App?

怎甘沉沦 提交于 2021-01-28 21:55:17
问题 I have an azure function which works well when I call it from postman . I am trying to invoke the same from logic app as when an HTTP request is received. However, I am unable to pass raw content in the APIM as it does not give me an option for the same. It let me add only the subscription key. My Azure APIM accepts file name, subscription key only. Any help in this regard is much appreciated. Postman : (I have added Headers - Content-Type, Accept: using ) Headers: Content-Type : Accept: Ocp

How can I pass Body Parameters to API Post operation using API Management Action in Logic App?

折月煮酒 提交于 2021-01-28 21:46:16
问题 I have an azure function which works well when I call it from postman . I am trying to invoke the same from logic app as when an HTTP request is received. However, I am unable to pass raw content in the APIM as it does not give me an option for the same. It let me add only the subscription key. My Azure APIM accepts file name, subscription key only. Any help in this regard is much appreciated. Postman : (I have added Headers - Content-Type, Accept: using ) Headers: Content-Type : Accept: Ocp