Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

Using the Graph API from a Power App #51

Answered by greddin
greddin asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks to @LuiseFreese for helping solve my issue!

My main issue was that the employeeType was not getting returned in the response. So the Power App would error. We simplified the Graph query in the Explorer to: https://graph.microsoft.com/v1.0/users?$select=employeeType,id,displayName

We then updated the Collection in the Power App to Filter on employeeType="Contractor".
ClearCollect(Contractors, Filter('graph-user-contractors'.GetUsers({'$select':"employeeType,id,displayName"}).value,employeeType="Contractor"))

Thank you again @LuiseFreese for all your help!

-Greg

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@greddin
Comment options

@LuiseFreese
Comment options

@greddin
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@waldekmastykarz
Comment options

Answer selected by greddin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants