web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Person or group field ...
Power Apps
Unanswered

Person or group field in PowerApps

(0) ShareShare
ReportReport
Posted on by 66

Hi All,

 

I am designing a PowerApps form for a SharePoint list which contains a 'Person or Group' field. The value/user for this field is retrieved from SharePoint security group. Please see the field settings below for the field.

basukunal001_0-1598902576599.png

 

Please suggest how can I handle this field in PowerApp form.

 

Thanks,

Kunal

 

Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @basukunal001 

    You might start out by taking a look at this posting.  I describes what you might be looking for and more.

    I hope it is helpful for you.

  • basukunal001 Profile Picture
    66 on at

    It seems for PowerApps, we can patch office 365 group in Person or Group field but cannot patch SharePoint group in Person or Group field.

  • Verified answer
    v-xida-msft Profile Picture
    on at

    Hi @basukunal001 ,

    Do you want to patch SP Group to Person or Group field in your SP List?

     

    I have made a test on my side, please try the following workaround:

    The Person or Group field configuration as below:

    4.JPG

     

    App's configuration as below:

    5.JPG

    Set the OnSelect property of the "Patch" button to following:

    Patch(
     '20190816_case6',
     Defaults('20190816_case6'),
     {
     ProductName: "SP Group Test",
     SPGroupPeopleField: {
     Claims: "c:0o.c|federateddirectoryclaimprovider|" & LookUp(Office365Groups.ListOwnedGroups().value, mail = "PowerApps@xxxxxx.xxmicrosoft.com").id,
     Department: "",
     DisplayName: "Power Members",
     Email: "PowerApps@xxxxxx.xxmicrosoft.com",
     JobTitle: "",
     Picture: ""
     }
     }
    )

    On your side, you should type the following formula:

    Patch(
     'Your SP List',
     Defaults('Your SP List'),
     {
     ProductName: "SP Group Test",
     SPGroupPeopleField: {
     Claims: "c:0o.c|federateddirectoryclaimprovider|" & LookUp(Office365Groups.ListOwnedGroups().value, mail = "<Type Your SP Group Email Address Here>").id,
     Department: "",
     DisplayName: "<Type your SP Group Name Here>",
     Email: "<Type Your SP Group Email Address Here>",
     JobTitle: "",
     Picture: ""
     }
     }
    )

    Note: You need to add Office 365 Groups connector as data source in your canvas app firstly.

     

    Please try above solution, then check if the issue is solved.

     

    Regards,

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard