Ensure User Access to Microsoft SQL Server with Azure AD Credentials - Page

Allowing User Danny11597200 to Sign in to SQL Server Management Studio (SSMS) using Azure AD Credentials for web11597200

Question

SIMULATION -

You need to ensure that a user named Danny11597200 can sign in to any SQL database on a Microsoft SQL server named web11597200 by using SQL Server

Management Studio (SSMS) and Azure Active Directory (Azure AD) credentials.

To complete this task, sign in to the Azure portal.

Explanations

See the explanation below.

You need to provision an Azure AD Admin for the SQL Server.

1. In the Azure portal, type SQL Server in the search box, select SQL Server from the search results then select the server named web11597200. Alternatively, browse to SQL Server in the left navigation pane.

2. In the SQL Server properties page, click on Active Directory Admin.

3. Click the Set Admin button.

4. In the Add Admin window, search for and select Danny11597200.

5. Click the Select button to add Danny11597200.

6. Click the Save button to save the changes.

https://docs.microsoft.com/en-us/azure/azure-sql/database/authentication-aad-configure?tabs=azure-powershell

Sure, I can provide a detailed explanation of the steps required to complete this task.

To allow a user named Danny11597200 to sign in to any SQL database on a Microsoft SQL server named web11597200 using SQL Server Management Studio (SSMS) and Azure Active Directory (Azure AD) credentials, you need to perform the following steps:

Step 1: Create an Azure AD user

First, you need to create an Azure AD user with the username "Danny11597200". To do this, follow these steps:

  1. Sign in to the Azure portal (https://portal.azure.com) with your Azure account.
  2. Click on "Azure Active Directory" in the left-hand navigation menu.
  3. Click on "Users" and then click on "New user".
  4. In the "Basics" section, enter the following information:
    • First name: Danny
    • Last name: 11597200
    • User name: Danny11597200
  5. Click on "Create".

Step 2: Assign the user to the SQL Server

Next, you need to assign the user to the SQL Server. To do this, follow these steps:

  1. Click on "SQL servers" in the left-hand navigation menu.
  2. Click on the name of the SQL server that you want to assign the user to (in this case, "web11597200").
  3. Click on "Active Directory admin" in the left-hand navigation menu.
  4. Click on "Set admin".
  5. In the "Directory + user" section, select "User" from the "Select" dropdown menu.
  6. In the "User" field, enter "Danny11597200".
  7. Click on "Save".

Step 3: Connect to the SQL Server using SSMS

Finally, you need to connect to the SQL Server using SSMS and Azure AD credentials. To do this, follow these steps:

  1. Open SQL Server Management Studio.
  2. In the "Connect to Server" window, enter the following information:
    • Server name: web11597200.database.windows.net
    • Authentication: Active Directory - Universal with MFA support
  3. Click on "Connect".
  4. Enter the credentials for the Azure AD user "Danny11597200".
  5. Click on "Connect" again.

Once you have completed these steps, the user "Danny11597200" will be able to sign in to any SQL database on the SQL server "web11597200" using SSMS and Azure AD credentials.