Hi,
I want to extract Extended Managers from User Profile and bind it to drop down list. I can do it in SP by calling the following SharePoint REST API and extracting the extended manager. How can I achieve it in Powerapps?
_api/sp.userprofiles.peoplemanager/getmyproperties
Hi @Anonymous,
If you mean the get the corresponding Manage of the current user (or other user), then we could take use of the Office 365 users connection.
Check the article below for more details:
Office 365 Users connection in PowerApps
For example, to get the Manager Email information of current user, we could use:
Office365Users.Manager(User().Email).Mail
If this is not what you are looking for, and SharePoint REST API is prefered, then please take a look at custom connectors in PowerApps:
Register and use custom connectors in PowerApps
Which would allow you to create a custom Connector and use the API as you wish.
Regards,
Michael
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
202 | |
69 | |
49 | |
44 | |
20 |
User | Count |
---|---|
258 | |
122 | |
84 | |
77 | |
69 |