0

How can I get reporting managers of all the employees in my organization from SharePoint in a single API call?

1
  • I am currently doing some research on this issue, will let you know as soon as possible Aug 4 at 1:29

2 Answers 2

0

You can use the below REST API to get information about employees and managers

/_api/SP.UserProfiles.PeopleManager/GetUserProfilePropertyFor(accountName=@v,propertyName='Title')?@v='i:0#.f|membership|user.name@tenantname.onmicrosoft.com'
0

You must use graph api for getting all managers in single api call

Get Managers - Graph api

1
  • Glad that you found the solution to this problem. Thanks for your sharing. Aug 5 at 9:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.