1

I have a custom connector with microsoft graph api in my power apps and i have a request and a response with graph explorer, now my problem is they i can't iterate the object in my power apps table.

OnSelect code: UpdateContext({getrols:graph_demo.GetRols()})

Issue shown in PowerApps

View of API Response

SeaDude
  • 3,725
  • 6
  • 31
  • 68
Imad
  • 31
  • 1
  • 6

1 Answers1

0

You may try adding .value to the end of your formula. You'd likely then add .appRoles to .value to get into the nested JSON.

When in doubt, add a . to your formula and leverage the IntelliSense to explore your response schema.

Something like: ClearCollect(coRols, graph_demo.GetRols().value.appRoles)

Also, try using a Gallery to show the response instead of a ListBox. Set the Gallery Items property to colRols.

SeaDude
  • 3,725
  • 6
  • 31
  • 68