SQL Server – How to Add an AzureAD User for Windows Authentication

azure-activedirectorysql serverwindows-authentication

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.

Best Answer

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;
Related Question