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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Link users within Patc...
Power Apps
Answered

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 633

#2
11manish Profile Picture

11manish 588

#3
Valantis Profile Picture

Valantis 457

Last 30 days Overall leaderboard