How to integrate Azure Synapse to app and access data with users' permission

Leyuan Chen 1 Reputation point Microsoft Employee
2022-12-08T10:21:42.387+00:00

I want to add data filter function in my app (it's a portal that help users preview and filter data in browser), and I have successfully connected to Synapse in C# code using service principle.

The problem is that my app is used by users and I don't want to use app's permission to access data but use user's permission to do so. That means, if I login, then I can access all the data that I can access. But I don't find doc to describe how to do that

Is it possible to implement such a function?

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
5,373 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. HimanshuSinha-msft 19,486 Reputation points Microsoft Employee Moderator
    2022-12-09T00:38:54.523+00:00

    Hello @Leyuan Chen ,
    Thanks for the question and using MS Q&A platform.
    As we understand the ask here is how to provide user access on Synapse , please do let us know if its not accurate.
    To be honest , i am not sure at this time as what different pernissions you are looking at and more over since you are inteacting with Synapse using Servive Prinicpal even adds to the complexity . I request you to please go through the below link and know about the Synapse access .

    https://learn.microsoft.com/en-us/azure/synapse-analytics/guidance/security-white-paper-access-control

    Please do let me if you have any queries.
    Thanks
    Himanshu


    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
      • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.