Access the Power BI reports on your on-premises environment
- Last UpdatedFeb 18, 2025
- 2 minute read
You need to perform the following steps to access the Power BI reports on your on-premises environment. After deploying reports, you also need to configure the data source properties.
Before you Begin:
-
Install and configure the Power BI Report Server. For more information about installing the Power BI Report Server, see the Microsoft documentation.
-
Install Microsoft Power BI module for Windows PowerShell by using the 'Install-Module -Name MicrosoftPowerBIMgmt' command. For more information about this Microsoft Power BI Cmdlets, see the Microsoft documentation.
-
The execution policy of the user must be updated to 'All Signed' by using the following command.
Set-ExecutionPolicy -ExecutionPolicy AllSigned -Scope CurrentUserA confirmation message appears, asking if you want to change the execution policy. Select Yes to change the execution policy.
Steps:
-
Copy and paste the executable files, RS.exe and RS.exe.config (if available), from the PowerBI folder (default installation path of Power BI is \Program Files\Microsoft Power BI Report Server\Shared Tools) to a required folder.
-
Open the PowerShell as an Administrator.
-
Navigate to PowerBI folder and run the DeployPowerBI.ps1 file.
If a prompt appears asking 'Do you want to run software from this untrusted publisher?', select the required option.
-
Provide the following details:
-
Data Source name
-
Database name
-
For Deploy to Cloud?, enter N.
Another Command Prompt window appears.
-
-
Provide the following details:
-
Power BI on-premises Server Name or IP address
-
Power BI on-premises Server Web Service Virtual Directory
The reports will be deployed to the desired Report Server.
-
Configure the data source properties
-
Open the Report Manager URL you configured earlier.
-
Select Reports>>Mobile Operator folder.
A list of reports appears.
-
Click the More options icon available next to the report (for example, CompletedProcedure), and then click Manage.
The properties of the report appears.
-
Select the Data sources, change the following in the Connection string box in the Connection section:
-
Data Source: The name of your Database Server
-
Initial Catalog: The name of your Database.
-
-
Next, in the Credentials section, provide the database connection credential information.
-
Select Test Connection.
A confirmation message appears.
-
Select Apply to save your changes.
-
Select the Home breadcrumb link to return to the Power BI Report Server main page.
-
Select Reports>>Mobile Operator folder.
A list of reports appears. Run the report.
-
Repeat steps 2 through 8 to update the data source information in other reports.