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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
smmoore34
Helper II
Helper II

Adding sql database source to a gateway using a service account

I have several power bi datasets that I have added to a gateway. When I added the datasources to the gateway I used my active directory credentials.  I've set these datasets to auto refresh which works great until my password changes and then I have to go in and fix the connections with my updated password. I have created  a service acount for the datasources and want to use that since it doesn't change. When I am adding this connection to the gateway, what type of authentication method do I choose?  and what are the steps? 

smmoore34_0-1707485324303.png

 

1 ACCEPTED SOLUTION
BA_Pete
Super User
Super User

Hi @smmoore34 ,

 

It depends on what type of credentials the source requires.

A service account is just a fake person so, if a real person (e.g. you) use Windows auth, then the Service account will use that too, same for Basic/OAuth.

Obviously you need to ensure that your service account has permissions to access the source before any of these will work.

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




View solution in original post

3 REPLIES 3
smmoore34
Helper II
Helper II

I was able to get in. Thank you for your response!

Anonymous
Not applicable

Hi @smmoore34 

 

If you are using SQL Server on local drive, it seems that you should choose Windows Authentication.

 

Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!

BA_Pete
Super User
Super User

Hi @smmoore34 ,

 

It depends on what type of credentials the source requires.

A service account is just a fake person so, if a real person (e.g. you) use Windows auth, then the Service account will use that too, same for Basic/OAuth.

Obviously you need to ensure that your service account has permissions to access the source before any of these will work.

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.