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 / Splitting Microsoft Me...
Power Apps
Answered

Splitting Microsoft Membership Code

(0) ShareShare
ReportReport
Posted on by 30

Hello group,

 

I wanted to for your support in being able to split/separate the following data from a multiselect person field. 

 

I was able to pull the membership information for the multi selection, but now I need only a specific section of the ID for example: 

 

This is the information that I am capturing but I need to be able to pull only DoeJoh, DoeJan, SmithJ  from the following data: 

 

i:0#.f|membership|doejoh@company.com; i:0#.f|membership|doejan@company.com; i:0#.f|membership|smithj@company.com; 

 

are there any recommendations? I am only able to do it for the first one but if there are multiple users selected anything after the first semicolon is ignored. 

 

Hope someone can help

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    154,534 Most Valuable Professional on at

    Hi @DanMuriel ,

    Try

    Substitute(
     Substitute(
     YourControlName.Text,
     "i:0#.f|membership|",
     ""
     ),
     "@company.com;"
     ", "
    )

    and if you want to get rid of the last comma and space, try this

    With(
     { 
     eName:
     Substitute(
     Substitute(
     YourControlName.Text,
     "i:0#.f|membership|",
     ""
     ),
     "@company.com;"
     ", "
     },
     Left(eName,Len(eName)-2)
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • WarrenBelz Profile Picture
    154,534 Most Valuable Professional on at

    Hi @DanMuriel ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 525 Most Valuable Professional

#2
Haque Profile Picture

Haque 273

#3
Kalathiya Profile Picture

Kalathiya 232 Super User 2026 Season 1

Last 30 days Overall leaderboard