LAST UPDATED: 14th June 2021

How to configure Azure SQL Database

This is a guide to help you configure Azure SQL database, please be aware that configuration may differ between regions.

STEP 1 - Select SQL Databases from the menu of your Azure Dashboard


STEP 2 - Add a new database


STEP 3 - Create resources

Create a new resource group if required and provide a suitable name.
The database name should be set to ISMSRiskManager.
Create a new server instance and enter the credentials.
Choose the default Location where your data will be stored.


STEP 4 - Configure database and set your monthly fee

For Consultants and for app evaluation choose the cheapest SQL Database configuration.
Click “Configure database”.


STEP 4.1 - Set your monthly fee

Click “Looking for basic, standard,premium?”

STEP 4.2 - Configure database to set your monthly fee


STEP 4.3 - Configure database: Networking


STEP 4.4 - Configure database: Additional settings


STEP 4.5 - Configure database: Tags


STEP 4.6 - Review and create your database


STEP 4.7 - Deploy the database

After clicking "Create" the database is created and deployed, this can take several minutes.

STEP 5 - Gather the credentials

Return to the dashboard and select the ISMSRiskManager database, or the name of the database you have chosen.
"Server name" is the server name required in the 27k1 ISMS.
"Connection strings" shows the user name which also is entered in the app.
For the most economical pricing plan "Basic" should be shown.


STEP 6 - Set the Azure firewall for your IP Addresses

Click "Set server firewall" as shown in the step above.

The IP Address of your location is shown, copy paste this IP Address or your known IP Address range to the Start and End IP with a suitable reference.

If this is not configured, the 27k1 ISMS will display a message to advise you wqhen you try to connect.

Although it is not good practice, Consultants may wish to access the app from any location.

  • Ensure a strong password is used to access your azure administrator account and the SQL Database has a very strong password.
  • Set the rule name as an example to Any Location
  • Set the Start IP to and the End IP to

STEP 7 - Download and install SQl Server Management Studio

To setup an SQL Database user account download SQL Server Management Studio from the following link

STEP 8 - Set up a User Account to securely access your Azure SQL Database from the 27k1 ISMS App

The 27k1 ISMS should not be allowed to access Azure SQL Database using your Azure user name and password. It is therefore required to setup a User or Users to access the database from the 27k1 ISMS 'Settings' (cog wheel) panel, using the secure user name and password.

There are several methods available to connect to SQL Database and the procedure which follows is the simplest method. More information is available at

A simple procedure for creating an Azure SQL Database user login follows, adminstrators need to ensure that the User has the ability to manipulate data tables, db_owner is used in this example but a custom defined role will most likely be preferred for additional security.

  • Open  Microsoft SSMS  as "Run as administrator"
  • Connect to your Azure SQL Database server with SSMS
  • Create a SQL authentication login "myusername" with a very strong password, create a user mapped to the login called ‘myusername’ in a database, and then add it to the db_datareader and db_datawriter roles.
  • Left click to select the "ISMSRiskManager" database.
  • Click New Query to open an SQLQuery tab.
  • Select Master from the dropdown menu in SSMS, then enter the commands in the SQLQuery tab, then Execute
-- create SQL auth login from master 
CREATE LOGIN myusername
WITH PASSWORD = 'mystrongpassword'
  • Open another query window and select "ISMSRiskManager" in the dropdown which previously was set to master.
  • Enter the commands below in the SQLQuery tab, then Execute.
-- select your db in the dropdown and create a user mapped to a login
-- it is preferred that myusername is inside the []
CREATE USER [myusername] FOR LOGIN [myusername] WITH DEFAULT_SCHEMA = dbo; -- add user to role(s) in db ALTER ROLE db_datareader ADD MEMBER [myusername]; ALTER ROLE db_datawriter ADD MEMBER [myusername];
ALTER ROLE db_owner ADD MEMBER [myusername];
  • Test the new user has access by signing into the database using the SSMS
  • Click "Options" and enter the database name in the "Connection Properties" tab
  • Enter the username and password in the "Login" and then "Connect"
  • You should can now access the SQL Database from the 27k1 ISMS App using these credentials, which have no administrator privileges.
  • Tip! Any errors shown in the 27k1 ISMS sign-in dialog are received directly from the database.