# MEM Managed Device Report template

## Overview

I have created a sample PowerBI template for MEM managed devices that you can download and use. To use it, you **must** have first exported data from MS Graph into an Azure storage account using the provided automation account runbook in the previous sections. The template is configured to use exactly the properties that this runbook exports as well as the 3 exported files for each OS.

## Screenshots

![](https://3886807721-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MWe9ieepRHnj7T8odXt%2F-M_SUJ4aQrsgBHnHlFOF%2F-M_SWsa1VD3HzvfiagKV%2Fimage.png?alt=media\&token=c1b98655-11a9-4b94-b323-1ac1e87ce447)

![](https://3886807721-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MWe9ieepRHnj7T8odXt%2F-M_SUJ4aQrsgBHnHlFOF%2F-M_SX7LaCc_62xqrGZT7%2Fimage.png?alt=media\&token=538bcb3c-e891-4813-b486-82c4233a5da0)

![](https://3886807721-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MWe9ieepRHnj7T8odXt%2F-M_SUJ4aQrsgBHnHlFOF%2F-M_SXLH8kBktSSihDYH0%2Fimage.png?alt=media\&token=35899f81-94f4-4564-b6e8-08d5f4ab78d6)

![](https://3886807721-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MWe9ieepRHnj7T8odXt%2F-M_SUJ4aQrsgBHnHlFOF%2F-M_SX_skBsxHYA_Ui0IL%2Fimage.png?alt=media\&token=14fa170b-4713-4933-9222-46a01860bfa5)

![](https://3886807721-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MWe9ieepRHnj7T8odXt%2F-M_SUJ4aQrsgBHnHlFOF%2F-M_SXpLszyFUMzroPROP%2Fimage.png?alt=media\&token=5879f6e4-9309-4daf-82ff-93e882bdaaa7)

![](https://3886807721-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MWe9ieepRHnj7T8odXt%2F-M_SUJ4aQrsgBHnHlFOF%2F-M_SY1x0FFf-Rx4AVNhP%2Fimage.png?alt=media\&token=585de58c-4966-44d3-82f1-db6c5b15eb51)

## Download

Download the PowerBI template [here](https://github.com/SMSAgentSoftware/ConfigMgr/raw/master/PowerBI%20Templates/Intune%20Managed%20Devices%20Report.pbit).

## Configure the datasource

* Open the PowerBI template
* Upon opening, you will be prompted for the **storage account name** and the **container URL**

![](https://3886807721-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MWe9ieepRHnj7T8odXt%2F-M_SUJ4aQrsgBHnHlFOF%2F-M_SUxPZ0kGcUjB7q35-%2Fimage.png?alt=media\&token=4df2c003-094c-4583-955f-649ea4ccd7fa)

* You can retrieve the **container URL** from the storage account as follows:
  * In the Azure portal, in the storage account, navigate to the container where the 3 exported CSV reports are
  * Under **Settings**, click **Properties**
  * Copy the **URL** and paste it as the **Container URL** in the report
  * **Important!** Add a **forward-slash** to the **end** of the URL, eg <https://.../intune-powerbi/>
* Click **Load**
* You will be prompted for the **Account key**. Retrieve this from the storage account under **Access Keys**.

![](https://3886807721-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MWe9ieepRHnj7T8odXt%2F-M_SUJ4aQrsgBHnHlFOF%2F-M_SWAQtLAU1fn3CIPe9%2Fimage.png?alt=media\&token=c369751b-b078-4c51-87fd-048ca10cbcab)

The data should then be imported into the report.
