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 / Link users within Patc...
Power Apps
Unanswered

Link users within Patch function using O365 Users and an Azure Connector.

(0) ShareShare
ReportReport
Posted on by

I am trying to link users within my Patch function using O365 Users and an Azure Connector. 

 

 

When you have complex field types such as “PeoplePicker” (which is “Approver” in this example), you have to use this syntax:

Claims: ____, DisplayName: ____, Email: ____. Department: ____, JobTitle: ____, Picture: ____

jharville_0-1598466185999.png

 

  • However, the SharePoint list where I stored users was not functional later on in my code (“adCouncilPicker” was my old Drop-Down connected to the SharePoint list), so I resorted to storing my users in an O365 Users Group.
  • My new Combo-Box (instead of a Drop-Down) is “testO365UserComboBox”. My "Items" code is listed in the top, which pulls users from a certain group in O365 Users while using the Group ID as a parameter.
  •  
  • jharville_1-1598466186008.png

     

  • When I replace my old Drop-Down (linked to SharePoint list) with my new Combo-Box (linked to O365 Users), it errors out my code. I changed the old attributes to the updates ones since I’m using a new variable (testO365UserComboBox) for O365 users (ex: DisplayName --> displayName), but can’t find a variable for the “Claims” object, which is required. I know I should follow the Syntax since it’s a people-picker, and suspect the error to be something wrong with the “Claims” column.
  •  
  • jharville_2-1598466186015.png
  • Why is my code throwing an error and how do I fix it? Here is the explanation for the error that it is throwing.

jharville_3-1598466186022.png

Thank you!

Categories:
I have the same question (0)
  • Verified answer
    VDS_Mantra Profile Picture
    175 on at

    Hi, 

     

    It seems that you have selected the incorrect option for Claims, Display Name & Email. Kindly selected the correct option from IntelliSense after .Selected.Text/Value/Result.

     

    Hope it will help. 

  • jharville Profile Picture
    on at

    Hello! I appreciate the response, but that wasn't able to fix the issue. 

  • VDS_Mantra Profile Picture
    175 on at

    Are you getting the same error message or its different now ?

     

    if different then share the updated snapshot. 

  • jharville Profile Picture
    on at

    I realized there wasn't a Claims attribute for my "Claims" object, so I ended up using the "id" attribute after "Selected" and the code ran well. Thank you for your help!

     

    jharville_0-1598493799427.png

     

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 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard