pnp / sp-dev-fx-controls-react

Reusable React controls for SPFx solutions
https://pnp.github.io/sp-dev-fx-controls-react/
MIT License
380 stars 380 forks source link

PeoplePicker: search external users #323

Open saidireddy-basireddy opened 5 years ago

saidireddy-basireddy commented 5 years ago

Thank you for reporting an issue, suggesting an enhancement, or asking a question. We appreciate your feedback - to help the team understand your needs please complete the below template to ensure we have the details to help. Thanks!

Please check out the documentation to see if your question is already addressed there. This will help us ensure our documentation is up to date.

Category

[ ] Enhancement

[X] Bug

[ ] Question

Version

Please specify what version of the library you are using: [ 1.12.0 ]

Expected / Desired Behavior / Question

Ability to type external user email address and for the people picker to resolve the user just like it works in OOTB people picker.

Observed Behavior

People picker doesn't resolve the external users who have not been added to SharePoint online site.

Steps to Reproduce

->Type external user email address in the people picker

no suggestions sharepoint OOTB picker

Thanks!

ghost commented 5 years ago

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

harrychen1 commented 4 years ago

Has this issue resolved? Thanks.

shivashyavi commented 3 years ago

We have been struggling with same issue only to find out that External users are not supported in PnP People Picker control. Is there any update on this bug?

alminmanalo commented 3 years ago

The search for external users worked for me. So what I did was:

  1. Run the following Powershell scripts

    Set-SPOTenant -ShowPeoplePickerSuggestionsForGuestUsers $true
    Set-SPOTenant -ShowAllUsersClaim $true
    Set-SPOTenant -ShowEveryoneClaim $true
  2. Then in the SharePoint site where the SPFx webpart is, I added "Everyone" in the Visitors group

  3. Then I also added the external users in the Visitors group

milanholemans commented 1 year ago

Just encountered the same issue. Since this is already open for 2 years, @AJIXuMuK is it ok if I fix this one?

Edit: Looking at it again seems like all you have to do is set allowUnvalidated to true. Maybe this is something that can be better explained in the docs?

michaelmaillot commented 11 months ago

Hi @milanholemans,

Are you still interested into taking this one?

Otherwise and if it's not out of your scope @AJIXuMuK, I can bring a PR to update the docs about how to handle external users?

milanholemans commented 11 months ago

Hi @milanholemans,

Are you still interested into taking this one?

Otherwise and if it's not out of your scope @AJIXuMuK, I can bring a PR to update the docs about how to handle external users?

Please do!