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

80 Comments

  1. the link at the updated section doesn´t work 🙁
    “Dieses Element ist möglicherweise nicht vorhanden oder nicht mehr verfügbar.
    Möglicherweise wurde das Element gelöscht, die Gültigkeit kann abgelaufen sein, oder Sie verfügen nicht über die Berechtigung zum Anzeigen. Wenden Sie sich an den Besitzer des Elements, um weitere Informationen zu erhalten.”

    Could you please update the link? 🙂
    Thanks
    Andreas

  2. Hi Prajwal

    Echo the comments of others
    Please can you share an updated link?

  3. Avatar photo Ahmed Hassan says:

    Hi, would you please update the link?

  4. Avatar photo Paul Pedinotti says:

    the download link gives a 404.

    this tool was previously installed, the DB views and tables already exist so if I reinstall this on the primary server which is the DB will it update those tables?

  5. Is there an update to this report anywhere?

  6. github link no longer available. Can you update please?

  7. Avatar photo Caio Cesar says:

    Hi Praj!

    The link isn’t working.
    I’d appreciate if you could fix it.

    Thank you!

    Best regards

    Caio Cesar

  8. Avatar photo Zsolt Kocsis says:

    Hi Prajwal,

    It seems the download link doesn’t work, the folder is empty again.
    I have just tried to figure out why the Dashboard shows data back to April 2022, and it seems you have the right answer.

    Thanks,
    Zsolt

  9. Hi does anyone have a copy of the Microsoft-SCCM template executable? I can’t find it anywhere. Thanks

    1. Same here, seems to have been removed.
      Is it no longer relevant? Is there an easier way to use PBI Dashboards with current release of SCCM?

  10. Hi Prajwal,
    Thanks very much for this very important post.
    We are thinking of implementing this SCCM PowerBI and that was what landed me on your page. Great post!
    Anyway, I am not able to locate the files from the Github link you provided:
    The message is always page NOT Found 404.

    Please, can you repost the link ? Or is there something I am not doing well?
    Thanks once again.

      1. Folder is empty pls update the link

  11. hi does anyone have a copy of the Microsoft-SCCM template executable? I can’t find it anywhere. Thanks

      1. Hi. The download link is empty.

  12. Avatar photo Rudy Smith says:

    Has anyone figured out the issue with the error message “Action Failed Microsoft-CheckSCCMVersion”? I am stuck on trying to connect the source to Microsoft-SCCMtemplate.

  13. Hello, I’m unable to get this working in SCCM 1910

    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. Avatar photo Brody Kilpatrick says:

        change pbist_sccm to dbo and site to sites

  14. Avatar photo Gustavo Correa says:

    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 .

  15. Avatar photo Junior Roland says:

    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?

  16. Avatar photo Jurandir Balestero Junior says:

    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 have the same problem too and no one seams to be able to answer

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

  17. Avatar photo Renan Besserra says:

    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 ?

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

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

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

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

  21. Avatar photo Giovani Paganini says:

    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?

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

  23. Avatar photo Amy Schneider says:

    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. Up.. up.. up.. Me too.. data not load in computer collection.

  24. Avatar photo Abdulrehman Altaf says:

    thanks worked fine…

  25. Avatar photo Rasheedah Muhammad says:

    Hi What is the difference between the two templates?

    1. Avatar photo Brad Bereck says:

      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.

  26. Avatar photo Scott Riley says:

    How do we update the tables that this setup creates?

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

  28. Avatar photo Marc Nguyen says:

    Hello , all ,

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

  29. Avatar photo Cody Weiland says:

    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. Avatar photo Cody Weiland says:

      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. Avatar photo Ian Spencer says:

          Hi, I am seeing that exacts same issues as above? Has there been fixes/updates please

        2. Avatar photo Shane Kennedy says:

          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

          1. Is there any solution for this problem? A half year later i have the same problem. 🙁

            1. Did anyone came to a solution on this? as of mar/2021 and the error persists

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

    1. Hi Jordan, I don’t have it with me currently. I have asked the powerbi team to provide me the file. I haven’t received any response yet.

  31. Avatar photo William Payton says:

    Hey Prajwal,

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

  32. Avatar photo Dhilip kumar says:

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

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

  34. Avatar photo yusoworld says:

    Great post, i have so many ideas from this, thanks.

  35. Avatar photo Shaikh Hussain says:

    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.

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

  37. Avatar photo Luis Moral says:

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

  38. Avatar photo Pablo Martin says:

    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. Im experiencing the same problem.
      Did you find a solution for this problem?

      1. Avatar photo Pablo Martin says:

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

  39. Any update on the link?

    1. Nope.. I haven’t got any response from powerBi team. I am following up with them on twitter.

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

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

        1. The link is still broken, could you make the download available again?

        2. Avatar photo Captain IT says:

          Any chance link can be updated? Cannot find these templates anywhere. Thanks

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

  42. Avatar photo Ken Piper says:

    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.

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

    1. I don’t think so. PowerBI desktop can be installed on your laptop/system as well.

      1. Thank you, I will try it

  44. Thanks!! That’s an interesting tool for show on a big screen to my boss 😉

Leave a Reply

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