A third party service calls an Azure Function implemented by me and defined as a WebHook. Right now, this function retrieves a SQL connection string securely from Azure Key Vault, connects to the database and manipulates data directly.
However, I want the function to use my Azure App Service backends' controller methods just the way, the client does. The client (Xamarin.Forms iOS/Android) authenticates against the backend using Azure AD B2C and makes use of the MobileClient SDK from Microsoft for easy working with tables.
How can I make the Azure Function work with the Controller methods?