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.

 

 

Thanks this worked!

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (5,658)