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.
PowerApps statement: ClearCollect(MyProperties, Graph.getUserProperties(User().Email))
I put this on a button to test.
Here is the collection:
What did I do wrong?
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.