microsoft-graph-toolkit icon indicating copy to clipboard operation
microsoft-graph-toolkit copied to clipboard

People picker control is not searching for all users in organization

Open SubbaReddi opened this issue 2 years ago • 4 comments

Hi Team, People picker control is not searching for all users in organization. Based on network calls, observed following Graph API was used: https://graph.microsoft.com/v1.0/me/people That means it will search for people to whom i worked with.

image

But in documentation, it's mentioned as follows: "By default, the component will search for all people and users in the organization".


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

SubbaReddi avatar Apr 27 '22 16:04 SubbaReddi

This issue has been assigned to you, @sebastienlevert. You are listed as the author for the document associated with this issue. If this is not correct, please take the following actions.

  • Assign this issue to the correct author
  • Create a pull request to update the author field in the YAML front-matter of this topic

github-actions[bot] avatar Apr 27 '22 16:04 github-actions[bot]

Hello SubbaReddi, thank you for opening an issue with us!

I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌

ghost avatar May 09 '22 15:05 ghost

Hello @SubbaReddi, I just transferred this issue from the Docs repo to the MGT repo! Can you elaborate and describe how you are using the component? It should allow you to search for all users in the tenant if you provide the right permissions. Thanks!

sebastienlevert avatar May 09 '22 15:05 sebastienlevert

Hello @sebastienlevert, We followed Microsoft Graph Toolkit with React article to implement mgt react people picker control and with the help of below syntax we are not able to retrieve all users in the organization. image

sagarM-MSFT avatar May 10 '22 11:05 sagarM-MSFT

Closing as resolved in #1784

gavinbarron avatar Jan 31 '23 19:01 gavinbarron