Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
CEnders
New Member

Power BI + Live Connection Analysis Server + security

Hi,

We are using Power BI + Power BI Gateway with a live connection to tabular Analysis Server on premise.

That works fine.

However those Power BI users must be autorised on the tabular datamart to use the live connection.

Is it possible to not autorise them ? Only autorise them for the dashboard and not for the underlaying datamart.

I have specified a dedicated on permise user in the gateway. The dashboard should be using that user to query the data. Same as when he is importing or refreshing data. 

I am thinking of renaming the pbix file to a zip file, unpack it, edit the connection file and add some properties like effective username to the string. Connection properties to Analysis Services are specified here : 

https://docs.microsoft.com/en-us/sql/analysis-services/instances/connection-string-properties-analys...

Any other ideas ?

Constantijn 

 

 

2 REPLIES 2
v-juanli-msft
Community Support
Community Support

Hi @CEnders 


@CEnders wrote:

However those Power BI users must be autorised on the tabular datamart to use the live connection.

Is it possible to not autorise them ? Only autorise them for the dashboard and not for the underlaying datamart.

I have specified a dedicated on permise user in the gateway. The dashboard should be using that user to query the data. Same as when he is importing or refreshing data. 

I'm not clear about these above.

Please refer to the following guide to configure schedule refresh for SSAS.

Manage your data source - Analysis Services

Power BI: Data Refresh ad SSAS On-Premises Connectivity

 

Best Regards
Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

To make it clear.  We have a normal user called John and a Power BI Gateway User called GatewayUser.

The GatewayUser can access the ssas tabular datamart. John can't access the datamart.

User John access the dashboard and requests data. Using the gateway the data is retreived (live) from the datamart under the credentials of John.

What I want is that the data John wants, is requested under credentials of the GatewayUser.

Of course import is an option, but the live connection has much more benefits.

How can I implement impersonation on a live connection to use the gatewayuser identity ?

Can I specify the effectiveusername  ?

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors