Implement Multi-Tenant Database using Azure functions

Himanshu Shrivastava 21 Reputation points


I want to implement Azure HTTP Trigger in Spring boot (Java), I'm unable to do the same as Tenant-ID is passed in header and azure function doesn't support servlet due to which it is not calling Filter API to filter Tenant-ID parameter from Header.

So, is there any other alternative way to achieve Multi-Tenancy with Server-less.


Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,033 questions
{count} votes

Accepted answer
  1. MayankBargali-MSFT 54,456 Reputation points

    @Himanshu Shrivastava Thanks for the confirmation. Unfortunately, it is not possible to set the attribute ConnectionStringSetting dynamically while calling/executing your function.
    You need to define the ConnectionStringSetting that contains the connection string for the database to which data is being written.

    The alternative would be levering the HTTP trigger and writing your own code to communicate with different Azure SQL database based on the user input.

    0 comments No comments

0 additional answers

Sort by: Most helpful