Hi Mates,
i have followed below artical
https://www.c-sharpcorner.com/article/custom-connector-to-connect-graph-api-in-powerapps/
This is get my profile details
here i would like to get user details like, users need to search and get AD users
Graph API : https://graph.microsoft.com/v1.0/me
PowerApps Code: UpdateContext({MyProfile:GraphAPI.getmyuserprofile()})
but here what Graph API need to user to get user details dynamically..? and what code need to write in powerapps where users can search a purticular user details.
https://cloudatica.medium.com/power-apps-custom-connector-using-microsoft-graph-apis-d3b1d821e4fd
This is get users.
PowerApp Code: ClearCollect(AllUsers, ‘graph-api-demo’.GetUsers().value)
from all users i tried to search my name from AllUsers(assigned to gallery) but i don`t find my details .
Any one help me what API and code to search to get user details from AD group.
Hello @v-siky-msft
do you happen to know a way to get all groups in a tenant? I can use the Top:999 quere any everything but i have aroung 2100 groups. How can i do this?
Thank you!
Hi @Anonymous ,
If you want to get specific user's detail, please try to the following Http request. HTTP request: Get a user , then input the User Email or User ID as Parameter to retrieve the User's Details.
Another workaround is to LookUp() function to retrieve specific User from All users Collection you mentioned above in PowerApps.
LookUp(AllUsers, userPrincipalName= "{Test EMail}")
Sik
Hi @v-siky-msft ,
No, really I don`t understand how to get user details any user not only my details from AD.
Any assistance, please.
Hi @Anonymous ,
Yes, and does the solution I proposed above make sense?
If not, what is issue you are facing? Do you mean you can't find your name from the AllUsers collection?
Sik
Hi @v-siky-msft
I just want to get AD users using Graph API.
When the user searches Combobox then it should search and get the correct user like office365Users.
when the user it typing then it should display based on user-entered name.
Hi @Anonymous ,
Could you please share more details about your needs? Do you mean you can find you in response of All users?
The reason could be that 'https://graph.microsoft.com/v1.0/users' API request output the first 100 user by default, to modify the output limit, please define an OData Top query (Maximum: 999) as follows.
Hope this helps.
Sik
WarrenBelz
89
Most Valuable Professional
Michael E. Gernaey
72
Super User 2025 Season 1
mmbr1606
71
Super User 2025 Season 1