pnp / pnp/sp-dev-fx-controls-react
[PeoplePicker] - some users don't receive suggestions
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 433
- Forks
- 418
- Avg merge
- 5d 6m
- Merged PRs (30d)
- 19
Description
Category
[x] Bug
[x] Question
Version
Please specify what version of the library you are using: ["@pnp/spfx-controls-react": "^3.20.0"]
Expected / Desired Behavior / Question
Some of the users do not receive suggestions for PeoplePicker.
While analyzing it, I noticed, that for them /_api/SP.UI.ApplicationPages.ClientPeoplePickerWebServiceInterface.clientPeoplePickerSearchUser doesn't return any suggestions.
value:"[]"
But for others it returns valid suggestions. I tried to modify their permissions in entra portal, however, it didn't help.
Question is, is there any limitation/security requirements on who can see the suggestions?
Observed Behavior
Some users can only user PeoplePicker by providing full email address.
Steps to Reproduce
Add PeoplePicker to SPFx webpart as intended.
Type first 3-5 letters of user/group
Thank you!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the PeoplePicker behavior in an SPFx webpart with @pnp/spfx-controls-react ^3.20.0, then inspect the clientPeoplePickerSearchUser endpoint response for affected and unaffected users. Done means determining whether permissions or security requirements explain the empty value and documenting or addressing the resulting behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100