Forum Discussion

aaronallsop's avatar
aaronallsop
New Member
6 years ago

Multi-Tenancy issue with same extensionDataSourcePath

Hi there,
I have a report connecting to a Snowflake database for ClientA deployed to this clients workspace.
Clients have seperate DBs and reports use service accounts to control access and parameters to change the DB.
From the Desktop i publish the report to ClientB's workspace and configure the dataset credentials using ClientB's service account.
This then causes ClientA's report to stop working.
It appears that when the extensionDataSourcePath is the same (probably just the ID in the backend as my colleagues report still functions) then the credentials update against it and cause one or the other client reports to stop working.
I have tried changing the privacy levels but no luck there
Appreciate any assistance


cheers
Aaron

8 Replies

  • Hey Aaron,

     

    When you check the dataset for Client A's report/workspace is it indeed different credentials from Client B's newly published report/workspace?

     

    What is the user permission level in Snowflake for the service accounts?

    • aaronallsop's avatar
      aaronallsop
      New Member

      Thanks,
      The credentials are different across both and after i enter them their respective reports work. So permission levels are not an issue.
      But once entered for ClientA, ClientB's report will stop working and vice versa.
      Interestingly, when i change the privacy level for ClientA (e.g. to Private) then open ClientB's Data source credentials it shows the updated privacy setting, even though it's in a different workspace

       

      • gregpetrossian's avatar
        gregpetrossian
        Advocate I

        That is really interesting... 

         

        Are you using the same Power BI Desktop instance to publish both? Do you sign into the credentials for Client A service account, publish, then sign out on Desktop before moving to Client B or did you close the Power BI program?

  • v-yingjl's avatar
    v-yingjl
    Community Support

    Hi aaronallsop ,

    Try to enable End users use their own OAuth2 credentials when accessing this data source via DirectQuery. option in the credential configuration page. Refer this document about snowflake in power bi service: Connect to Snowflake in Power BI Service 

     

    If you have any error message when connecting to snowflake, you can refer this document to check it: Error Messages troubleshootings 

     

    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.

    • aaronallsop's avatar
      aaronallsop
      New Member

      thanks Yingjie Li.

      we tried that initially but apparently the user experience was pretty flakky. i wasn't part of that setup so i'll have a chat to the team about why it didn't work out