Azure function and Azure logic apps both are serverless workloads. Let's look at a few differences below.
Azure Functions | Azure logic Apps |
Execute event-driven serverless code functions with an end-to-end development experience | Automate the access and use of data across clouds |
serverless compute services | Serverless workflows |
Code first approached - imperative | Design first - declarative |
Uses App Insights for monitoring | Uses Azure Monitor logs and Azure Portal |
Managed with Rest API and Visual studio | Managed with Azure Portal, Rest API, Visual studio and PowerShell |
Execute locally or in cloud | Run any where |
Lot of binding types and extend your own bindings | Lot of connectors or build your own |
We can call Azure logic apps from Functions | We can call Functions from logic app |
Write code for each activity to execute | In built read made actions(app connectors) available to integrate from the collection |
Based on above comparisons and your requirement factors you can choose any of the service.