azure-logic-apps

How do I create a logic app to copy pictures from slack channel?

做~自己de王妃 提交于 2019-12-11 15:05:00
问题 I want to automate copying pictures that arrive in a slack channel to go to an Azure Blob. I found some docs on connecting to Slack and was able to create a When File Is Created task The next thing I tried was a Copy blob step. However this does not seem right. [Update] From George's help I added the HTTP task. Here is what I see in the code view of the Slack trigger or in modified text format { "$connections": { "value": { "slack_1": { "connectionId": "/subscriptions/subscriptionid

Azure Logic Apps-Download File from URL

心已入冬 提交于 2019-12-11 14:49:46
问题 I have a requirement in Logic Apps where I need to do HTTP GET from a website URL which gives a file which I need to download to Azure File Storage. I am able to call the downloadable URL but not sure how to go about downloading the file to Azure File storage directory. Please let me know your inputs.Do I need to write an Azure function or can I get the HTTP action to do the trick to download the file? Thanks, SP 回答1: I suppose Logic apps has moved on a little since you first asked this

Can a Azure LogicApps stop a webjob?

旧时模样 提交于 2019-12-11 14:40:10
问题 Azure LogicApps time! In my previous post my problem was to understand how to run a webjob . My problem is: how can I stop a webjob ? In another posts in Stackoverflow, people send a DELETE request to stop a webjob like $username = $website.PublishingUsername $password = $website.PublishingPassword $base64AuthInfo = [Convert]::ToBase64String([Text.Encoding]::ASCII.GetBytes(("{0}:{1}" -f $username,$password))) $ps = Invoke-RestMethod -Uri "$apiBaseUrl/processes" -Headers @{Authorization=(

Create Dynamics CRM Relationship Azure Logic App

三世轮回 提交于 2019-12-11 14:37:44
问题 I see how to do basic crud operations on CRM entities using Logic Apps. Is there a way to create a relationship between two entities? In a one -> one, one -> many and many -> many cases? Thanks. 回答1: Yes. What you're probably looking to use is the AssociateRequest message which is it's own Entity in the SDK. You will likely have to work with the owners of CRM on specific details. 来源: https://stackoverflow.com/questions/48753173/create-dynamics-crm-relationship-azure-logic-app

azure ftp to dropbox connector not working in a logic app

左心房为你撑大大i 提交于 2019-12-11 13:30:08
问题 I figured the below out about an hour after posting. There are not many examples out there yet so I left this up. I am trying to setup a new connector in a Azure Logic App to get files from a FTP site and move them to a dropbox folder. I was not even getting TO the dropbox part, although it was finding the FTP site and then deleting files. I have a test directory called testing off of: ftp://eek.myftpsite.com/testing/ I am obviously not understanding something fundamental to this process here

How to set the connection string for a Service Bus Logic App action in an ARM template?

拟墨画扇 提交于 2019-12-11 10:46:51
问题 I'm attempting to deploy an Azure Logic App that includes an action to Send a message on a Service Bus using an ARM template. In addition to deploying the Logic App, the ARM template deploys a Service Bus Namespace, a Queue and two AuthorizationRule (one for sending and one for listening). I want to dynamically set the connection information for the Send Service Bus Message action to use the Connection string generated for the AuthorizationRule that supports sending. When I create this in the

In azure logic App how to pass Cookie to Http request

柔情痞子 提交于 2019-12-11 08:03:20
问题 In azure logic app by calling first Http endpoint we need to get the cookie and pass to the second endpoint. But while passing second API, I am passing in header and it is sending but the response is wrong(text/html). But When I checked by using postman it worked fine got response in JSON(application/json). The header getting after calling second API or endpoint through logic app ,I am getting is: { "statusCode": 200, "headers": { "Cache-Control": "no-store, must-revalidate, no-cache", "X

Problems inserting document with Mongodb and Logic Apps

扶醉桌前 提交于 2019-12-11 07:57:54
问题 My logic app collects data from an api rest and inserts into a cosmosdb mongodb. The process occurs successfully, but when performing a query using Data Explorer the following error occurs: Error while fetching page of documents: {"code":400,"body":"Command find failed: Unknown server error occurred when processing this request."} Here is an example of a call that reproduces the error: "Create_or_update_document": { "inputs": { "body": { "id": "11111", "name": "john", "surname": "doe" },

How to get query parameters in a Logic App?

百般思念 提交于 2019-12-11 07:02:55
问题 I'm trying to pass an extra query parameter to Azure logic app so that I can process below data in the Logic App workflow For Example https://logicURL?SelectedData="%7BsiteURL%3AXYZ.sharepoint.com%2Fsites%2FXYZDev%7D" (encoded string) In HTTP action I am trying to handle above passed data with below JSON schema { "kind": "Http", "inputs": { "schema": { "properties": { "selectedData": { "type": "string" } }, "type": "object" } } } I am not getting selectedData value. I need to use

Parse Dynamic Property name in Azure Logic App

核能气质少年 提交于 2019-12-11 06:18:25
问题 I have been playing around with Azure Logic Apps and trying to retrieve a Pocket (ReadItLater) article so that I can create a new task in my preferred Task Manager. I have Two HTTP Connectors (one for Retrieve Operation using Pocket API and another post data to Todoist (my preferred task manager). I can retrieve the Article and the response looks like (removed a few properties below for easy reading): { "statusCode": 200, "headers": { "pragma": "no-cache", "status": "200 OK" }, "body": {