Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

How to add User email and USer name in ComboBox By Office365Users

(0) ShareShare
ReportReport
Posted on by 258

I have a field As Owner (Which Add user name and Email Id also ) in SharePoint List.

B8_0-1676540454163.png

 

and I have a Owner Combo Box in Power Apps. which has a code .

Items = Office365Users.SearchUser({searchTerm:ComboBoxOwner.SearchText}) which gives me User Email address. 

 

But when i am Patch This in My SharePoint Owner gives me Error.

B8_2-1676540811049.png

  • B8 Profile Picture
    B8 258 on at
    Re: How to add User email and USer name in ComboBox By Office365Users

    Your Code had worked....!! Correctly Thank You

     

    but it should be "Mail" not "Email"

    Owner: {
    '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
    Claims: "i:0#.f|membership|" & ComboBoxFacilityManager.Selected.Mail,
    Department: "",
    DisplayName: ComboBoxFacilityManager.Selected.DisplayName,
    Email: ComboBoxFacilityManager.Selected.Mail,
    JobTitle: "",
    Picture: ""
    }

     

  • B8 Profile Picture
    B8 258 on at
    Re: How to add User email and USer name in ComboBox By Office365Users

    B8_0-1676541401375.png

    PLease check this 

  • Verified answer
    zmansuri Profile Picture
    zmansuri 6,048 on at
    Re: How to add User email and USer name in ComboBox By Office365Users

    Owner: {
    '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
    Claims: "i:0#.f|membership|" & ComboBoxFacilityManager.Selected.Email,
    Department: "",
    DisplayName: ComboBoxFacilityManager.Selected.DisplayName,
    Email: ComboBoxFacilityManager.Selected.Email,
    JobTitle: "",
    Picture: ""
    }

     

    Write this in the owner.

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,475

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,767

Leaderboard