Azure LogicAPP to Receive data from SAP Message Server (Preview) - azure

Does anybody know how to retrieve data from SAP module using SAP Message Server (Preview) in LogicApp.
I have connected to on premise gateway but not sure how do I call the SAP module from LogicApp. I have tried to google blogs or article for using SAP Message Server (Preview) but couldn't find anything that could explain how can you connect SAP Module with your logic app on azure.
Thanks

Hi Bhavesh we are mainly using two way to connect Logic app to SAP
1) BABI
2) IDOC

Does anybody know how to retrieve data from SAP module using SAP Message Server (Preview) in LogicApp.
You may get the answer from the Azure official document. The following is the snippet from the document.
1.Add the Request/Response trigger, and then select New step.
2.Select Add an action, and then select the SAP connector by typing SAP in the search field:
3.Select SAP Application Server or SAP Message Server, based on your SAP setup. If you don't have an existing connection, you are prompted to create one.
4.Enter a name for your SAP connection
5.The different SAP options are now available. To find your IDOC category, select from the list. Or manually type in the path, and select the HTTP response in the body field:
6.Add the action for creating an HTTP Response. The response message should be from the SAP output
7.Save your logic app. Test it by sending an IDOC through the HTTP trigger URL. After the IDOC is sent, wait for the response from the logic app:
Note:
Current limitations:
Your logic app times out if all steps required for the response don't finish within the request timeout limit. In this scenario, requests might get blocked.
The file picker does not display all the available fields. In this scenario, you can manually add paths.

Related

Automated email when connection to source fails in Azure

sorry if the question is too basic. I am very new to Azure and I want to receive automated email if a connection to for example a SQL server is not established. In that regard, I was wondering if there is anything like get meta data activity for linked services that could output true or false if a connection is is not established? given that there is such activity, I know how to to the rest of job. I would appreciate it if someone could help.
Thanks in advance
I have searched about it and tried to find the option of linkedservice instead of dataset in some activities settings but have not figured it out yet.
You can make use of Logic App in Azure with your Azure Data factory to receive an email when there’s an error.
I created a Logic app resource with the connectors as mentioned below:-
I created an ADF pipeline and sent an email on my Outlook when I received an error like below:-
My copy data activity failed like below:-
Now, I’ll add one control flow on Web Activity that will trigger our Logic app to send an Email alert.
Added my Logic app URL in the Web activity URL and content-type set to application/json :
Added the dynamic content in the body to get the Error message and details in the email:-
As the Copy activity failed, I got an email alert like below:-
Reference:-
https://learn.microsoft.com/en-us/azure/data-factory/how-to-send-email
How about getting an text message with email ? :)
You can create monitoring on a pipeline and on failure it will send an email and also a text message . Please read more on the same here https://azure.microsoft.com/en-us/blog/create-alerts-to-proactively-monitor-your-data-factory-pipelines/.
Now for the pipeline , you can add a Lookup actvity and add a simple query like
"Select top 1 from someTable"
When the connection to the SQL will fail , the activity will fail and also the pipeline . You should get and email and text for the failures .

Azure Data Factory V2 - Sending Custom Email (without Logic Apps)

I know that you can send email alerts for a Data Factory pipeline using Azure Monitoring AND that you can send custom emails using a Logic App and the http request trigger. Is there another simpler way to send an email to alert someone when a pipeline fails with the details of the error message included?
Yes you can, but this method would be complex than creating a logic app or configuring default email alerts
You can create a stored procedure in a SQL DB which would send an email
Add the stored procedure in Failure output section of your ADF activity
Any reason for skipping traditional method of sending email from Azure? Maybe I can help
Thanks!
There are multiple ways of sending emails but I would suggest to use logic apps as the easiest.
You can even run a C# code using custom activity in ADF but it has to be build and deployed to a container and then you have to point this util/exe file in Data Factory -> [https://learn.microsoft.com/en-us/azure/data-factory/transform-data-using-custom-activity][1]

Send notification from Sharepoint and Power Automate

I have different content on Sharepoint online and whenever we create or modify any records then send notification to the PHP/Apache server.
I Created one Power Automated notification, but its sending on mobile, need to send to server to server.
Also need to check the Sharepoint REST API.
Create API on the server where you want notification from Sharepoint. Then open the Power Automate and create the flow, then
Select the trigger "When an Item is created or modified".
In next step search for HTTP and select it.
Fill the necessary parameters like "Method, URI, Headers, Body" etc.
Then save the flow and test the flow.

connectors to applications 'azureeventgrid' is not compatible with the Gmail

As part of microsoft integration service. I'm using an azure logic app that should send message to my GMAIL address each time an event is happening in a VM under a specified resource group.
Scenario applied is :
create RG + VM
create blank logic app
add event grid trigger
add condition ......
send email notificiations
(as of the link : article )
But Logic app designer denied to save as I receive the following message :
Failed to save logic app XXXXla01. The operation on workflow 'XXXXla01' cannot be completed because it contains connectors to applications 'azureeventgrid' which are not compatible with the Gmail connector.
When workraround, I find this article that stated some google policies update.
I'm looking now for an alternative to this issue, where I can still use an azure resource that send notifications to my GMAIL address everytime an event is happening to my VM.
Issue with Gmail API was resolved with the procedure : article

Can anyone post an example for event notification using docusign java-client sdk?

I want to implement event notification webhook method into my app. I am using docusign-java-client SDK for docusign, but I am unable to find any example using SDK. Can anyone provide some example to achieve this?
I'm sorry to report that we (DocuSign) don't yet have a Java recipe for this. We do have a Python example. Java is on the list of things to do. Perhaps someone else can provide an example in the meantime.
Here is a general description:
First, set up your webhook subscription. You can have an envelope-specific webhook subscription by including the eventNotification fields in your envelope create request.
Or you can set up a more general subscription by using the "Connect" feature. You can setup Connect subscriptions either via the DocuSign web tool, or programmatically.
As part of the subscription you provide your url for the incoming XML notification messages.
To handle them, you write a small web app using whatever web app framework is easiest for you and your stack. Your web server will receive the incoming https calls from DocuSign.
You can see what the incoming XML messages look like by using the beta Recipe Framework. Run it on Heroku. Use the embedded signing recipe and click the button to see the Webhook / Connect messages. You can then see the sorts of messages that you will receive.
Your incoming message web server will simply parse the XML messages and then handle them accordingly.
Thanks for using the webhook system. Please ask more questions here if you have any issues.

Resources