Active Directory Authentication to SQL Server

Hannah Melton 51 Reputation points
2020-09-23T19:50:25.223+00:00

I would like to Windows Authentication for our SQL Servers. In the past I would add the user window login to the Logins for SQL Server but maintenance was an ordeal. Is it possible to have SQL Server use AD or AAD to authenticate to the database. So anyone could connect and then the permissions would be set using the application code.

SQL Server Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Erland Sommarskog 121.4K Reputation points MVP Volunteer Moderator
    2020-09-23T22:01:15.683+00:00

    Your question is not exactly clear, but note that you can create a login for a Windows group. So if a new person joins the company and should be able to access the database, this can actually be controlled through the AD by adding that person to that Windows group.

    0 comments No comments

  2. Cris Zhan-MSFT 6,661 Reputation points
    2020-09-24T07:00:41.553+00:00

    Hi @Hannah Melton ,

    Please check the following post for reference:

    How to add Active Directory user group as login in SQL Server

    Azure Active Directory User/Group And Azure SQL Database or Configure and manage Azure AD authentication with Azure SQL


    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.