Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
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?
Solved! Go to Solution.
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
Proud to be a Datanaut!
I was able to get in. Thank you for your response!
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!
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
Proud to be a Datanaut!
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 7 | |
| 5 | |
| 4 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 15 | |
| 11 | |
| 11 | |
| 8 | |
| 6 |