Skip to main content
Solved

Setting up SQL Server Datasource using specific AD account (not integrated security) [Business Units]


I have a SQL Server Database that I have access to using my credentials, but need to set it up using a service account (AD Account). I have tested that this account has access to the SQL Server using the provided username/password in Power BI Desktop.

Here are some screenshot of what I’m experiencing.
Changed Authentication to AD Password Authentication:

Changed the Encrypt connection option:
 

It seems like the username is not transfered to the server…

We are using TX 20.10.38.64

TIA

Best answer by rory.smith

Are you using Azure Active Directory or on-prem AD? The option you are showing is for Azure Active Directory iirc. You can verify this through trying SQL Server Management Studio where you will find three Azure AD option (password, integrated, Universal with MFA.

If you want to use fixed credentials (for everyone, developers and TX service accounts), you probably need to use SQL Server authentication. Windows authentication will use your current Windows credentials and work with on-prem AD.

View original
Did this topic help you find an answer to your question?

4 replies

rory.smith
TimeXtender Xpert
Forum|alt.badge.img+7
  • TimeXtender Xpert
  • 649 replies
  • Answer
  • March 1, 2023

Are you using Azure Active Directory or on-prem AD? The option you are showing is for Azure Active Directory iirc. You can verify this through trying SQL Server Management Studio where you will find three Azure AD option (password, integrated, Universal with MFA.

If you want to use fixed credentials (for everyone, developers and TX service accounts), you probably need to use SQL Server authentication. Windows authentication will use your current Windows credentials and work with on-prem AD.


  • Author
  • Participant
  • 13 replies
  • March 2, 2023

The customer has a hybrid AD environment, but the server is located on-prem, so I suppose I would be authenticating against a local doamin controller, but not sure.

SQL Server Auth is no go, so I think the best option is to provide the service account with sufficient permissions to the sql server database in question.


Christian Hauggaard
Community Manager
Forum|alt.badge.img+5

Does the user have MFA enabled? Have you tried inputting the user as domain\username as well as email address?


Christian Hauggaard
Community Manager
Forum|alt.badge.img+5

hi @EvidaXrem has the issue been resolved?


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings