I currently have a .NET Core 2.1 Azure Functions app with a timer trigger. Due to a change in network landscape, the functions app in Azure no longer has network access to the database resources it needs. We've thought about repointing the application to a webservice instead of the database, but need a lift-and-shift solution in the short term, and we have an on-premise server that is set up to run batch job console apps.
Is there any easy way to run an Azure Functions app via the command line? It seems to work that way from the Visual Studio debugger.