My architecture is as follows:
- On prem sql server database [Datawarehouse]
- Azure Analysis Services Tabular model [Sales]
- International report developers that query the [Datawarehouse] to develop reports*
- RLS on tables in [Datawarehouse]
- RLS on [Sales] tabular model
For testing that our data makes it correctly from [Datawarehouse] to [Sales] I would like to create a view on the [Datawarehouse] that uses OPENROWSET() to connect to the [Sales] tabular model. The only issue with this is I can see the user that runs the OPENROWSET() query on the [Sales] model is our sql admin user, not myself.
Is there a way to configure the OPENROWSET() so that the user that is executing the local query is also the user that executes the query on the linked server? As far as I can tell, passthrough credentials would be the best way to ensure proper security is maintained.
*the only reason I mention "international" is because the RLS is based on country
