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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
nmesmeric
Frequent Visitor

SSAS Connection String: Anonymous Impersonation Level

Hey Guys,

 

I have an SSAS cube on premise and I am trying to connect from Power BI via an on prem data gateway.

 

To allow anonymous users access to the SSAS cube I need to specify the below in the connection string:

 

"Impersonation Level=Anonymous"

 

How can I add this to the connection string, I can't see anywhere where i can modify the connection string to SSAS?

 

Thanks,


Felix

 

4 REPLIES 4
v-yingjl
Community Support
Community Support

Hi @nmesmeric ,

To setup SSAS anonymous authentication you need to complete 3 steps :

  • Change SSAS server property "Security\RequireClientAuthentication" value to False.
  • Edit your connection string and add following parameter: Impersonation Level=Anonymous;
  • Create SSAS database role and grant necessary permission to cubes and dimensions. Add user "NT Authority\Anonymous Logon" as a member of this role.

After such setup any user should be able to access your SSAS database without authentication.

 

The connection string is built using the information you provide in the Connection Manager dialog box. You can also view and edit the connection string in Management Studio in the data source property page.

 

Refer this FAQ: How to setup SSAS anonymous authentication 

About connection string:

  1. Data Source properties 
  2. Connection string properties 

 

Best Regards,
Yingjie Li

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

Hey v-yingjl,

 

Thanks for your response.

 

I have followed all instructions, however I have ended up with the same issue.

 

When connecting to an on premise SSAS server from Power BI Cloud via a data gateway, I cannot see anywhere where I can specify an impersonation level in the connection string.

 

Do you know where I can specifiy this? "Impersonation Level=Anonymous;"

 

On the gateway the connection doesnt allow you to specify any aditional parameters, it only allows a server name and database name.

 

Thanks for your help,

Felix

Hi @nmesmeric ,

Connection string.png

Please refer this document: Set Data Source Properties (SSAS Multidimensional) 

After setting connection string, you need to map users in power bi service, refer this document: Map user names for Analysis Services data sources 

 

Best Regards,
Yingjie Li

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

GilbertQ
Super User
Super User

Hi there,

When connecting to SSAS via the Gateway it would need to have an account which has got admin rights to the SSAS Server.

Once that is done, as far as I am aware the impersonation would have to include a user account. You could map this user account via the gateway to a user account on your SSAS instance which would allow all users access.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.

Top Kudoed Authors