Microsoft Endpoint Manager Dashboard - mattnovitsch/M365 GitHub Wiki
Update 9/7/2021
I found out the column I was user for what I thought was primary user was in fact enrollment user. I had to add another table called userDeviceAssociations and redo some of the relationships on the tables but I got it corrected now. Please download the new MEM Dashboard file to get the corrections.
Summary
This will Power BI report has the following information in it:
- Device usage
- Updates Compliance
- Hardware Inventory
- Application Inventory
- Endpoint Security
Prerequisites
- PowerBI Desktop x64 or Power BI Report Server
- MEM Dashboard
- Update Compliance Enabled
- How to retrieve your Intune Data Warehouse URL
- Intune Deploy PowerShell Scripts with Reporting Capabilities
- Power BI Pro License (if you want to publish for others in your organization to see)
Steps
-
Open MEM Dashboard
-
You will be prompted to login after it tries to retrieve data from my environment which it will fail. Click Cancel.
-
Click close on the refresh screen.
-
Right click on Devices on the right hand side and select Edit query.
-
Right click on Source and select Edit Settings. On the OData Feed, change the URL to the data warehouse URL that should be in your notepad.
6. Click Organizational account, then click Sign in.
7. Follow any prompts to login to your M365 account, chances are if you are already logged it then you can just click connect.
8. Repeat this step for all the tables except for UpdateDeployment, AppInventory, and DeviceInventory.
- Navigate to the Azure Portal
- Select Analytics on the left side then select Log Analytics Workspaces.
- Select your workspace, then select Solutions. Select WaaSUpdateInsights.
- Select Update Compliance window.
- Select Logs.
- Change the time range to 7 days and type in "WaaSDeploymentStatus" in the query field. Click Run to execute the query.
- Select Export and Export to Power BI(M query)
- Open the PowerBIQuery.txt file that gets downloaded. Copy all the contents inside it.
- Go back to Power BI and left click on UpdateDeployment then select Advance Editor.
- Delete all the content that is in the UpdateDeployment Advance Editor screen and paste in what you got from the PowerBIQuery.txt file that you downloaded from step above. Click done to save the update.
- Click Close & Apply in the top right corner.
- Wait for the report to collect the data.
You have completed the deployment of the dashboard, don't forget to save it. Your dashboards should look something like these.