I have a requirement to display the User profile details from a specific SP group in modern page.

I tried using People Web part available in modern site, but it does not give such option to choose the SP Group from where it will display the User profiles.

The SP group membership is frequently changing, so not an option of selecting specific user profiles in the people web part.

Can any one help me on this?

Thanks in advance!

1 Answer 1


Currently it is not possible using People web part in SharePoint Online. You have to add user profiles manually in people web part.

For your requirement, you have to create a custom SPFx solution, which will fetch the user details from SharePoint group and show them on page.

Check below SPFx samples created by community members. These will help you with developing UI and setting people card (PersonaCard) like SharePoint OOTB web part.

  1. People Directory
  2. Microsoft Graph People Search
  • Hi @Kailash, does this answers you question? If Yes, Please Upvote(^) and accept as an Answer as it will help others with similar question in future. Also, the question will be removed from "Unanswered questions" list. Commented Jan 14, 2021 at 8:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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