Number | Base of difference | Azure Functions | Logic Apps |
1 | Basic definition | Well when we say about the Azure function it is a compute service which is serverless and basically run when an event occurs. | When we say about the Logic App, it is nothing but the cloud service which is mainly used to schedule the task. |
2 | Limited | Azure function connectivity is limited only for input and output bindings. | On the other hand we are using 200+ connectors in logic apps. |
3 | Contains | Well Azure function contains the code first user experience. | Well Logic apps contains the designer first user experience. |
4 | Runs on | We can run Azure function locally or any self-managed server. | Here Logic apps runs only on azure. |
5 | Connector | Azure function not contain any type of connector | Well on another hand Logic app contains the large connectors in azure services. |
6 | Scaling | Azure function automatically scales the capabilities of functions. | Well Logic apps provides auto scaling probabilities. |
7 | Deploy | As we already say code first, Azure functions contains the code first options in a deployment. | And there are multiple ways to manage and deploy logic apps. |
8 | Security | Azure functions is secured by an authorization key which was generated automatically. | In logic apps every connector comes with its own security. |
9 | Exception handling | Well in Azure function we will build our own exception handling. | Well, Logic apps provide out of box functionality by using retries scope and configuration. |
10 | Manage | Well we manage Azure functions by use of Azure portal. | On the other hand Logic apps is very easy for non-technical user to monitor and manage. |
11 | Language support | Azure function supports multiple languages. | On the other hand Logic apps support only one language. |
12 | Rest API | We mainly use visual studio and REST API to manage the Azure functions. | Well we use Azure portal and Rest API to manage logic apps. |
13 | Run | We run the Azure function on locally as well as on Azure cloud. | Well we run logic apps Azure locally or on premises. |
14 | State | The state of Azure functions is stateless and idempotent. | Well the state of logic apps is stateful. |
15 | Check history | In azure function we are using the Azure monitor tab to see the execution history. | Well in logic apps we are using Azure portal for running the history. |
16 | Complexity | Well when we say about the Azure function, it is bit complex. | Well when we say about the Logic apps, it is very easy as it contains the low code for implementation. |
17 | TryCatch Block | We use try and catch block in Azure functions. | We are handing the exception in logic apps by using the retry policy. |
18 | Proxy | Well, proxy feature is available in azure functions. | Well in logic apps proxy feature is not available. |
19 | Languages | Azure functions mainly supports C#, Java, F#, Python, TypeScript, JavaScript and PowerShell languages. | Logic apps will only support one language that is JSON in code view. |
20 | Workflow | We are defining the workflow in azure functions by using durable functions. | Workflow into the azure logic apps is designed by adding the actions by using connectors. |
21 | Connection | There is no provision for connecting to the azure functions into the consumption plan for connecting to premise resources. | By using gateway we can connect to the logic apps. |
22 | Deploy methods | While using the azure function we are using deployment methods as visual studio publish, visual studio code publish, azure pipelines, container deployment, and github actions. | In logic apps, we are deploying our template by using Azure CLI, Azure portal, visual studio, and azure power shell. |