Secure Azure Logic App using Azure SQL Row Level Security

Yash 86 Reputation points
2020-12-13T05:15:01.417+00:00

How can I create a system using Azure logic app & Azure SQL with the given functionality:

Whenever a user invokes the logic app, logic app gets the uuid of the user. This uuid is passed to Azure SQL and on the basis of uuid row level security is applied. After applying the row level security, Azure SQL sends back all the generated rows to logic app.

It will be better if Azure AD can be used for row level security

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,769 questions
Azure SQL Database
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,854 questions
Microsoft Entra
0 comments No comments
{count} votes

Accepted answer
  1. Pramod Valavala 20,591 Reputation points Microsoft Employee
    2020-12-14T15:46:29.837+00:00

    This is possible and can be achieved with the following

    1. Set up authentication for Logic Apps either directing with Logic Apps or using Azure APIM. The APIM approach allows for a single setup for all of your logic apps and even extracting the UPN from the token, passing it directly to Logic Apps.
    2. Extract the unique ID for the user from the passed token
    3. Fetch the rows using the unique ID as shown in this example from the SQL docs.

0 additional answers

Sort by: Most helpful