Forum Discussion

daniele_tiles's avatar
daniele_tiles
Advocate II
5 years ago

Power BI, Dataset and oAuth

Hi to all,
I've a question about the usage of oAuth for resource on Power BI. We've got some cases (Power BI reports based on files on Teams, or Power BI reports based on data on Synapse) that we need to get refreshed.

So we configured the dataset on Power BI Service with one of our users, each case is a user which has a Pro license and has got the rights to do so.

The problem arises with the governance: if the the aforementioned user "leaves" the company, and the user is deleted, then we've to reset all the credentials with a new user.

That's why, on prem, usually it's better to work with a service user with no expiration (password and user).

But on cloud...I guess that if we want to do so, we have to give to a service user a Pro license: since it's all based on the oAuth, and I cannot insert a different user (a service user) from mine: when I set the oAuth authentication, it's the same of the one I've logged in to Power BI Service. If I want to change the user to the service user, it has to be a Pro licensed user, and set as an admin/maybe collab of the workspace.

Am I correct?

Thank you for your support

 

Daniele

8 Replies

  • Hi daniele_tiles 

     

    Yes you are 100% correct. That is what I have done with other organizations to ensure that the dataset refreshes will always work as expected and can be refreshed.

    • daniele_tiles's avatar
      daniele_tiles
      Advocate II

      Thank you very much. Another thing I was wondering about is about the change of passwords for a normal user: usually I see that doesn't impact the dataset connection...are there any cases (except the delete of the user) that a change of password might require to re-set the connection? SInce I've got users that are worried about this (I believe it's a false problem, but I'd like to have some guarantees).

      Thank you

       

      Daniele Tiles

      • v-kkf-msft's avatar
        v-kkf-msft
        Community Support

        Hi daniele_tiles ,

        You are right. If the password of the account used to configure the data source credentials is changed, the datasource credentials need to be updated. If the password of another account is changed, it has no effect on the datasource credentials, and not need to update the credentials.

         

        If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

        Best Regards,
        Winniz

        If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi daniele_tiles , v-kkf-msft  , this post was usefull for one of my case too!

    Just to extend and understand more!

    When we use Oauth authentication and go to Edit credentials, it asks for Pickup an account, so if we pickup "Service user account" and save the connectin does that mean, while users use this connection serviceaccount credentials used for data refresh or my credentials used for data refresh?

    Can you please provide info on same if possible