SCCM

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 Prerequisites

  • Ensure you have a work email address to sign in to Power BI.
  • Power BI SCCM template needs PowerShell v5 and .NET Framework 4.5.2 to be installed on machine.
  • System Center 2012 Configuration Manager R2 SP1 or later is required.
  • To access SCCM data you need a user account with read access to the SCCM DB.
  • The machine where you install Power BI desktop should have IE version 9 or later. Also the machine should have .NET framework 4.5 installed.
  • You need either Azure SQL database or SQL Server database (SQL Server 2008 R2 SP3 or later).

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

download SCCM PowerBi template

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.

SCCM Power BI Dashboard Installation and Configuration

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

SCCM Power BI Dashboard Installation and Configuration

The installation is complete. Click Restart button.

SCCM Power BI Dashboard Installation and Configuration

 

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.

SCCM Power BI Dashboard Installation and Configuration

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.

SCCM Power BI Dashboard Installation and Configuration

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.

SCCM Power BI Dashboard Installation and Configuration

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

SCCM Power BI Dashboard Installation and ConfigurationSince 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.

SCCM Power BI Dashboard Installation and Configuration

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.

SCCM Power BI Dashboard Installation and Configuration Snap9

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

SCCM Power BI Dashboard Installation and Configuration Snap10

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.

SCCM Power BI Dashboard Installation and Configuration Snap11

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.

SCCM Power BI Dashboard Installation and Configuration Snap12

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.

SCCM Power BI Dashboard Installation and Configuration Snap13Click 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.

SCCM Power BI Dashboard Installation and Configuration

Prajwal Desai

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.

Related Articles

58 Comments

    1. Hello, can you update the dashboard so that it work with the latest version of SCCM.
      I cannot get it working as it will show “Expression.Error:The key didn’t match any rows in the table..” so look like the table name changed with time.

  1. Hi, how update table “Update”?, this moment not have information. I need verify compliance.

    Power BI, not show info in articleid, bulletinid, ci_id, infoURL, etc .

  2. Hi there, could someone explain why the Source and Target contain the same databases? Will it make a difference if the Target Database is different?

  3. Hi my friend, how fix those information editing querie into templante?
    Expression.Error: The key didn’t match any rows in the table.
    Details:
    Key=
    Schema=pbist_sccm
    Item=site
    Table=[Table]

      1. I think this dashboard was compiled against an older version of SCCM, with different views available and used a different schema. Even if the equivalent views are found; they don’t seem to have the same columns in them. Some are just simple column renames in the “Transform Data” area of PBI – largely just adding spaces or removing zeroes. Others just simply aren’t there (eg Date_key in a couple of views).

        1. …Or, alternatively, ignore what I wrote and pay attention to Tom’s post from 2nd Feb.

          Quoted for convenience:
          “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. “

  4. 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 ?

  5. 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?

  6. 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
    Table=[Table]

    For every other item with an exclamation mark, in APPLIED STEPS, there is also an entry for Navigation with this error. I know how busy you are but I’m guessing a lot of others are having the same issue and I have checked every site which has posted about this dashboard.

    1. 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).

  7. 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.

  8. 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?

  9. 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!

    1. 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.

  10. is there anyone struck with โ€œLoad Cancelled by an error in loading previous tableโ€ ?
    i donโ€™t where to lookiing at

  11. Hello , all ,

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

  12. 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 ?

    1. 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…

        1. Just joining in to say, I’m experiencing the same error. Site is at v1810.
          Expression.Error: The key didn’t match any rows in the table.
          Details:
          Key=Record
          Table=Table

  13. This doesn’t have the Microsft-SCCMTemplate file, so there is no way to configure the database. Can you share the file with us?

  14. Hey Prajwal,

    Did you ever find a valid link to download the template? I’m searching every where but can’t find it.

  15. The source SQL server has been upgraded to different server name. How can change source SQL server ? need your help

  16. Hi,

    If there is an update on the SCCM solution template will there be an impact for the existing power bi report which we have already deployed?

  17. 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.

  18. @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.

  19. 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!!

  20. 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

      1. No, sorry =(. I update SCCM version to 7010 and the problem persist. If you can find the solution, please tell me.

  21. The link to the template now seems to be broken.
    Has the template been pulled for some reason?
    Anywhere else I can get it from?

  22. 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 ?

  23. 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.

  24. 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

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button