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.
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.
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.
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?
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional