SCCM Power BI Dashboard Installation and Configuration

In my previous post we saw the steps to package and deploy Power BI Desktop using SCCM. In this post we will focus on SCCM Power BI dashboard installation and configuration. You can also call this as integrating Power BI with SCCM. Microsoft provides you Power BI solution template for System Center Configuration Manager.

The template is free to download. You can download the SCCM Power BI solution template here. The solution template is scalable and allows you to customize. You can add information about your users and computers and refine data the way you want to.

When you install this Power BI SCCM template, it is so easy to understand your environment at a glance. At the end of this post you get to see the screenshot of SCCM Power BI dashboard. A Power BI SCCM Dashboard provides high level overview of key SCCM metrics. This allows SCCM admins to quickly identify machines that are not patched with updates, failed mitigations to malware infections etc.

SCCM Power BI Dashboard Installation and Configuration

Lets start SCCM Power BI dashboard installation and configuration. To download the SCCM Power BI template, read the below update.

Update – The template download link was down since many months. Finally I got the update from Power BI team about the download. The SCCM Power BI solution template download has been moved to GITHub and you can download the template by clicking this link. Navigate to Apps > Microsoft > Released > Microsoft-SCCMTemplate > Service > PowerBI. You will find two templates. Download the one that you require.

SCCMSolutionTemplate.pbix

SCCMSolutionTemplateAS.pbix

Click Get it Now and sign-in with your work account. On the Getting Started page, click Download. This will download system center configuration manager solution template on to your machine.

Run the Microsoft-SCCM template executable and on setup screen, click Install.

The installation is complete. Click Restart button.

SCCM Power BI Configuration

After the reboot, login to the machine and launch the Microsoft-SCCMTemplate application. This will bring you back to Getting Started page. Click Next.

On the Login page, specify your windows credentials to create a recurring schedule. The same credentials will be used to connect to SCCM DB as well. Click Validate and once the validation is successful, click Next.

This step is for connection Power BI to SCCM. On the Source page, specify windows credentials to connect to SCCM database. Click Validate and upon successful validation click Next.

On the Target page, specify the credentials to connect to your SQL database. Validate and click Next.

Since we have not selected any Azure DB options in the above step, we directly go to customize option. On the customize page, leave the options to default, click Validate and click Next.

Most of all you can specify email address to get the updates related to Power BI. You also get a deployment completion email to email address that you supply. Click Run to build the solution template.

After all the steps are complete, click Download Report. Save this template on your computer.

SCCM Power BI Dashboard Configuration

Launch the Power BI desktop and click File > Open and select the solution template. Once you open the solution template, you see something like shown in below screenshot. We need to configure few things, therefore DO NOT click Apply Changes at this step.

On the menu bar, click Edit Queries and then click Edit Queries. Notice on the left pane, you see exclamation icon under Queries. On the Query Editor window, click Edit Credentials. You can specify alternate credentials to access SCCM database. Finally click Connect.

If the credentials entered are correct, you will notice that exclamation symbol is gone. You also see site code, site name, version etc. Click Close and Apply to apply the changes that you just did.

Click on Overview tab at the bottom and you will now see dashboard. The below dashboard shows the information about clients and users that are part of my lab setup. When you install and configure this on your production setup, you would find more information about your SCCM infrastructure. If i get time I will update this post with screenshots of dashboards configured for my organization.

Hi, I am Prajwal Desai. For last few years I have been working on multiple technologies such as SCCM / Configuration Manager, Intune, Azure, Security etc. I created this site so that I can share valuable information with everyone.

Hi prajwaldesai, I would like to use this template to analyze the system center data. But when there is new information in the database, I cannot extract the information, PowerBI updates but does not load the new information. I tried configuring GatewayBI but it also didn’t work. If PowerBI Desktop does not search for updated information GatewayBI will not bring it either. Can you help me ?

0

Reply

Aaron

February 20, 2020 4:46 am

This has not been an easy thing to get loading with the data source. I am getting “the key didn’t match any rows in the table.” under the Site after applying query changes. Suggestions?

I too am having the same issues. It appears the Site table query needs to be updated, but I am not sure to what.

0

Reply

Fahim

February 12, 2020 6:46 am

Hi Prajwal, great article! I am not using the installation tool which asks for connection to Azure since I’m not using Azure. I’ve installed and launched PowerBI (Run as Admin) on the CM1902 Primary site server itself where the Database resides, have datareader permissions on the DB and Full Admin permissions in the console. I am seeing exclamations for the items included in your screenshot. When I check the first one, Site for example, I can see under APPLIED STEPS the Navigation entry shows the following: Expression.Error: The key didn’t match any rows in the table. Details: Key= Schema=pbist_sccm Item=site… Read more »

I think I figured it out, the query was pointing to the wrong table. Can you please tell us which tables are selected for each? For example, for Site – I have selected various tables which have Site in the name and none of them look like your screenshot (starting with Site Code, Site Name, Version).

0

Reply

Tom

February 6, 2020 8:42 am

