The Intune Data Warehouse is a great addition to the Microsoft Intune service allowing visibility of historical data for reporting, data and trend analysis for your Microsoft MDM environment. It comes with an OData feed that allows you to connect to the data with PowerBI, Microsoft’s reporting and data visualization service.
The Data Warehouse RESTful API (currently in Beta) can be used to get data from the warehouse using a REST client. I decided to explore how to do this with PowerShell so I can run some ad-hoc queries and analyse trends in the data.
To get data from the Intune Data Warehouse we need to do three main things:
- Create a native App in Azure and give it access to the Intune Data Warehouse
- Authenticate with Azure using OAuth 2.0 and get an access token
- Invoke the RESTful web service using http
Create a Native App in Azure
In your Azure…
View original post 2,603 more words