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.
Asked
Active
Viewed 3,774 times
1 Answers
13
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;
Rory
- 1,910
- 9
- 30
- 43
-
Thanks, very helpful! – gls123 May 06 '20 at 14:19