Prajwal, This step in your instructions causes a bit of confusion as the 2 pbix files do not start the installation of the solution which is described after Navigate to Apps > Microsoft > Released > Microsoft-SCCMTemplate > Service > PowerBI. You will find two templates. Download the one that you require.

This should stop the Microsoft-SCCMTemplate folder and download Microsoft-SCCMTemplate.exe and run it.

Thanks for pushing the team to keep this template available as it provides good examples of setting up PowerBI to report on ConfigMgr.

2

Reply

Giovani Paganini

January 17, 2020 9:09 pm

How can I remove the SCCM Solution Template, including its PowerBI database and all associated files? One previous admin installed this on our environment and now we need to remove it, as we are not using it anymore and there is disk space being consumed. How to do that the safest way?

I never tried that but let me test that in my setup soon and update you.

2

Reply

Alpanama

December 20, 2019 3:55 am

Excellent updated explanation, you are always here when you are needed 🙂

1

Reply

Amy Schneider

October 29, 2019 9:54 pm

I am trying to install the SCCM template and the installation is failing with Scheduled task exited with code 1 — Action failed Microsoft-GetDataPullStatus —Error ID:(4knh8fn8kvt). Think it is step 21. Both my source and target DB’s are on the same server so it isn’t a network error. All steps validated successfully and i pretty sure i have the needed permissions. I have also checked all the prereqs (.net and powershell, etc). Has anybody experienced this and solved it??? Thanks in advance!

When I opened the AS template, it errored with reference to Analysis Services which are in Azure. So my deduction is that one template is for SCCM/SQL on-prem and the AS template is for Azure hosted services. Not 100% confirmed.

0

Reply

Scott Riley

June 5, 2019 6:29 pm

How do we update the tables that this setup creates?

4

Reply

Hiren

April 29, 2019 1:49 pm

is there anyone struck with “Load Cancelled by an error in loading previous table” ? i don’t where to lookiing at

2

Reply

Marc Nguyen

April 12, 2019 4:39 pm

Hello , all ,

is there anyone struck with “Load Cancelled by an error in loading previous table” ? i don’t where to lookiing at 😀

0

Reply

Cody Weiland

March 28, 2019 1:23 am

I was able to get Power BI installed, opened the Template, Connected to our DB, but when i go to edit credentials the Site works and the Triangle goes away, but the other Queries/tables still show the Triangle/!.. Expression.Error: The Key didn’t match any rows in the table, Details: Key=Record, Table=Table.. Is there a possible issue with the DB or Template ?

Grabbed the updated template from Github and it seems to follow the guide better, but it isn’t Validating on the Target Step, it validates Source, but on Target says No SQL Databases were found on SQL Server…

good day Prajwal, i am very new to PowerBI, it might be a stupid question, i need to use PowerBI for our SCCM deployment reporting , i am a bit confused as we have SCCM application server and SCCM SQL Database Server , where should i install/ configure SCCMTemplete for Power BI, on Application server or SCCM SQL DB server, kindly reply. Thanks.

0

Reply

Edouard

May 16, 2018 7:05 pm

@Ken Piper => have you found a solution ? I m exactly facing the same situation , where machine to run the template is not on the same domain as the SCCM database, therefore as same credential as the service creation is used to connect to the sccm DB , I can not passthrough.

Would be valuable to be able to have different set of credential to connect to the SCCM DB.

0

Reply

Luis Moral

March 9, 2018 7:06 pm

Hi Prajwal!

Is there any way to export data of a specific deployment status (I have created a task sequence to update some computers on a specific collection) to a PowerBI template or something like that? Or, how can I import that info from SQL Server? As you can see, I’m a newbie on Power BI.

Thanks for advance!!

0

Reply

Pablo Martin

January 9, 2018 6:53 pm

Hi i have a problem with this. In the window System Center Configuration Manager database, I can’t connect to database, error is: This does not look like an SCCM database or you do not have read permissions (Action Failed Microsoft-CheckSCCMVersion — Error ID:(hjwlffqdq7i)) What permission i need in the database?? Thanks

Hi, I am checking with Power BI team on twitter. Looks like is removed from downloads.

0

Reply

Doran

December 21, 2017 11:54 am

I’m confused between Source and Target setup page. Is it referring to the same SQL server ? Should Target database be the same SCCM source database ?

1

Reply

Ken Piper

December 13, 2017 5:45 am

Any way to configure to access an SCCM server in a separate domain(or extract the template from the executable)?. I receive an error

“Login failed for user – View Details The security database on the server does not have a computer account for this workstation trust relationship” when attempting to connect to SCCMserver.sccmserverdomain with sccmserverdomain user credentials which have dbo permissions to the SCCM/SCCM ReportServices databases when logging in from a workstation on a domain without a trust relationship to sccmserverdomain.

1

Reply

Jacqui

November 29, 2017 8:22 pm

Hi, we have a single server environment (one server does everything – SQL and SCCM) as we are a small environment. Do you know if there would be any issues installing this on the same server ? Thanks