Vendor-lock is the biggest drawback of this function. It is very difficult to run code deployed in Azure function outside the azure environment. The language used in function app such as java, NodeJS, etc are not specialized but the code to establish a connection between resources is specific to azure.