cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
EduLuv
Frequent Visitor

Power App form connected with Azure AD group not saving on submission to SP list.

 

Hi All,

So I have a Power App form that is connected with Azure AD group and pulls group members and populate my drop-down as a choice. Before this implementation the drop-down was searchable and it was populated from SharePoint Group.

The issue I’m having Now is, after switching from SharePoint group to azure A.D. group whenever I submit this form the drop-down field is not being saved into SharePoint list, previously it was saving in SharePoint list.

Is there some additional logic I need to add or I’m missing when switching to Azure A.D group to populate my drop down?
Please let me know if I need to add additional information to clarify this question.

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
v-xiaochen-msft
Community Support
Community Support

Hi @EduLuv ,

 

I did a test for you.

1\ Add a combo box control 'ComboBox2' and set its Items porperty to:

Office365Groups.ListGroupMembers("one group Id").value

v-xiaochen-msft_0-1622081701246.png

 

2\ This is my list 'LIST126'. 'TestPerson' is a person column.

v-xiaochen-msft_1-1622081740698.png

 

3\ Add a button control and set its onselect property to:

Patch(LIST126,Defaults(LIST126),{Title:"Test",TestPerson:{Claims:"i:0#.f|membership|"&ComboBox2.Selected.mail,Email:ComboBox2.Selected.mail,Department:"",DisplayName:"",JobTitle:"",Picture:""}})

 

4\ The result is as follows:

v-xiaochen-msft_2-1622081822766.png

 

Best Regards,
Wearsky
If my post helps, then please consider Accept it as the solution to help others. Thanks.

 

 

View solution in original post

2 REPLIES 2
v-xiaochen-msft
Community Support
Community Support

Hi @EduLuv ,

 

I did a test for you.

1\ Add a combo box control 'ComboBox2' and set its Items porperty to:

Office365Groups.ListGroupMembers("one group Id").value

v-xiaochen-msft_0-1622081701246.png

 

2\ This is my list 'LIST126'. 'TestPerson' is a person column.

v-xiaochen-msft_1-1622081740698.png

 

3\ Add a button control and set its onselect property to:

Patch(LIST126,Defaults(LIST126),{Title:"Test",TestPerson:{Claims:"i:0#.f|membership|"&ComboBox2.Selected.mail,Email:ComboBox2.Selected.mail,Department:"",DisplayName:"",JobTitle:"",Picture:""}})

 

4\ The result is as follows:

v-xiaochen-msft_2-1622081822766.png

 

Best Regards,
Wearsky
If my post helps, then please consider Accept it as the solution to help others. Thanks.

 

 

View solution in original post

Thanks this worked!

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,132)