Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Using Service Account instead of Individual Account to refresh Data from SQL Server

Hi, 

 

  • I have a report using import option from a sql server. 
  • In Power BI Desktop i have used my login to connect to dev environment and imported data. 
  • Publish the dev version to Power BI service Dev Workspace.  I am marked are owner of the dataset when i publish.

 

All refresh schedule is done under my individual account , which I consider is risk. 

 

  1. Is there any best practice on how to set up service account to do data refreshes rather than individual  ?
  2. If service acount is possible, how this can be set up, as currently I login as me using AAD and how service account can be set up just to refresh the dataset?
  3. Also currently i have to type in manually the connection string , is there any best practice for this to be secure? 

 

I don think it is not linked to Azure Keyvault so that is not an option. 

 

thanks

 

 

4 REPLIES 4
Anonymous
Not applicable

Hi @Anonymous ,

You can refer the content in the following links to change to service account:

Change the on-premises data gateway service account

Service account credentials for data set refresh

Best Regards

Rena 

Anonymous
Not applicable

Hi Thanks for your reply.

It is not on-prem , it is Azure SQL, for that reason I dont require any gateways and no VMs in the picture. 

How do we apply service account for sources that is already in Azure?

 

thanks 

amitchandak
Super User
Super User

@Anonymous , if you are using on-premise SQL server than you need to setup gateway

https://radacad.com/the-power-bi-gateway-all-you-need-to-know

 

In the case of Azure SQL, you can change the credentials in power Bi service and make it work. 

Refer:https://radacad.com/power-bi-get-data-from-azure-sql-database

https://www.youtube.com/watch?v=yAKRXF1CQf0

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
aj1973
Community Champion
Community Champion

Hi @Anonymous 

 

You will need anothor pro license account to be used for the service account that you want to create.

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Helpful resources

Announcements
Top Kudoed Authors