Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
I'm trying to look for all PCs that have whichever software I choose. As an example, if I select a particular app, I want to see which machine has that app installed.
Here is the rest API for finding the machine: List machines API - Microsoft Defender for Endpoint | Microsoft Learn
Here is the rest API for finding the software: List software - Microsoft Defender for Endpoint | Microsoft Learn
Here is the rest API for finding the software per machine: List devices by software - Microsoft Defender for Endpoint | Microsoft Learn
GET /api/Software/{Id}/machineReferences
I don't want to manually create the source hardcoding the ID. I want the ID to loop through the list of software from the other sofware rest API above. How do I loop so I don't have to hard code the IDs?
Solved! Go to Solution.
Please follow the documentation. https://learn.microsoft.com/en-us/powerquery-m/web-contents
You would do all this in Powershell?
No, I would like to do this in Power Query.
It will be agonizingly slow. But go ahead.
Slow or not, I am looking to see if someone knows how to do this. Do you know how to do this in Power Query? If you know how to do this in both Power Query and PowerShell, please share.
It's a standard Web.Contents call.
I know how to do this in both but I am not a domain admin and have no access to these endpoints.
Do you have a URL or even better, a YouTube video that shows an example then?
Please follow the documentation. https://learn.microsoft.com/en-us/powerquery-m/web-contents
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 11 | |
| 11 | |
| 5 | |
| 4 | |
| 3 |