Skip to main content

Power BI

Needs Votes

Add support for Role in Snowflake Connector

Vote (189) Share
Taylor Paddock's profile image

Taylor Paddock on 30 Jan 2019 00:14:56

Currently, the Snowflake user's default role is used for the connection. Need the ability to specify a Snowflake role if a user is assigned to more than one role. Role is already an optional parameter in the ODBC connector that is required to be installed. Using the ODBC connector instead will not work as DirectQuery is needed from the Snowflake Connector.

Comments (17)
Taylor Paddock's profile image Profile Picture

333d8a79 a6c1-4a2d-9bf0-8eb457200b49 on 25 Aug 2020 22:50:50

RE: Add support for Role in Snowflake Connector

This is basic connection parameter which should be made available. Without role selection the Snowflake Security cannot be utilized through Power BI. In real scenario, a user will have multiple roles based on profile/project and this idea should be considered as Snowflake Connector is GA.

Taylor Paddock's profile image Profile Picture

cf92d97a 15c7-ea11-a812-000d3a9b112e on 16 Jul 2020 03:43:00

RE: Add support for Role in Snowflake Connector

This is something that we need for any user that has more than one role assigned. in my business case i have a standard user in snowflake with several roles applied to it, this user's sole purpose is to read data into a power bi dataset/report therefore we need the flexibility to configure which role to apply depending on the data to visualize.

Taylor Paddock's profile image Profile Picture

882a871b eac6-ea11-a813-000d3a579c38 on 15 Jul 2020 22:32:05

RE: Add support for Role in Snowflake Connector

This is a basic feature and required for users with multiple roles

Taylor Paddock's profile image Profile Picture

588ab218 deaa-424e-a947-07fc4a7d2348 on 10 Jul 2020 17:20:45

RE: Add support for Role in Snowflake Connector

As an enterprise, we use Azure SCIM to provision users and roles in Snowflake based on Active Directory users and groups.

Azure SCIM does not assign a default role to users in Snowflake.

Therefore, new users in Snowflake cannot use direct query in PowerBI until an administrator manually assigns a default role because they get an error on login.

Also, because security within Snowflake is based on the currently used Snowflake role, and PowerBI relies on the users default role (not a role specified at design-time), there is no guarantee that results will be consistent or a query can even execute successfully.
This is because a users default role may not allow access to the tables/views required - as a user's roles in Snowflake are not cumulative as per SQL Server - only a single role can be used at a point in time.

Taylor Paddock's profile image Profile Picture

75b8a60e de0f-49c1-ab5c-bb3ccd2fd081 on 06 Jul 2020 00:16:51

RE: Add support for Role in Snowflake Connector

This is basic feature for working with Snowflake

Taylor Paddock's profile image Profile Picture

d56d5c2f 92f6-49c5-9f19-80b6e7a60b91 on 06 Jul 2020 00:16:06

RE: Add support for Role in Snowflake Connector

this driver is kinda useless without this feature

Taylor Paddock's profile image Profile Picture

b581078a d1dc-4d94-a1a6-0c4bc1ac2272 on 06 Jul 2020 00:15:54

RE: Add support for Role in Snowflake Connector

It is crucial to have this ability to properly utilize all the power of Snowflake in Power BI

Taylor Paddock's profile image Profile Picture

a0b76dc0 0d18-4911-9d16-e6ed488bc931 on 06 Jul 2020 00:15:05

RE: Add support for Role in Snowflake Connector

I think this is very important feature needed for handling different subject areas in a company..Workaround to do this also helps..

Taylor Paddock's profile image Profile Picture

5b46399f 2a0b-4a18-9c19-f4e44e275996 on 06 Jul 2020 00:13:49

RE: Add support for Role in Snowflake Connector

How is this not implemented right from the beginning? This is literally core functionality!

Taylor Paddock's profile image Profile Picture

014b1b6f 197a-4add-9f38-61572564ecef on 06 Jul 2020 00:10:09

RE: Add support for Role in Snowflake Connector

Come on guys, this is a core requirement for recommended ways of working with Snowflake. It really seems like the Snowflake connector was coded up in a couple of days to fill in a checkbox on some manager's feature list, then thrown out to customers as a ****** MVP and abandonded.