Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
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
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.