Showing results for 
Search instead for 
Did you mean: 
Helper II
Helper II

Microsoft Graph Custom Connector

Hi everyone

I have created a custom connector to connect to Microsoft Graph.  I am wokring on an app that will display all events in a particular Exchange room mailbox calendar and it seemed like using Graph was the only way of currently doing this.  I created the connector with no issues and have created an action that uses the getSchedule Graph query.  The query/action details are below:

Request: POST

Request Body

"schedules": [""],
"startTime": {
"dateTime": "2019-08-16T04:00:00",
"timeZone": "GMT Standard Time"
"endTime": {
"dateTime": "2019-08-23T04:00:00",
"timeZone": "GMT Standard Time"
"availabilityViewInterval": "15"

When I test this in the Custom Connector setup screen it all works ok and returns a JSON list of appointments for the selected meeting room.

In my PowerApp I'm trying to get the list of appointments added to a collection which I want to then display in a gallery or data table.  The format of the command in PowerApps is below:

ClearCollect(collRoom,CustomGraphConnector.GetRoomSchedule([""],{dateTime:"2019-08-16T04:00:00",timeZone:"GMT Standard Time"},{dateTime:"2019-08-23T04:00:00",timeZone:"GMT Standard Time"}))

This runs with no errors but the only output that comes back is true.  Is there something I'm missing to get the array of calendar appointments returned?

Thanks in advance for your help.

Community Support
Community Support

Hi @gj84uw ,

Do you mean that when you call rest API, you get a boolen value instead of a record?

Please check if you have specified proper return type within your Open API definition file. Also please check if you have typed proper returned content within the Response Body section of the request in your custom connector.


Here's a similar issue for your reference:


Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.


Thanks for that, I'd put the incorrect rewponse body in.  Now that I've changed this I get data returned into the collection.  My next question now though is around the format of the data.  It contains nested arrays, which I can access through the PA collections view by clikcing on the record buttons (see below), but I can't seem to pull this data through my app:


I've had a quick look around this and it seems the way to get these nested records out is by passing the data to Flow and manipulating it there?  Just wondering there's a way to do this in PowerApps or via the connector before I go looking at Flow?

Thanks in advance for your help.

Helpful resources

PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!


Are Your Ready?

Test your skills now with the Cloud Skill Challenge.


Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (50,091)