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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Custom connector data ...
Power Apps
Unanswered

Custom connector data not displaying in powerapps

(1) ShareShare
ReportReport
Posted on by 95

Hi All,

 

I have created a custom connector to connect graph api and getting json data as response. I have added connector to powerapps and trying to fetch the data into a collection but i'm not getting data,only receiving column names. Can somebody help me on this.

 

 

Gallery.Items = GraphConnector.GetAllRooms()

Categories:
I have the same question (0)
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @BKGOUD :

    Could you tell me:

    • Have you tested this custom connector?
    • Does the test return the records you need?

    1.JPG

    I assume everything is fine in the test.

    Firstly,I think the cause of this problem is:

    GraphConnector.GetAllRooms() is a behavior function but items is a non-behavior property.

    Behavior funtions change the stat of the app by changing values elsewhere in the app.'OnSelect','OnStart',and other 'On……'

    properties are common behavior-based properties.

    Secondly,I suggest you store the value of GraphConnector.GetAllRooms() into a collection and then call the collection.

    For exampleï¼›

    1\Set the app's OnStart property to:

     

    ClearCollect(MyCollecton,GraphConnector.GetAllRooms()) /*My collection is my custom collection*/

     

    2\Set the gallery's Items property to:

     

    MyCollecton

     

    Best Regards,

    Bof

  • BKGOUD Profile Picture
    95 on at

    Hi @v-bofeng-msft ,

    Thank you very for your help.

    Please find the below details:

    Could you tell me: Have you tested this custom connector?  - Yes it's working and returned the Json data.

    Does the test return the records you need? - Yes, it returns the records as expected.

    I have tried and loaded the data into collection but i could see the only columns names(not getting the data). 

     

    Please suggest me how can i get the data.

  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @BKGOUD :

    I've made a test but did not encounted the problem you mentioned.Maybe you can try to put the code in the button, and then click the button.

    GetTime is my custom connector:

    66.gif

    Best Regards,

    Bof

  • BKGOUD Profile Picture
    95 on at

    Hi @v-bofeng-msft ,

     

    While i'm testing connector getting the response as in below format.

    {

      "address": {"@odata.type""microsoft.graph.physicalAddress"},

      "audioDeviceName""String",

      "bookingType""String",

      "building""String",

      "capacity""String",

      "displayName""String",

      "displayDeviceName""String",

      "emailAddress""String",

      "floorLabel""String",

      "floorNumber": 1024,

      "geoCoordinates": {"@odata.type""microsoft.graph.outlookGeoCoordinates"},

      "id""String (identifier)",

      "isWheelchairAccessible"true,

      "label""String",

      "nickname""String",

      "phone""String",

      "tags": ["String"],

      "videoDeviceName""String"

    }

     

    I have tried by using button onclick, loading collection but still no luck 😇.  PFA.

     

     

     

    Collection.PNG
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @BKGOUD :

    This looks more like a data structure than a value. Can you provide a screenshot of the test?

    1.JPG

    Best Regards,

    Bof

  • BKGOUD Profile Picture
    95 on at

    Hi @v-bofeng-msft ,

     

    Please find the attached screenshot.

    CConnector.PNG
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @BKGOUD :

    It's weird,everything seems to be fine. How is your app set up now?(Note: OnStart event needs to be triggered manually in the test environment)

    If the problem cannot be solved. I suggest you create a Support Ticket:

    https://powerapps.microsoft.com/en-us/support/pro/

    Best Regards,

    Bof

  • meghav93 Profile Picture
    48 on at

    Any updates on this topic? I am facing a similar problem as @BKGOUD. Any insights will be helpful. Thanks!

  • devangchheda Profile Picture
    10 on at

    I am also facing the same issue. Data loads sometimes into powerapps and sometimes doesn't. Issue is intermittent. Any help would be appreciated. Thanks !

  • CU02080718-2 Profile Picture
    27 on at
    Hi @BKGOUD,
     
    Have you found any resolution to this? I am also facing the same issue testing is getting proper response but when calling it from canvas app, its not returning any data just column names

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 529 Most Valuable Professional

#2
Haque Profile Picture

Haque 230

#3
Kalathiya Profile Picture

Kalathiya 217 Super User 2026 Season 1

Last 30 days Overall leaderboard