Summary
This article covers the process on how to connect to a Sage 200 Professional database deployed in Azure.
Description
How to generate a temporary connection string for your Azure SQL database
- Install SQL Server Management Studio from the Microsoft website onto the client machine you wish to use, the latest version can be found here.
- Log in to the Sage Provisioning Portal via this link.
- Navigate to the site details page, which lists the databases, users, modules, etc., and select the connection string button highlighted below.
- Click Yes to the message displayed.

- An email will be sent to the user who requested the connection string with a link to select, similar to the image below. Click the link in this email to access the connection string details.

- Once the link has been clicked and you have logged in, you will see a page with details similar to the image below.

- Open SQL Server Management Studio. On the login screen, click the Options button, bottom right, to expand all the tabs. Set the options as below:
Server Type set to Database Engine.
Server Name - This is the Data Source section of the connection string ending with '...windows.net'.
Authentication- Set this to SQL Server Authentication in the dropdown.
Login - This is the ID section of the Connection string, copy and paste into SSMS.
Password - Copy the Password section of the string and paste this in here.
- Click the Connection Properties tab. Here you can leave almost all of the fields as default, but you will need to change the 'Connect to database' field by typing in the database name you wish to connect to. The database name will be on the email sent in the earlier step, the connection string screen and in the Sage Provisioning Portal.
- lick Connect.

This will allow you to run SELECT statements against the connected database. If you wish to run update procedures, see below.
Running Update statements against the Azure SQL database
To update the database, you will need to access the Administrator user for the site, for which the password can be configured via the Sage Provisioning Portal.
- Log in to the Sage Provisioning Portal.
- Navigate to the Site Details page, as detailed above in step 3.
- In the Database servers section, click the Server Name 'iq9zospm9g' in this example.

- You will be presented with the SQL Server details page as shown below.

- The Server admin is the logon name you will need to use in SQL Server Management Studio.
- If you haven't already set a server admin password, click the button on the right-hand side to enter then confirm.
- Once you have the admin logon name and password, open SSMS following the above steps, but enter the Administrator Logon name and Password you have set.

You should now be able to run update scripts against the SQL database in SQL Management Studio and generate credentials for other applications to use, much in the same way as in an on-premise environment.