cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Capt_Ron
Level: Powered On

Graph API Custom Connector returns blank values

I created a custom connector with 3 functions.  getGroups, getUserProperties, and getManager

The getUserProperties uses a $select parameter to return non-standard AD attributes (department and employeeID)

When I edit the connector and test I get a value returned but when I call it from the PowerApp, those 2 values are blank.

 

Query:  https://graph.microsoft.com/v1.0/users/{userid}/?$select=displayName,givenName,surname,userPrincipal...

 

Custom Connector:

Request.PNGTest.PNG

 

PowerApps statement:  ClearCollect(MyProperties, Graph.getUserProperties(User().Email))

I put this on a button to test.

 

Here is the collection:

myProperties.PNG

 

What did I do wrong?

1 REPLY 1
Capt_Ron
Level: Powered On

Re: Graph API Custom Connector returns blank values

Apparently PowerApps ignores extended AD properties coming from the Graph API.

Who codes like that?  It's an API.  I would expect that PowerApps would be able to consume ANYTHING coming from an API.  Regardless of the API source.  In this case the API DOES return the department value.  Not only that, but when testing the custom connector in PowerApps, department IS returned.  It is only when I try to use the connector in an app that department disappears.

Sigh...