Guide: Using Microsoft Azure with Databox
Microsoft Azure connections are available in Plus and Business Accounts. Agency Basic Accounts have the ability to use MicrosoftAzure in the Agency Account only.
How to prepare your Microsoft Azure Database
Click Add and populate the form click Add and populate the form like below.
Click Create to create this new SQL Database. After a few minutes, this newly created SQL Database will show up in the Default Directory
Now we need to enable remote access our new SQL Database. Click on the Overview tab and select Set server firewall
This will open the Firewall settings panel. We'll enter Databox’s public IP (184.108.40.206), which will connect to this database with set credentials
Click Save to update the Firewall rules
For further security and configuration considerations, please consult the official Microsoft Azure SQL Database documentation.
How to connect Microsoft Azure to Databox
Once our Database is properly prepared, we'll connect it to Databox.
To connect Microsoft Azure to Databox, go to Data Sources > + New connection. Type Microsoft Azure in the search bar and click on the green Connect button.
This will open the Activation window, which is where you will be prompted to enter your connection data and authorize the Databox app.
Click the green Activate button to complete the connection process. If Microsoft Azure was successfully connected, the Activation window will close shortly and you'll see a Connected notice.
If you see a notice that says Wrong Credentials, doublecheck your user data before re-entering them in the Activation window.
If the Activation window doesn't close for over a minute, there may be difficulty connecting to your server due to firewall issues. If you have difficulty connecting, be sure access is granted to Databox's public IP (220.127.116.11).
How to use the Query Builder for Microsoft Azure
The Query Builder for Microsoft Azure allows you to create Custom Metrics using data from your Database to use in Databoards, Alerts, Goals, etc. Learn more about the Query Builder for Microsoft Azure here.
- Make sure your Firewall is open to Databox's public IP and your Port is correctly forwarded to the server
- Query results are limited to 1000 rows. If you expect your query to return over 1000 rows or if you're not sure how many rows will be returned, be sure to LIMIT the query
- The query must contain a column named "Date." If you need to, use AS in your SELECT statement to satisfy this requirement
- One column should always contain the Metric Value
- "Null" values will not be recognized. Use a COALESCE function when needed. Learn more here.