AS2 Receive and Send in C# Azure Function - azure

I'm trying to migrate AS2 BizTalk implementation to Azure iPaaS and I want to avoid the usage of integration account.
I referred below blogs to receive and send AS2 message but not able make much progress.
https://mattfrear.com/2010/07/13/send-as2-with-dotnet/
https://mattfrear.com/2011/01/03/receiving-as2-messages-with-net/
Any help much appreciated.
I added the repo link for Azure Functions
https://github.com/gitdj/AS2IPaasFunc/blob/main/FunctionAppAS2
Here's exception message:
enter image description here
Here's working solution with Logic App with Integration Account
enter image description here

Related

Using LogicApp to make post in Teams with link to open pipeline

I know it's possible to create Logic App in Azure to send message in Teams after completing pipeline. I don't know how can I add hash with completed pipeline as clickable link to open.
I couldn't find any information how can I do this.
I will be grateful for your help.
Azure DevOps Pipelines already have official support to integrate into Microsoft Teams that you could use directly, even without a Logic App.
But if you still need to use a Logic App, then what you could do is use the Invoke a REST API task to call your Logic App, and then send an Adaptive Card which you can design to have a button which links to the pipline.

Azure DevOps REST API, how to allow Azure Function to create workitems in DevOps project?

I'm creating a schedule-triggered Azure Function which will run tests once a day. If during the run any test fails, I want it to create a bug on a Azure DevOps project which includes a log of the failed tests.
I know I could create a PAT so that it can authenticates with the DevOps REST API but I don't like its downsides:
it can be valid for 1 year at maximum, I will need to remember to extend its expiration period
every bug created like this will have me as its creator
Edit:
I found out I could use a MS Flow - there's a DevOps connector that can create workitems, still it has a downside of having me as workitem's creator but it's not such a pain...
Still would much appreciate to learn about other options...
Is there any better way I can let my Azure Function to create bugs on my DevOps project?
An alternate option would be the use azure logic app along with azure function.
Here the azure function would directly call a azure logic app and the logic app would create a bug workitem .
Refer the following article by Stefan stranger
On how to create logic app which will create the bug. Here we will be using azure webhooks for the creating of bugs.
Now you can either send the data to a storage account where the logic app using some trigger to get the data and then use it to create bug, or you can directly connect to the logic app .
Refer the following article by Laura KokKarinen for this .

How to send SMS with team join url link from azure logic app design to user?

I have a scenario
Create power virtual agent chatbot using QNA
Connect human agent whenever customer need
Connect human-agent options to azure communication services
I have successfully created a chatbot,transfer context variables to omnichannels.
But my current case is to make human-agent experience with azure communication services.
So after some research i found a link https://youtu.be/kCi1J4ayX0w which includes demo and flow of azure communication services with team call. The link is what i need. I created one azure communication service and i got a USA communication number in it.
My doubts,
How to make a audio/video microsoft teams join url link in azure logic app design?
How can I proceed it with power virtual agents?
Make sure you use sample payload to generate schema and add
{
"CustomerName":"",
"joinUrl":"",
"PhoneNumber":""
}
For Url, you can start a meet and click Share Invite then Copy the link and now you just have to add the URL while sending the HTTP request.
Here is the Sample pic where I was testing using API Tester.
To proceed with power virtual agents you can refer to this site.

Additional Steps to Deploy C# Teams Messaging Extension (Bot) to Azure?

I have used the Bot Builder Teams messaging extension sample and successfully debugged the project locally on my machine using ngrok. I then proceeded to follow the Azure deployment instructions, and successfully deployed my bot project to Azure.
However, I cannot find instructions regarding what values need to change within my project to now use the assets within Azure. I have enabled the Teams channel on the Bot Channel Registration resource that was provisioned, and I tried updating the botId value within my project's manifest file to match that of the newly provisioned app registration. But I'm still receiving an 'unable to reach app' message when sideloading the app in Teams.
Are there instructions regarding how/what to change within the project so it uses the Azure assets rather than my local ones?
To narrow down what's wrong, have you tried using the Web Chat to test the bot ? If this works, then the bot is working fine in Azure and the issue is for local teams to reach Azure.
Also verify that you are using the right AppID and Password.
Once you have verified that the bot is working in Azure, at the bottom of this page, you will see steps to get a url that you can paste to get the bot added in your local MS Teams instance. (quoting below for quick access)
Copy the https part of the code that is shown in the Get bot embed code dialog. For example,
https://teams.microsoft.com/l/chat/0/0?users=28:b8a22302e-9303-4e54-b348-343232.
In the browser, paste this address and then choose the Microsoft Teams app (client or web) that you use to add the bot to Teams. You
should be able to see the bot listed as a contact that you can send
messages to and receives messages from in Microsoft Teams.
I did finally get my bot working, but found several missing steps within the deployment documentation. I have reported them in a GitHub issue, associated with the relevant documentation article.

How to create a Webhook between Google chat and Azure devops

Is it possible to connect a Google Chat room using Azure devOps WebHooks?
Thanks
Web Hooks in Azure DevOps provide a way to send a JSON representation of an event to any public endpoint (HTTP or HTTPS).
But it's not able to directly contact Google chat room with Azure DevOps. Cause DevOps sends a JSON message in a format that Chat is not able to understand. Which means they do not talk to each other by default.
We need a way to transform the message and tie those two services together. There are a lot of options for that. We could use a 3rd-party tool Zapier.
It allows to easily integrate various services and APIs and I highly
recommend it, although it is a subject for another post.
You could refer this step by step tutorial-- Azure DevOps integration with Google Hangouts Chat

Resources