azure-logic-apps

Copy files from SFTP Server to Blob Storage with Logic App

一个人想着一个人 提交于 2019-12-24 06:55:32
问题 I want to copy files from an SFTP server to an blob storage by using a logic app. The logic app is triggered by a "recurrence" block every 3 minutes and checks which files are on the server in order to copy them. To check which files are on the server I use the "list files in folder" block. The copying itself is performed by a pipeline run. This works fine so far, but I'm facing one problem. In case one file is still in the uploading process on the sftp server during the logic app is

Copy files from SFTP Server to Blob Storage with Logic App

放肆的年华 提交于 2019-12-24 06:53:07
问题 I want to copy files from an SFTP server to an blob storage by using a logic app. The logic app is triggered by a "recurrence" block every 3 minutes and checks which files are on the server in order to copy them. To check which files are on the server I use the "list files in folder" block. The copying itself is performed by a pipeline run. This works fine so far, but I'm facing one problem. In case one file is still in the uploading process on the sftp server during the logic app is

In-order message processing on serverless Azure Functions using Logic Apps

◇◆丶佛笑我妖孽 提交于 2019-12-24 04:12:09
问题 I need to process incoming messages on Azure. Each message will be associated with a specific entity – say, through an EntityId property – and messages belonging to the same entity must be processed in-order with respect to each other. At the same time, I would to preserve the serverless aspect of Azure Functions; if I have steady streams of messages for 1,000 entities, I'd like to have 1,000 concurrent executions of my function. I haven't found a clean way of achieving this. Service Bus

In-order message processing on serverless Azure Functions using Logic Apps

旧巷老猫 提交于 2019-12-24 04:12:03
问题 I need to process incoming messages on Azure. Each message will be associated with a specific entity – say, through an EntityId property – and messages belonging to the same entity must be processed in-order with respect to each other. At the same time, I would to preserve the serverless aspect of Azure Functions; if I have steady streams of messages for 1,000 entities, I'd like to have 1,000 concurrent executions of my function. I haven't found a clean way of achieving this. Service Bus

Azure Logic App is not displaying Functions When Show Azure Functions in the same region selected

梦想的初衷 提交于 2019-12-24 00:39:25
问题 I Created a function App with BlobTriggerCSharp and this is the name of the function: BlobTriggerCSharp1 I want to use this function inside a logic app, so i created logic app and Selected Recurrence, Provided Frequency and Interval. I clicked on Action, Selected Show Azure Functions in the same region , It is displaying all the function apps like "Container:FunctionappName", but when i clicked on that existing functions inside that function app is not displaying. Could any one help on this?

Convert Json to Poco Collection/ How to code a For Each?

孤者浪人 提交于 2019-12-22 18:43:24
问题 I'm fairly new to Azure Functions. I've created a C# WebHook / Azure Function (I guess that's the right thing) to take my json content and convert it into a collection of simple poco/dto objects. public static class GenericWebHookCSharp { [FunctionName("GenericWebHookCsharpOne")] public static async Task<HttpResponseMessage /* object */> Run([HttpTrigger(WebHookType = "genericJson")]HttpRequestMessage req, TraceWriter log) { try { log.Info(string.Format("C# GenericWebHookCsharpOne about to

Convert Json to Poco Collection/ How to code a For Each?

删除回忆录丶 提交于 2019-12-22 18:42:39
问题 I'm fairly new to Azure Functions. I've created a C# WebHook / Azure Function (I guess that's the right thing) to take my json content and convert it into a collection of simple poco/dto objects. public static class GenericWebHookCSharp { [FunctionName("GenericWebHookCsharpOne")] public static async Task<HttpResponseMessage /* object */> Run([HttpTrigger(WebHookType = "genericJson")]HttpRequestMessage req, TraceWriter log) { try { log.Info(string.Format("C# GenericWebHookCsharpOne about to

Azure Logic App SQL ODATA Filter on Date

梦想的初衷 提交于 2019-12-22 11:08:06
问题 I'm creating a new Logic App that reads a table where DateCreated < ADDDAYS(-60,GETDATE()) and updates an Archived bit to 1 . However, I can't for the life of me figure out how to implement that filter as part of the ODATA query. Here's what I'm trying so far: DateCreated lt addDays(utcNow(),-60) However, I get "An unknown function with name 'utcnow' was found. This may also be a function import or a key lookup on a navigation property, which is not allowed.\r\n inner exception: An unknown

Azure LogicApp runs webjob and send email

蓝咒 提交于 2019-12-22 01:11:16
问题 I want to create an Azure LogicApps that has to launch and verify the status of a webjob . This is because I want to take an action if the webjob finishes its activities with an error and, in this case, the LogicApps has to send an email with an alert and restart the webjob . I have tried to find some documentation about it on LogicApps site and in the editor but I can't find any connectors. Any ideas, documentation or samples? Thank you 回答1: I thought my way could meet your requirements. You

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

一曲冷凌霜 提交于 2019-12-22 00:14:30
问题 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