web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Creating a collection ...
Power Automate
Unanswered

Creating a collection from a HTTP JSON response

(1) ShareShare
ReportReport
Posted on by 2,563
Hi,
 
I am trying to create a flow that sends back the response to a Power App, this works fine.
However I need to create a collection from the response so I can display each item in a gallery.
The response have all devices in one value so I'm not sure how to manipulate the data to get what I want.
 
The flow calls Graph using a HTTP.
 
The real response: How can i turn this into a collection in Power Apps, using flow or manipulating directly in the Power App, and I cannot use For each loop in the flow because it will take to long.
{"body":{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#deviceManagement/managedDevices",
"@odata.count":768,"value":[{"id":"XXXXXXX","userId":"XXXXXXXX","deviceName":"TEST Device",
"managedDeviceOwnerType":"company","enrolledDateTime":"2024-09-20T06:52:26Z",
"lastSyncDateTime":"2024-09-24T11:52:10Z","operatingSystem":"iOS","complianceState":"compliant",
"jailBroken":"False","managementAgent":"mdm","osVersion":"17.7","easActivated":true,
"easDeviceId":"XXXXXXXX","easActivationDateTime":"0001-01-01T00:00:00Z","azureADRegistered":true,
"deviceEnrollmentType":"appleBulkWithUser","activationLockBypassCode":null,"emailAddress":"someone@someone.com",
"azureADDeviceId":"XXXXX","deviceRegistrationState":"registered","deviceCategoryDisplayName":"Unknown","isSupervised":true,
"exchangeLastSuccessfulSyncDateTime":"0001-01-01T00:00:00Z","exchangeAccessState":"none","exchangeAccessStateReason":"none",
"remoteAssistanceSessionUrl":null,"remoteAssistanceSessionErrorDetails":null,"isEncrypted":true,"userPrincipalName":"name someone",
"model":"iPad (6th generation)","manufacturer":"Apple","imei":"","complianceGracePeriodExpirationDateTime":"9999-12-31T23:59:59Z",
"serialNumber":"FXXXXXXXX","phoneNumber":"","androidSecurityPatchLevel":"","userDisplayName":"Named User",
"configurationManagerClientEnabledFeatures":null,"wiFiMacAddress":"14205eb4ec33","deviceHealthAttestationState":null,
"subscriberCarrier":"","meid":"","totalStorageSpaceInBytes":34359738368,"freeStorageSpaceInBytes":21095251968,
"managedDeviceName":"XXXXXXXXXXXXXX","partnerReportedThreatState":"unknown","requireUserEnrollmentApproval":null,
"managementCertificateExpirationDate":"2025-09-19T12:43:03Z","iccid":null,"udid":null,"notes":null,"ethernetMacAddress":null,
"physicalMemoryInBytes":0,"enrollmentProfileName":null,"deviceActionResults":[]},{"id":"XXXXXXXXXXXX","userId":"",
"deviceName":"TEST DEVICE 2","managedDeviceOwnerType":"company","enrolledDateTime":"2024-08-14T13:27:48Z","lastSyncDateTime":"2024-09-
 
 
Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard