Skip to main content

Power BI

Under Review

SSAS Tabular Connector without Active Directory Sync?

Vote (213) Share
Teo's profile image

Teo on 21 Dec 2014 22:36:29

There should be a way to use the SSAS Tabular Connector without AD Sync, e.g. by using CustomData on the connection string.

Administrator on 22 Dec 2014 14:34:34

Thanks for the suggestion, Teo! Is anyone else in a position where they can't use the SSAS Connector because they aren't using AD Synchronization? If so, please add your vote here!

Comments (35)
Teo's profile image Profile Picture

e15a4209 b27d-40db-b439-f8bd7a01c5a6 on 05 Jul 2020 22:00:23

RE: SSAS Tabular Connector without Active Directory Sync?

Any update on this? Can't wait for this feature to be available.

Teo's profile image Profile Picture

d0886b64 ebba-4a3d-9567-beeed830ab66 on 05 Jul 2020 22:00:19

RE: SSAS Tabular Connector without Active Directory Sync?

This works for smaller customers too. we have large customers who are trying to avoid IT costs to implement a solution. They already have access to the models & SQL Server but the AD requirement means they cannot progress with the tool. Automated updates are just expected by our clients and this would remove massive road blocks to entry

Teo's profile image Profile Picture

e98f539d 0b6b-4186-8c97-80e3f8e65f80 on 05 Jul 2020 22:00:15

RE: SSAS Tabular Connector without Active Directory Sync?

I think it's important to understand the use case scenarios. We currently host about 400+ customers in our own hosted environment. Each of these can have from 100's to 10 of thousands users. There is no domain trust or federated identity in place between the customers' domain and the hosted domain. Our customers are heavy OLAP and Tabular users - the cube security is not role based - it is dynamic security based on data grants that are driven down as the cubes are processed. Identity is generated thru use of CustomData leveraging a Proxy that intercepts calls to the HTTPS MSDMPUMP. With this approach, there is no need for management of cube roles, etc. We don't set any local accounts or set up roles on the cubes as it would be prohibitive to do - for the same reason we don't need to use Azure DirSync. Please let me know if you want more details -
thanks

Teo's profile image Profile Picture

bed56463 2133-433c-873e-fa07d7f832b3 on 05 Jul 2020 21:59:39

RE: SSAS Tabular Connector without Active Directory Sync?

Hey Eric,
You really don't need dirsync for this. Check if the result on whoami\upn works with SSMS. Try connecting to SSMS using that result as the effective user name. If that works, the Connector will work. If the SSMS test fails, the connector unfortunately as of now will not work!
We are looking into ways to provide custom mapping so that we do not have to rely on effective user name.
Thanks!

Teo's profile image Profile Picture

3ceb383d 1b4d-4ce7-aa6c-2f97d98b2eed on 05 Jul 2020 21:59:39

RE: SSAS Tabular Connector without Active Directory Sync?

I think i'm having same issue. My email is user@domain.com but whoami\upn comes back as user@abc.domain.com

Teo's profile image Profile Picture

bed56463 2133-433c-873e-fa07d7f832b3 on 05 Jul 2020 21:58:49

RE: SSAS Tabular Connector without Active Directory Sync?

Hi Bill,
I am not sure I understand your scenario completely. It is not clear to me whether you have already installed the AS Connector to connect your tabular server to Power BI.
Take a look at this blog post - http://blogs.msdn.com/b/powerbi/archive/2015/03/11/power-bi-analysis-services-connector-deep-dive.aspx

If you have installed & configured the AS Connector but cannot use it with Power BI, let us know & we can help you out.

Teo's profile image Profile Picture

46698241 a4e7-4c21-bc39-8de8f6cc70ac on 05 Jul 2020 21:58:48

RE: SSAS Tabular Connector without Active Directory Sync?

I do not know for sure whether my problem is the same but I suspect so. I have done the following:

1. Set up a demo SSAS Tabular database in an Azure VM that is standalone (not connected with my company domain).
2. Made the demo SSAS Tabular database available externally by making its port static, opening up that port for inbound traffic, and creating an Azure endpoint.
3. Tested the connectivity from SQL Management Studio (which has to be opened using a "run as" command, e.g. runas /netonly /user:>\> “C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\Ssms.exe”)
4. In Power BI, tried to create a SSAS Tabular data connection.

On (4), I ran into a blank screen. There appears to be no way to do, from Power BI, what I was able to do from SQL Management Studio - that is, to connect to this Azure-VM-hosted SSAS database.

We had thought the combination of an Azure VM (not domain connected) and some Power BI dashboards would be a perfect, easy and safe way to demonstrate our product to external users, without exposing our home network to hacking, etc. But this looks like it is going nowhere at the moment.

Can you comment on whether my problem is the same as what others here are seeing? And can anything be done about it?

Thanks.

Teo's profile image Profile Picture

71fb449e b278-4a16-b2e6-28ce9fcb4d67 on 05 Jul 2020 21:57:55

RE: SSAS Tabular Connector without Active Directory Sync?

See my prior comments. I wonder if Teo would be willing to alter this idea to not just be about working without Active Directory Sync, but to also address the scenario where your AAD UPN does not match your on-prem UPN thereby causing the connector to be unsuccessful when connecting to the on-prem SSAS server instance.

Teo's profile image Profile Picture

71fb449e b278-4a16-b2e6-28ce9fcb4d67 on 05 Jul 2020 21:57:54

RE: SSAS Tabular Connector without Active Directory Sync?

I am running in to a problem due to the fact that even though our company has turned on DirSync and we have associated our Office 365 tenant with our AAD account, our AAD account and our on-prem account are still two *different* accounts. Our AAD account uses a suffix that is publicly routable, but our on-prem account uses a non-routable account. Therefore our UPNs are different and the EffectiveUserName that is passed to SSAS on-prem appears as an invalid UPN/account to our on-prem server. Granted, I would like our organization to clean up the mismatch and make our on-prem UPN match the AAD UPN, but that is a massive undertaking. So I'm interested in alternative options that help us easily work around this. Maybe an alternative AAD attribute that would contain our on-prem UPN string could be something we configure in the connector setup. I'm not looking for the ability to put a single, trusted account into the string. I really want individual users to be authenticated. I just need the proper on-prem UPN to be passed through.

Teo's profile image Profile Picture

e15a4209 b27d-40db-b439-f8bd7a01c5a6 on 05 Jul 2020 21:57:43

RE: SSAS Tabular Connector without Active Directory Sync?

Can't wait for this feature.
Tableau currently offers connection to SSAS using hard coded Windows user name and password. It is sad to see that two of Microsoft products (Power BI or Power Pivot and SSAS) can't talk to each other!