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 Automate / How to add a member to...
Power Automate
Unanswered

How to add a member to an Office 365 group using User Principal Name in Power Automate

(0) ShareShare
ReportReport
Posted on by

Hi,

Using body of an email as the source for the User Principal Name doesn´t seem to work. The email body contains only the email address, I want to add to the O365 group. Should it be written in a specific way? How about if there are 2 email addresses in the body, how should this be separated and written to be added to the O365 group?

Don´t want to use the "To" or "From" as User Principal Name.

 

Capture.PNG

@Shelah 

 

 

Categories:
I have the same question (0)
  • Geeks_D Profile Picture
    1,169 on at

    Hello 
    The email body needs to be consistent for you to manage the data extraction 
    If more than one email is available in the email body, It is best to add all the emails to an array and use the apply to each 

  • Shelah Profile Picture
    on at

    Hello, 

    Sorry, do not understand what you mean with consistent? And an array? Can you please show with a screenshot?

    The email body is consistent, containing only email address and nothing else. Sometimes it will contain two email addresses. The "from" and "to" is always the same and the "subject" is always the same.

     

  • Shelah Profile Picture
    on at

    Hi, someone who can help with my question?

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 Automate

#1
David_MA Profile Picture

David_MA 251 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 239

#3
Expiscornovus Profile Picture

Expiscornovus 220 Most Valuable Professional

Last 30 days Overall leaderboard