What 2 types of authentication does Azure SQL support?
What types of identities does Microsoft Entra ID/Azure AD support?
What is the decision tree for authentication?
Why would you use cloud-only identities for authentication?
Why would you use federated authentication for authentication?
Why would you use pass-through authentication?
What are other authentications?
How do you enable multi-factor authentication with Microsoft Entra ID?
How do you add a new user with Azure AD authentication?
How should you create a second admin account?
You should create a second admin account as an Azure AD account, with the db_owner database role
How do you create a login for Azure SQL Managed Instance?
CREATE LOGIN MyLogin
WITH PASSWORD = ‘mypassword’;
CREATE USER MyLogin FOR LOGIN MyLogin
What can logins do in Azure SQL MI?
Can you create logins from Azure AD users, groups or apps?
Yes
CREATE LOGIN loginname
[FROM EXTERNAL PROVIDER]
{WITH <option_list> [,...]}</option_list>
What are the parameters/options for creating a login from Azure AD users, groups, or apps?
What does FROM EXTERNAL PROVIDER mean as part of the CREATE LOGIN statement?
Indicates Azure AD Authentication
What is the syntax for creating users?
CREATE USER user_name
FOR | FROM LOGIN login_name
| FROM EXTERNAL PROVIDER
[WITH <limited_options_list> [,...]]</limited_options_list>
What is the limited options list when creating a user?
DEFAULT SCHEMA = schema_name
| DEFAULT_LANGUAGE = {NONE|lcid|language name|language alias}
|ALLOW_ENCRYPTED_VALUE_MODIFICATION = [ON|OFF]]