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
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (1,597)