This article lists all the requirements to be met before deploying the SysKit Power BI app.
For the Power BI app to access SysKit Point data, the following steps need to be completed:
- Allow access to Azure SQL Server for Power BI app and client machine
- Enable SQL authentication on Azure SQL Server
- Create a SQL Server Login and Database User for the Power BI app
- Grant select permission on Power BI schema for the created Power BI user
To enable the Power BI app to access data in the SysKit Point database, access to the Azure SQL Server needs to be allowed. To do so:
- Find and open the SQL Server resource
- Open Security > Networking (1)
- For the Public network access option, set it to Selected resources (2)
- Click Add Your Client IPv4 address (3) to allow access from your client machine; this is needed to connect to the SysKit Point database via the SQL Server Management Studio
- Click the checkbox to Allow Azure services and resources to access this server (4); enabling this will allow access from the Power BI App and is located under Exceptions at the bottom of the screen
- Click Save (5) to store preferences
Azure SQL - Allowing Access
Azure SQL - Adding IPv4 address
Azure SQL - Allowing Azure services and resources
The next step that should be completed while setting up the Azure SQL server is the following:
- On the home page of the SQL server, under Features, click the Active Directory admin option
- The Azure Active Directory (1) site will open
- Deselect (2) the Support only Azure Active Directory authentication for this server
- This option needs to be turned off and is located under the Azure Active Directory authentication section
- Click Save (3) to finalize
- After that, the SQL authentification can be used normally
Azure SQL - authentication for server
Before running the SQL scripts listed below, open SQL Server Management Studio and connect to the Azure SQL server holding the SysKit Point database. Learn how to connect to an Azure SQL Database here.
Now that you have access from your client machine to the Azure SQL Server, you can create a new server login for the Power BI app. Before running the script on master database, modify the password.
CREATE LOGIN powerbireader WITH PASSWORD = 'Password1234!'
To create a new database user, run the following script on the SysKitPointDB database:
CREATE USER powerbireader FOR LOGIN powerbireader WITH DEFAULT_SCHEMA = PowerBI
To grant the SELECT permission for the created database user, run the following script on the SysKitPointDB database:
GRANT SELECT ON Schema :: [PowerBI] TO powerbireader