Forum Discussion
AB21805
Jul 02, 2024Bronze Contributor
Creating Logic App to Identify Low Storage Devices from Intune
Hello everyone,
I’m seeking some assistance with creating a Logic App. I need to identify devices in Intune that have 5GB or less of available space and receive an email with the details of these devices, including their names.
Is this achievable?
Please refer steps on below:
-
Azure Logic App:
- Create an Azure Logic App
-
Intune Device Query:
- Use the Intune Graph API to query devices based on their available storage space.
- Specifically, filter devices where the available space is less than 5GB.
-
Logic App Workflow:
- In your Logic App workflow, add an action to call the Intune Graph API and retrieve the list of devices.
- Filter the devices based on available space.
- Extract relevant details (such as device names) from the API response.
-
Send Email Action:
- Add an action to send an email using an email service
- AB21805Bronze ContributorThank you for the reply. I have granted API access to the app, but I'm uncertain about how to filter devices and retrieve the list with the required information. Could you provide some screenshots for clarity?
I found a guide that explains how to specify a device name to retrieve its details, which I’ve included in the email. However, the guide does not explain how to query all devices and list only those with less than 5GB of space.- AB21805Bronze Contributor
-