Assign database permissions to MSA/DMSA

Depending on the deployment, the system can be implemented with either Management Service Account (MSA) only, or both MSA and Database Management Service Accounts (DMSA).

  • If MSA only is implemented, the following must be granted to MSA: Login, Permission to connect to database engine, and sysadmin server role.

  • If both MSA and DMSA are implemented, the following must be granted to the accounts as follows:

    • To MSA: Login, and Permission to connect to database engine.

    • To DMSA: Login, Permission to connect to database engine, and sysadmin server role.

Procedure 

  1. From the Start desktop, click SQL Server Management Studio.

  2. In the Connect to Server window, do the following:

    1. In the Server type list, select Database Engine.

    2. In the Server name list, select the SQL Server name.

    3. In the Authentication list, select Windows Authentication. Mixed mode is also supported.

  3. Under Object Explorer, expand Security > Logins.

  4. Under Logins, verify that the MSA, or the MSA and DMSA exist in the list, and do one of the following:

    • If the required Service Account exists, continue from Step .

    • If the required Service Account does not exist, continue with Step .

  5. Do the following:

    1. Right-click Logins, and click New Login.

    2. In the Login name field, type the required account name (MSA/DMSA). You can click Search and select the account.

      Group names are not supported as Login names.

    3. Click OK.

      The account is added to the Logins list.

  6. Double-click the Service Account that you added.

  7. In the Login Properties window, verify that the Default language is set to English.

  8. From the list of Select a page on the left, click Server Roles.

  9. On the Server Roles page, select the sysadmin server role. (If MSA only, add sysadmin to MSA. If MSA and DMSA, add systadmin to DMSA.)

  10. >Under Select a page, click the Status page.

  11. Under Permission to connect to database engine, select the Grant option.

  12. Click OK.

Database Management Account (DMSA)