Azure Logic Apps workflow deployment using powershell or ARM template - azure

Right now in azure logic apps the third party connectors like twitter ,facebook ,salesforce etc requires multifactor authentication which can be done using workflow designer .We are looking forward do the same using PowerShell ARM Template for different environments. So please suggest the way forward ?

Here is the blog from Jeff Hollan for creating "connections" in logic app using ARM
http://i1.blogs.msdn.com/b/logicapps/archive/2016/02/23/deploying-in-the-logic-apps-preview-refresh.aspx

Related

Deploying Power Platform Components on Different Subscriptions

I have several Power Platform components, such as a Power App and some Power Automate flows that are part of a larger application. This application also consists of a Python package, a SQL database and so on.
I am trying to deploy this application on a client's environment. Now, in terms of the Python package and SQL database, for instance, this would mean deploying it into their Azure subscription or tenant.
How would this work for the Power Platform components? How can I deploy it on their subscription?
Note: I am not sure if subscription is the correct term to use here. As far as I know, Power Platform is not a part of Azure, but it comes under an O365 or D365 subscription?
I know Power Apps and flows can be exported and imported into other environments/subscriptions. But, is there some way I can maybe set up a CI/CD solution in order to achieve this? Maybe using Azure DevOps?
I have come across this, but from what I understand, I believe this is about deploying these components in different environments within the same subscription?,
https://learn.microsoft.com/en-us/azure/architecture/solution-ideas/articles/azure-devops-continuous-integration-for-power-platform
When you use Azure as part of you Power Platform solution, the right term is "tenant". 1 tenant can have multiple power platform environments and azure subscriptions.
https://learn.microsoft.com/en-us/power-platform/admin/environments-overview#environment-scope
Devops for Power Platform is simpler. Best way to authenticate is using service principal:
https://learn.microsoft.com/en-us/power-platform/alm/devops-build-tools#connection-to-environments
The Azure part is more complicated. if you want to fully automate you will need to write some infrastructure as code to create resources like an azure function or a database and after that the pipeline to deploy the code to those resources.

Publishing a web application on Azure

I want to publish an web application on Azure market place.
I can create a Linux VM, install Java, Tomcat, SQL server and create an image of it. But instead of that, is it possible to create a tomcat instance along with database on Azure portal, add it to a resource group and publish this resource group on market place?
Would this approach be more advantageous?
thanks
As per the doc here:
https://learn.microsoft.com/en-us/azure/marketplace-publishing/marketplace-publishing-getting-started
Azure Marketplace offerings are based on Azure VM images or solution templates, your current solution would be the VM based route. It sounds like you may want to look at the solution template route to leverage other capabilities such as Azure SQL Server.
Neither route enable "publish this resource group to the market place". If that is the route you are aiming for that is essentially building out a multi-tenant application which is a bigger task and perhaps something like this link will help get you started:
https://azure.microsoft.com/en-gb/blog/with-newly-available-services-azure-continues-to-be-the-best-place-for-software-as-a-service-developers/
There are also other stackoverflow answers which may be of help:
Does a developer have to pay for publishing a SaaS app on Windows Azure Marketplace?
How can i publish my web solution to Marketplace

Is there any easy way to convert WWF workflow to Azure Logic app

We have Windows Workflow Foundation workflow. Is there any easy ways to convert it to Azure Logic App or Azure flow without recreating. Exporting XAML to Logic app or something similar to that. I think WWF is going to die soon.
No way. Logic Apps uses Swagger to identify the service contracts nor XAML.
As far as I know, there's no easy way since Logic Apps uses Swagger to identify the service contracts which is totally different than XAML.
One way would be to host your workflow(s) via a WorkflowServiceHost. Then you can access your workflows via a web hook / REST call. Logic Apps can then access your workflows via the ReceiveAndSendReply activity(s) in your workflow.
I believe a quick approach to implementing this strategy is to:
Use the WCF Workflow Service Application
Move your workflow logic into the XAMLX workflow designer
Utilize one (or more) ReceiveAndSendReply activity(s) to listen in on web calls in your workflow
Implement Swagger on top of the WCF services so Logic Apps can be meshed with your workflow services

Web app onboarding to Azure Web Marketplace

We checked this documentation - https://blogs.msdn.microsoft.com/appserviceteam/2016/08/26/onboarding-to-azure-web-marketplace on how to onboard our web apps in the Azure marketplace and also the GitHub link - https://github.com/SunBuild/web-app-marketplace
We have contacted MSFT on how to host our application which has an API and WCF applications as sub-applications.
MSFT replied that sub applications are not currently supported in through this onboarding model.
So, we are trying to onboard the three applications individually and link them in the Azure marketplace. We are not sure whether this will work or if this is possible.
In the sample applications in the GitHub link - https://github.com/SunBuild/web-app-marketplace, they have a hosting plan JSON file for the web app resource. Can we link the applications using this hosting plan JSON file?
We could not find any information or definition related to this hosting plan file - https://github.com/SunBuild/web-app-marketplace/blob/master/WebApp-SQLDatabase/DeploymentTemplates/Website_NewHostingPlan_SQL_NewDB-Default.json
Does anyone tried this before or know how to do this?
sub applications are not currently supported in through this onboarding model.
From the documentation, we could know if web app need Virtual application setting to be configured for web app, we will not be able to on board the application.
we are trying to onboard the three applications individually and link them in the Azure marketplace. We are not sure whether this will work or if this is possible.
In my view, if you on board these application individually, it may not enable us to bundle multi individual applications to make them link with each other. You could contact with Azure marketplace support team.
We could not find any information or definition related to this hosting plan file - https://github.com/SunBuild/web-app-marketplace/blob/master/WebApp-SQLDatabase/DeploymentTemplates/Website_NewHostingPlan_SQL_NewDB-Default.json
In the link you posted, we could find that it is an Azure Resource Manager (ARM) template that is used to define resources you want to deploy. This article explained about the Azure Resource Manager template, please refer to it.

Azure logic apps Deployment in Different Environment

I am using azure Standard service plan and developing Logic Apps Work flows. Now i want to deploy it to different environment like QA/UAT.
I have referred few MSDN blogs and found out We can do the logic apps deployment to different subscriptions via Visual studio with Azure SDK. However I am using API Apps in the logic apps work flows like SQL connector, Transformation service, BizTalk Xpath Extractor etc..
Can you please let me know how do we deploy API Apps to different Environment. Please suggest.
Thanks,
Vinoth
One way is to create the logic app with the connectors you want and then export that ARM template LogicApp -> Settings -> Export Template. Of course this template might not be the ideal approach since it will have lot of stuff hard coded specific to that LA.
The good approach will be to create a new Azure resource Group project which has
the logic app ARM template,
just copy the defn part from you existing logic apps int the template definition section
make sure you have the connection resources creation added as part of you template.
Some useful resources
1. Checkout this MSDN link.
2. There is a utility also to get the LA templates, read this

Resources