cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ppl
Post Patron
Post Patron

Choosing responsible person from Active Directory group

Hello.

How I can make a Choise field, which will offer to choose some person, who are in my Active Directory group?

1 ACCEPTED SOLUTION

Accepted Solutions
v-yutliu-msft
Community Support
Community Support

Hi @ppl ,

Do you want to choose choices of a sharepoint group in person field?

I'm afraid it's not supported currently.

Two main reasons:

1)Person column is a special column, it gets data from azure ad.

Since there are too many people choice before you enter any word( all the people in your talent), so there will be no data displaying before you type words.

2)Person column gets data from azure ad, not included sharepoint group.

So you can not filter the combo box 's Items based on sharepoint group.

 

Here is an alternative solution (but a little complex):

1)create an azure group of the same people with your sharepoint group.

  remember this azure group's groupid

3241.PNG

 2)Then  in your sharepoint list, customize your sharepoint form, unlock this person field.

3)connect your sharepoint list with office365 Groups.

3242.PNG

 

4)delete the original combo box in this person field

insert a new combo box in this person field, set its Items:

Office365Groups.ListGroupMembers(groupid).value
//please fill in your groupid

Then the combo box will display all the members in this groups. It will display the choices even you not enter any word.

Do not forget to change this data card's Update.

If it is a single person field, change it to :

newcombo box name.Selected

 If it is a multiple person field, change it to :

newcombo box name.SelectedItems

 

 

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
ppl
Post Patron
Post Patron

Or for example I may use sharepoint groups but when I try to choose Responsible user I need to type his name, and I want to choose.

ppl
Post Patron
Post Patron

I have a group here

Capture2.PNG

 

And I want to choose among group users by pressing this field

Capture.PNG

But when I press there, I need to type some symbols before I see any person.

v-yutliu-msft
Community Support
Community Support

Hi @ppl ,

Do you want to choose choices of a sharepoint group in person field?

I'm afraid it's not supported currently.

Two main reasons:

1)Person column is a special column, it gets data from azure ad.

Since there are too many people choice before you enter any word( all the people in your talent), so there will be no data displaying before you type words.

2)Person column gets data from azure ad, not included sharepoint group.

So you can not filter the combo box 's Items based on sharepoint group.

 

Here is an alternative solution (but a little complex):

1)create an azure group of the same people with your sharepoint group.

  remember this azure group's groupid

3241.PNG

 2)Then  in your sharepoint list, customize your sharepoint form, unlock this person field.

3)connect your sharepoint list with office365 Groups.

3242.PNG

 

4)delete the original combo box in this person field

insert a new combo box in this person field, set its Items:

Office365Groups.ListGroupMembers(groupid).value
//please fill in your groupid

Then the combo box will display all the members in this groups. It will display the choices even you not enter any word.

Do not forget to change this data card's Update.

If it is a single person field, change it to :

newcombo box name.Selected

 If it is a multiple person field, change it to :

newcombo box name.SelectedItems

 

 

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,719)