Forum Discussion
Snowflake Connector Bug - Role
- Anonymous3 years ago
Hey I fixed this in my account - in Snowflake within the Security Integration you need to enable EXTERNAL_OAUTH_ANY_ROLE_MODE.
ALTER SECURITY INTEGRATION {} SET EXTERNAL_OAUTH_ANY_ROLE_MODE = ENABLE;
Hi Anonymous ,
See: Using SSO Between Power BI and Snowflake
If you connect using the Microsoft Account option, an in-app browser window will open redirecting you to authenticate using your AAD tenant.
To achieve the experience described above, you need to perform a one-time setup in Snowflake. Log in as an ACCOUNTADMIN in your Snowflake account, and create the security integration described in this doc. Ensure that the Power BI user exists in Snowflake and that it also matches the user in AAD. You can set up user-matching rules in multiple ways through security integration settings, but the most common way is to use the UPN value in AAD to match with the login_name of the Snowflake user.
You can also refer the error messages workarounds from Snowflake document: Power BI SSO to Snowflake
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Yeah, we have created the Security Integration and it works. The only thing that does not work is the "Role" in the Connection options when I put in a Role that is not my default role in Snowflake.