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 / How to Extract the nam...
Power Apps
Answered

How to Extract the name from claims in a Powerapps form

(1) ShareShare
ReportReport
Posted on by 19

I am developing a powerapp and I need to extract the membership name in the claims data as shown in the attached picture.

 

You feedback is appreciated.

Snap62.jpg

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    69,599 Most Valuable Professional on at

    I'm assuming the membership name is the same as the one presented in the email address.  If so couldn't you use Split() to get the first entry in the email?

  • A27152 Profile Picture
    19 on at

    The email is is like belwo I think my pic is off..

     

    {'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
    Claims:"i:0#.f|membership|A27111@wiXXXX.onmicrosoft.com",
    Department:"",
    DisplayName:"Some User",
    Email:"Some.User@wiXXXX.onmicrosoft.com",
    JobTitle:"",
    Picture:""

     

    I need to get to the "A27111" data.

  • ohthreesixfive Profile Picture
    25 on at
    You should be able to get what your looking for by doing a double Split() like so:


    First(Split(Last(Split([CLAIMS VALUE], "|")).Result, "@")).Result

    If all goes according to plan, the last result of the inner split should return 'A27111@wiXXXX.onmicrosoft.com'; with the first result of the outer split then giving you 'A27111'.
    Edit (6/17/2019):
    I've tested it out and made some minor changes, specifically adding .Result to the end of each Split(). This will return the result as a text value for you to use.

    Cheers,
    Ramiro
  • Verified answer
    A27152 Profile Picture
    19 on at
    I will give it a try tomorrow and let you know the results - Thanks.
  • ohthreesixfive Profile Picture
    25 on at

    My pleasure, I've tested it out on my end and made a minor change. Please check my original post and give that a go.

    Cheers.

  • Suggested answer
    kennymcmack Profile Picture
    2 on at
    Mid(ThisItem.'Created By'.Claims, 19, 6)
     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 335 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 96 Super User 2026 Season 1

Last 30 days Overall leaderboard