When users are logging in to a Windows 10 desktop with an Azure Active Directory account how do I add them as a user to SQL Server? Using the Search dialog from the Add Login dialog doesn't seem to find them using 'AzureAD\FirstnameLastname' or 'first.last@thedomain.com' format.


I couldn't find any users through the UI but I was able to add a login like this:

create login [AzureAD\FirstLast] from windows;
  • Thanks, very helpful! – gls123 May 6 '20 at 14:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.