Skip to main content

Notifications

Power Apps - Building Power Apps
Suggested answer

Getting email for collection of name

Posted on by 12
Hi,
 
  I have created a collection with names into table . can some one provide the syntax to get the email ids of the names in an input text box seperated by  semicolon using office365users.
 
the below syntax doesnt seems to work for me
 
Set(EmailID,Office365Users.SearchUserV2({searchTerm: Concat(Namecollection, ", ")}).value)
Categories:
  • Suggested answer
    SpongYe Profile Picture
    SpongYe 5,194 on at
    Getting email for collection of name
    Hi,
     
    Try this:
    Set(
        EmailID,
        Concatenate(
            ForAll(
                Namecollection,
                Office365Users.UserProfileV2({searchTerm: Name}).mail & ";"
            )
        )
    )
     

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,297

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,890

Leaderboard