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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
TheLotter2017
Frequent Visitor

Power bi desktop with ssas cube on non trusted domain

Hi, we have a problem with Power Bi Desktop: 

 

The cube and our users reside on a different, non-trusted domains (the cube on domain A and the users on B). changing them to be trusted domains is not a possible or acceptable solution.

An additional limitation is that while we intend to create for these users corresponding user profiles on domain A, these outside user cannot receive the passwords to these user profiles.

 

The solution we’ve considered was allowing the outside users to access a cube through an http url, and create the impersonation for them on server A once their request is processed. (i.e. switch the user name they arrive with to a user name that the cube’s server knows and can work with)

However, we can’t seem to find how to extract the user name from http request sent from Power Bi desktop to the cube.

The only place we’ve found where username / password can be defined were the ones that arrive on the datasource connection, as connection string parameters.

The problem with this option is that when a report is shared, the connection & credentials to the datasource are also shared with the report, invalidating our security.

We’ve considered using windows credentials to circumvent the problem, but this means that users can save, share & restore their domain A credentials, invalidating our security.

We’re willing to consider using basic authentication, but have not found a way to implement it with Power BI Desktop. (at least not one that didn’t involve piggy-backing them on the connection string)

Could  you please advise us  how to implement a solution that will allow these outside users access to our cube through Power BI Desktop?

 

Thanks in advance.

 

3 REPLIES 3
v-yuezhe-msft
Employee
Employee

@TheLotter2017,

The external users can use runas /netonly command to connect to SSAS from Power BI Desktop, for more details, please review the following similar thread.

https://community.powerbi.com/t5/Desktop/Can-t-connect-to-SQL-Server-2016-SSAS-Tabular-Model-on-loca...


Regards,
Lydia

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

Thank you for your advice, but our problem that we can't to give external users username and password from production domain where the cube reside and respectively can't use run as command .

@TheLotter2017

Please review the following similar thread and article to configure HTTP Access  to SSAS.

https://community.powerbi.com/t5/Desktop/PowerBI-Desktop-using-HTTP-endpoint-to-connect-an-OLAP-Cube...
https://docs.microsoft.com/en-us/sql/analysis-services/instances/configure-http-access-to-analysis-s...

Regards,
Lydia

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.